LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-25-2003, 06:12 AM   #1
boolim
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 32

Rep: Reputation: 15
help on eterm


can someone pls give a guide on how to install eterm on slackware 9.1?
i've tried in on my own, but it always complain about certain libs not found......thx
 
Old 10-25-2003, 06:37 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Perhaps you could post the ouput of the error generated when you try to install.
 
Old 10-25-2003, 09:08 AM   #3
djbanaan
Member
 
Registered: Aug 2003
Location: Haarlem, The Netherlands
Distribution: Slackware, FreeBSD
Posts: 178

Rep: Reputation: 30
There is a binary package for Eterm here, you could try installing this with installpkg
 
Old 10-28-2003, 06:39 AM   #4
boolim
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 32

Original Poster
Rep: Reputation: 15
firstly when configuring it, it says libast was not found, ok fine, it prompted me to download it....
then, it seems to be installing it straight after it has completed downloading and carry on configuring eterm.... however at the end it still said it can't locate libast.....

sorry i dunno how to copy the message from the gnome prompt, so i can't print it here... Also i've run ldconfig for several times....
 
Old 10-28-2003, 07:07 AM   #5
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
It's insane, because it found imlib2 and couldn't find libast *in the same directory*. I couldn't get configure to pay any attention to options I tried to pass, so I was reduced to this. I'm not going to comment on the quality of the idea. I just offer it up - this comes without any warranty for fitness for a particular purpose, blah blah blah.

I moved this (part of the ksh package) from /usr/lib to a holding directory

libast.so@
libast.so.5.4*

I copied this from /usr/local/lib to /usr/lib

libast.a
libast.la*
libast.so@
libast.so.1@
libast.so.1.1.0*

I ran /sbin/ldconfig. I compiled.

If anybody could enlighten me on how bad an idea this is or how to work around it, that'd be great. If not, you could try it. (The download portion didn't work at all for me - I had to go get it and compile it myself.) It seemes to have worked, though. My end key has quit working, but I think that's a result of something unrelated I must have done later. And to copy from a term, just select the text with your mouse and copy into your browser. If Gnome is really weird and that doesn't work, redirect it to a file, then open it an editor and copy *that* and paste it in.
 
Old 10-28-2003, 08:02 AM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
A while ago I found this explanation of how to compile Eterm in Slackware.

If I remember correctly, the problem with libast is its name. Apparently there is a much older package called libast and the enlightenment/Eterm version was causing conflicts, so Patrick threw enlightenment out of the 9.0 Slackware release.

Of course there is always aterm. That compiles and runs just fine in Slackware 9.x
 
Old 10-28-2003, 08:21 AM   #7
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
I think when you installed libast you forgot to configure it with the /usr prefix...

ie.: ./configure --prefix=/usr

By default all compiled apps/libs will go to /usr/local unless you specifically tell the configure script not to.
 
Old 10-28-2003, 08:30 AM   #8
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
What a crock. 'Redirection limit exceeded, maybe due to cookies being blocked'. Damn right I've got cookies blocked. So I can't seem to follow that link.

