LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Installing Enlightenment 0.16.6 Pre7 on Slackware 9 (https://www.linuxquestions.org/questions/slackware-14/installing-enlightenment-0-16-6-pre7-on-slackware-9-a-96389/)

Astro 09-24-2003 02:08 PM

HOWTO: Installing Enlightenment 0.16.6 Pre7 on Slackware 9
 
#### UPDATED SUNDAY OCTOBER 5TH 2003 ######
Ok here goes... so you want to run E on the newest and best slack right? Well guess what! It's not there! It was removed just after 8.1 because of conflicts with Imlib2, Pat removed everything that used Imlib2. If you want more details about that read on... if not skip past that to the tutorial...

On Mon, 17 Mar 2003, Bradley A.Bowers wrote:
> Just a question, but what happened to E in slackware? In 8.1 that
> was the only thing I liked for a wm other that gnome. I found it
> kinda cumbersome to compile it all from source and install, found I
> didn't get it just how I wanted like when I had the slack pack
> installed. I heard it got moved to /pasture/ like gnome 1.2 did a
> while back, but I was wondering what actually happened or if that
> was it?

Yes, Enlightenment first went to /pasture, and then was removed. The main
reason is that I've decided not to support anything that uses Imlib.
There's a technical basis for the decision -- Imlib seems unmaintained and
has some known major bugs. Worse, for Imlib2 they rely on a new library
they created called libast (for "library of assorted spiffy things").
Unfortunately, there's already an established libast from AT&T Bell Labs
that's been around forever, and is already part of Slackware (the K shell
uses it). Mostly because of that conflict, Imlib related things had to
go. But (to be honest), also because there are IMHO better choices these
days than there were when E was at its peak. There needed to be a
thinning of the herd anyway.

Sorry if it was one of your favorites...

Take care,

Pat
_______________________________________
That being said, heres the steps....

First off thanks to rudeboy on undernet.org #slackware for his input on installation...

You'll need the following to continue:
enlightenment-0.16.6-pre7.tar.gz
epplet-base-0.5.tar.gz
fnlib-0.5.tar.gz
imlib2-1.1.0.tar.gz
imlib-1.9.14.tar.gz
freetype-1.3.1.tar.gz
freetype-2.1.5.tar.gz

Ok... heres the deal with those requirements above.... as far as I can tell you may not need the freetype2 download... I installed it with freetype1 just fine...

The install order goes as follows...

imlib-1.9.14.tar.gz
imlib2-1.1.0.tar.gz
fnlib-0.5.tar.gz
freetype-2.1.5.tar.gz (seems to be optional)
freetype-1.3.1.tar.gz
enlightenment-0.16.6-pre7.tar.gz
epplet-base-0.5.tar.gz

I found one problem when installing in this order.... after I installed freetype-1.3.1.tar.gz and tried to compile enlightenment it didn't go over well...as you'll see in the actual directions below.

imlib-1.9.14.tar.gz -
tar zxvf imlib-1.9.14.tar.gz
./configure
make
(as root) make install

imlib2-1.1.0.tar.gz -
tar zxvf imlib2-1.1.0.tar.gz
./configure
make
(as root) make install

fnlib-0.5.tar.gz -
tar zxvf fnlib-0.5.tar.gz
./configure
make
(as root) make install

freetype-1.3.1.tar.gz -
tar zxvf freetype-1.3.1.tar.gz
./configure
make
(as root) make install

** Here's the tricky part...not sure why this happens either.
cd .. and tar zxvf enlightenment-0.16.6-pre7.tar.gz

then you need to copy a few files from the freetype-1.3.1 to the enlightenment source dir

cp freetype-1.3.1/lib/freetype.h enlightenment-0.16.6/dox/
cp freetype-1.3.1/lib/freetype.h enlightenment-0.16.6/src/
cp freetype-1.3.1/lib/fterrid.h enlightenment-0.16.6/dox/
cp freetype-1.3.1/lib/fterrid.h enlightenment-0.16.6/src/
cp freetype-1.3.1/lib/ftnameid.h enlightenment-0.16.6/dox/
cp freetype-1.3.1/lib/ftnameid.h enlightenment-0.16.6/src/

ok the tricky part is over....
now for the actual enlightenment install...

enlightenment-0.16.6-pre7.tar.gz -
cd enlightenment-0.16.6-pre7
./configure --prefix=/usr/X11R6 --enable-sound --enable-fsstd
make
(as root) make install

epplet-base-0.5.tar.gz -
tar zxvf epplet-base-0.5.tar.gz
./configure --prefix=/usr/X11R6
make
(as root) make install

Ok you're finished installing....next I grabbed the xinitrc.e file from an old enlightenment build from slackware 8.1 and added it to /etc/X11/xinit/xinitrc.e

#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi

# Start the window manager:
exec enlightenment
#EOF


Ok you're done.... save that file and make sure your X is configured and run startx and you should be good as gold... if I made a mistake or you see something thats wrong let me know...

UPDATE-- I added the xinitrc.e instead of just xinitrc... that way if you like you can switch it using wmconfig or whatever... also I changed the Epplet configure option... And finally there is a script available that will install all of this for you...just make sure you have all of the packaged I mentioned above including the optional one(s)... just a simple bash script so I didn't have to sit and go through all of this. I just tested it and it installed fine with no problems on Slackware 9.1.. www.tyrantanic.net/lq/install_e.sh

--bab5871@rit.edu

ed_thix 09-24-2003 07:10 PM

cool , I miss e very much on my sw 9.0 box ... I'll try this later ... :)

Astro 10-01-2003 12:59 PM

Well, kinda suprised this hasn't recieved some kind of lwed comment or remark ;) I hope this actually helped some people out a little bit...

Shade 10-03-2003 11:46 PM

You oughta save that shell script as
xinitrc.enlightenment

then you can use xwmconfig to choose between ;)

-Shade
ps- i didn't have to do the funky copying stuff to get it to compile, but thanks for the howto :) Runing enlightenment now.

Astro 10-03-2003 11:50 PM

Good call, I just went by the assumption that it was going to be the default which it is on my system hehe

rose_bud4201 10-28-2003 12:09 PM

Hmm...I'm trying E for the first time here, and when I try to compile imlib-1.9.14 I get this:

....
rm -fr .libs/libimlib-bmp.la .libs/libimlib-bmp.* .libs/libimlib-bmp.*
gcc -shared io-bmp.lo -Wl,--rpath -Wl,/home/laura/Download/E -Wl,--rpath -Wl,requirements/imlib-1.9.14/gdk_imlib/.libs -Wl,--rpath -Wl,/usr/local/lib -L/usr/X11R6/lib -L/usr/lib ./.libs/libgdk_imlib.so -Wl,-soname -Wl,libimlib-bmp.so -o .libs/libimlib-bmp.so
ar cru .libs/libimlib-bmp.a io-bmp.o
ranlib .libs/libimlib-bmp.a
creating libimlib-bmp.la
sed: can't read requirements/imlib-1.9.14/gdk_imlib/libgdk_imlib.la: No such file or directory
libtool: link: `requirements/imlib-1.9.14/gdk_imlib/libgdk_imlib.la' is not a valid libtool archive
make[2]: *** [libimlib-bmp.la] Error 1
make[2]: Leaving directory `/home/laura/Download/E requirements/imlib-1.9.14/gdk_imlib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/laura/Download/E requirements/imlib-1.9.14'
make: *** [all-recursive-am] Error 2

Where is 'requirements/' supposed to be, and do you have an idea what could be causing it to not create that file/directory?

Astro 11-02-2003 11:52 AM

What steps did you follow to get to that specifically? You could try rm -fr imlibwhatever9 and tar zxvf it again. possibly a permission issue somehow. Try to extract it again, run ./configure and make and makeinstall as root and post with any further problems.

exodist 11-02-2003 12:43 PM

if you install slack 8.1 then do a non-format upgrade to 9.1 you still have enlightenment. also if you are having trouble you gnome mightbe to new, enlgihtenment needs special versions of this and that here and there, its a pain, but I love it, enlightenment user form day 1 5 years ago, never left, probably never will.

slackgood 11-02-2003 12:57 PM

thanks
 
I like E and will install it using your instructions after I get slack 9.1 configured and on the internet. I will post the results. Thanks again for publishing your install instructions.

Pete

rose_bud4201 11-02-2003 01:00 PM

That's the difficulty - I'm doing all this as root (but I've tried it as a normal user, also). That error comes after a perfect ./configure, when I try 'make'. This is the error I just got when I retried it:

ar cru .libs/libimlib-xpm.a io-xpm.o
ranlib .libs/libimlib-xpm.a
creating libimlib-xpm.la
sed: can't read requirements/imlib-1.9.14/gdk_imlib/libgdk_imlib.la: No such file or directory
libtool: link: `requirements/imlib-1.9.14/gdk_imlib/libgdk_imlib.la' is not a valid libtool archive
make[2]: *** [libimlib-xpm.la] Error 1
make[2]: Leaving directory `/home/laura/Download/E requirements/imlib-1.9.14/gdk_imlib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/laura/Download/E requirements/imlib-1.9.14'
make: *** [all-recursive-am] Error 2

Thanks

Astro 11-02-2003 01:45 PM

Alright, check and make sure you have gdkpixbuff installed, i believe it's in L as gdk-pixbuff

rose_bud4201 11-03-2003 06:15 PM

Well, I didn't have it installed, so I found and installed it. Make still fails on "requirements/gdk_imlib/libgdk_imlib.la", and I'm a bit confused - the file ./imlib-1.9.14/gdk_imlib/libgdk_imlib.la" exists - just not in any "requirements" directory! I looked in the readme files, but didn't find anything to specify where it should look for libraries. Does anyone know how I can tell make where to look for the .la files?

cheers ^_^

linda 07-13-2004 09:49 AM

I followed these instructions, and thank you, they were very clear! But E still does not work...
I have Slack 10.0 with xorg.
There were lots of errors about deprecating file names, but I have no idea what to do about that...
At the end, when I started E, I got my reliable Nvidia screen and then back to the termainal screen with 3 errors. Something about not having these fonts: usr/X11R6/lib/X11/fonts/local and /CID
And then something about this missing libttf.so.2. So I guess i'm off to find that libttf but i don't know what to do about the other errors...

trey85stang 07-13-2004 04:00 PM

Quote:

Originally posted by linda
I followed these instructions, and thank you, they were very clear! But E still does not work...
I have Slack 10.0 with xorg.
There were lots of errors about deprecating file names, but I have no idea what to do about that...
At the end, when I started E, I got my reliable Nvidia screen and then back to the termainal screen with 3 errors. Something about not having these fonts: usr/X11R6/lib/X11/fonts/local and /CID
And then something about this missing libttf.so.2. So I guess i'm off to find that libttf but i don't know what to do about the other errors...

linda... i had to make a couple of symlinks with libttf and a bunch of other lib's to the /lib directory...

do this...

updatedb
locate libttf #if your file shows up in the list... symlink it to /lib directory.

Do that for each dependency... I had to do this on 9.1 when i installed enlightenment.

linda 07-13-2004 07:45 PM

This is propabaly a really dumb question...
symlink ( string target, string link) means (path to libttf.so.2, whatever I want to call it)
and where should I create this link? In other words, what directory should I be in when I type this command?


All times are GMT -5. The time now is 12:52 AM.