• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Problem compiling libast and imlib2

Tried Software but no dice for the past week, so I'll post here:

I've wanted to setup Eterm in my home directory at school. I'm unsure of what version FC it is running, but probably not v6 or 7 (maybe v4 or 5, though no idea how to find out such a SIMPLE thing in PITA linux).

So the dependencies for Eterm 0.9.4 are libast and possibly libim2. Due to dependency horrors I figured I'd install both. So I found the .tar.gz packages for each, ran

gunzip file_name.tar.gz | tar -xf -

which extracted them each to their own directory. I went to each directory and typed

./configure
make

libast seems to configure and compile without error. imlib2 has an error of 'label at end of statement'. But I don't think I really need imlib2 because when I try to ./configure Eterm, it says only libast is not present and required (and tried to auto-get it but failed with "no route to host").

However, from running ./configure and then make, libast seems to compile fine. But it either isn't there or isn't registered so that Eterm knows of it.

When I go to the libast directory where the tarball was extracted to and type

libast-config -ldflags

It prints: -L/user/lib -L/usr/X11R6/lib

No idea what that means, but I can't find it present in the /usr directory and /user is no such directory.

Any idea what to do?
 
uname -a

can you not find packages for these? I would do packages over compiling from source. You may need to tell the eterm configure where the lib's are at (installed somewhere in your home folder most likely) in order for it to find it.
 
Just running make doesn't do anything except compile it, you still have to install it somewhere and since your'e not root that's probably somewhere in your home directory. And then when you run ./configure for eterm you'll have to tell it where to find libast in your home directory.
 
Untested, but this is generally how it works:
libast - You'll need to install this under a directory you have permissions to install to. Someone under ~/. I'd probably install it to ~/local, just to keep it out of the way.
./configure --prefix=~/local
make
make install


Then, you'll need to tell eterm where to look. It should probably go a little something like this:
./configure --with-libast=~/local/lib

Check out ./configure --help to figure out what --with-libast should be. Try: ./configure --help | grep -i ast
 
Ok, finally got back to the CS labs.

uname-a shows FC4. They are a bit behind I see.

Nvm. Looks like I just need to use --prefix=$HOME instead of the tilde. Thanks, I'll see how it goes.

It looks like libast was installed correctly to ~/local, but running the Eterm configure with
./configure --with-libast=$HOME/local/lib

doesn't seem to do anything, since it still finds that libast isn't there and fails to auto-get it. Using grep with "ast" only brought up something about fast compilation. So I tried "with" and there is some "--with" options, but nothing about libast. There is a "--with-imlib=DIR", but no libast. The problem with the docs on the Eterm page is they all relate to using it after it is installed.

I'd use packages or RPMs if I had root privs.
 
Back
Top