Makes sense in part - that's the libast ksh uses. But does it work only on lib name and not full path? Why couldn't it find /usr/local/lib/libastfoo, regardless of /usr/lib/libastfoo? Does any libast anywhere on the system clobber it or something? And how far-reaching could I be screwing crap up with the 'wrong' libast in place? Just ksh (which seems fine, but I don't use it) or more stuff? And how about 'two libasts found', which would be more helpful than 'no libast found'. Could you rename Eterm's libast and sed the source directory with the new name? libast2 to go with imlib2? *g* And why hasn't the maintainer of Eterm changed this? I wasn't sure what the problem was, so didn't know that I could tell him this but somebody obviously did.

Could I ask any more questions in this post?

Yeah, aterm's good. I forget why it was so all-fired important for me to stick eterm on there.
 
Old 10-28-2003, 08:35 AM   #9
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Quote:
Originally posted by Azmeen
I think when you installed libast you forgot to configure it with the /usr prefix...

ie.: ./configure --prefix=/usr

By default all compiled apps/libs will go to /usr/local unless you specifically tell the configure script not to.
Who, me or boolim? Not everything goes to /usr/local - it *should*, but a lot of stuff doesn't. I've started passing --prefix=/usr/local as a matter of course now. As I say, I compiled imlib2 the same way and it went to the same directory and was picked up without problems. If I'd compiled with --prefix=/usr, wouldn't that have clobbered the ksh libast anyway? Or failed because libast was already there or something?
 
Old 10-28-2003, 08:36 AM   #10
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
Get all the necessary libs and eterm itself in Slackpack format here without the need of redirection of cookie trickery.
 
Old 10-28-2003, 08:39 AM   #11
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
Quote:
Originally posted by digiot
Who, me or boolim? Not everything goes to /usr/local - it *should*, but a lot of stuff doesn't. I've started passing --prefix=/usr/local as a matter of course now. As I say, I compiled imlib2 the same way and it went to the same directory and was picked up without problems. If I'd compiled with --prefix=/usr, wouldn't that have clobbered the ksh libast anyway? Or failed because libast was already there or something?
It was originaly meant for you because I noticed you moving files and all that. I didn't know that you had 2 different builds of libast.
 
Old 10-28-2003, 09:11 AM   #12
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Quote:
Originally posted by Azmeen
Get all the necessary libs and eterm itself in Slackpack format here without the need of redirection of cookie trickery.
Thanks, but I meant Hangdog42's link was what I couldn't follow.

Quote:
Originally posted by Azmeen
It was originaly meant for you because I noticed you moving files and all that. I didn't know that you had 2 different builds of libast.
Yeah - that seems to be the problem - it's seems it's actually two completely different libasts with the same name. I wasn't sure if it was an older version of the same thing (though I couldn't figure what ksh could possibly need with Eterm's libast.) Y'know, Eterm is so hung up, like all of the 'E' apps, on it's case - type 'eterm' or 'man eterm' and you get nothing (no symlinks like AbiWord/abiword) - that simply calling it libAST would probably solve the issue, and that's how the developer cases it on his site to begin with. Just not the lib itself.
 
Old 10-28-2003, 12:26 PM   #13
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I should have searched LQ rather than trying to figure it out myself - this has some pretty clear stuff on the background. If I'd have known this first I wouldn't have bothered with eterm to begin with. But once I started, I wanted to get it going.
 
Old 10-28-2003, 12:57 PM   #14
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Just to make sure this doesn't get lost, here is the text of the link I posted....The site hosting it can be kinda flaky.

Also, when I tried to install Eterm, I was using the --prefix=/usr and it didn't make a difference. However, setting up the symlinks as the following describes DID let Eterm compile and run.


Quote:
OK, as most of you who installed slackware 9 have probally already noticed, it
doesnt come with enlightenment or Eterm. I'm not sure of the reason for this,
though I've heard its because they took some other enlightenment dependency out.
Anyways I wont go into details about how to install enlightenment since it's
pretty straight forward. Eterm on the other hand is no where near straight
forward on the install. I ran into 3 different errors when trying to compile it
which should have happened (all involving libast). The first was this, even
though I had libast 0.5 installed, Eterm configure would still say that it wasn't
installed and give me this error:

checking for libast-config... libast-config
checking for libast_malloc in -last... no
ERROR: You need LibAST 0.5 or higher to build Eterm. If you already have it,
you may have it installed in a strange place, or you may need to run
/sbin/ldconfig. If you don't have it, I can download it for you.
Shall I retrieve and build LibAST now (y/n)?
n
configure: error: Fatal: libast not found.

So, I tried ldconfig, reinstalling libast, and letting the Eterm configure install libast itself from cvs, but I still got the same error. (NOTE:
installing libast from cvs installed libast 0.6). So after looking through the
configure script i saw that it was trying to run libast-config when it got its
version, so I ran it myself and everything looked ok except when i did this:

bash-2.05b$ libast-config --ldflags
-L/usr/X11/lib

Now that didnt seem right since I didnt install libast to /usr/X11, I installed
it to the default /usr/local. So I tried to create symlinks in /usr/X11/lib to the /usr/local/lib/libast.* libraries.

bash-2.05b# ln -s /usr/local/lib/libast.* /usr/X11R6/lib/

Then i ran configure again and it worked! (though recompiling libast to /usr/X11R6/ would be much cleaner). But now running make would error out
with 2 different error messages though it would randomly pick either of the error
messages to display when i ran make ( i dont know why it wouldn't error out on the
same one every time i ran make ). Anyways I dont have either of these excact
errors ( if anyone has them can you email them to me? ), but one was a gcc error
with some header file, and the other one errored out when it tried to run libtool
with an error similar to:

/bin/sh ../libtool -c -L/usr/local/lib some other stuff
Error: libtool: -c is not a valid option

So after scratching my head for a few minutes the only thing that I could think
that could possibly be wrong is that libast was compiled from cvs and was version
0.6. So I recompiled libast 0.5 from source, and then tried running make again
and everything worked!



spam@narcopia.com
 
Old 10-29-2003, 06:07 AM   #15
boolim
Member
 
Registered: Aug 2003
Distribution: Slackware
Posts: 32

Original Poster
Rep: Reputation: 15
wao, lots of problems..... btw is aterm is a good alternative? how is eterm compared to aterm?
i just wan a good console that can do transparent, borderless, etc etc
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Esetroot (Eterm) error - starting Eterm in transparent mode? nimcha Linux - Software 2 07-14-2007 05:58 AM
Eterm phsythax Linux - Newbie 2 11-05-2005 11:57 AM
Eterm kurrupt Linux - Software 1 08-10-2004 08:05 PM
Eterm -e? TiRaK Linux - Software 1 02-09-2004 06:19 AM
eterm killi Linux - Software 2 05-18-2003 09:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration