LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-24-2003, 02:08 PM   #1
Astro
Member
 
Registered: Jan 2003
Location: Ballston Lake, NY
Distribution: Slackware, Debian
Posts: 665

Rep: Reputation: 30
Post 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

Last edited by Astro; 10-05-2003 at 02:48 PM.
 
Old 09-24-2003, 07:10 PM   #2
ed_thix
Member
 
Registered: Apr 2002
Location: Malaysia
Distribution: Slackware 15 & Ubuntu
Posts: 94

Rep: Reputation: 31
cool , I miss e very much on my sw 9.0 box ... I'll try this later ...
 
Old 10-01-2003, 12:59 PM   #3
Astro
Member
 
Registered: Jan 2003
Location: Ballston Lake, NY
Distribution: Slackware, Debian
Posts: 665

Original Poster
Rep: Reputation: 30
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...
 
Old 10-03-2003, 11:46 PM   #4
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
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.
 
Old 10-03-2003, 11:50 PM   #5
Astro
Member
 
Registered: Jan 2003
Location: Ballston Lake, NY
Distribution: Slackware, Debian
Posts: 665

Original Poster
Rep: Reputation: 30
Good call, I just went by the assumption that it was going to be the default which it is on my system hehe
 
Old 10-28-2003, 12:09 PM   #6
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
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?
 
Old 11-02-2003, 11:52 AM   #7
Astro
Member
 
Registered: Jan 2003
Location: Ballston Lake, NY
Distribution: Slackware, Debian
Posts: 665

Original Poster
Rep: Reputation: 30
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.
 
Old 11-02-2003, 12:43 PM   #8
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
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.
 
Old 11-02-2003, 12:57 PM   #9
slackgood
LQ Newbie
 
Registered: Nov 2003
Location: silicon valley
Distribution: slackware
Posts: 3

Rep: Reputation: 0
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
 
Old 11-02-2003, 01:00 PM   #10
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
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
 
Old 11-02-2003, 01:45 PM   #11
Astro
Member
 
Registered: Jan 2003
Location: Ballston Lake, NY
Distribution: Slackware, Debian
Posts: 665

Original Poster
Rep: Reputation: 30
Alright, check and make sure you have gdkpixbuff installed, i believe it's in L as gdk-pixbuff
 
Old 11-03-2003, 06:15 PM   #12
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
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 ^_^
 
Old 07-13-2004, 09:49 AM   #13
linda
Member
 
Registered: Apr 2001
Location: New Jersey
Distribution: Slackware
Posts: 222

Rep: Reputation: 30
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...
 
Old 07-13-2004, 04:00 PM   #14
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
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.
 
Old 07-13-2004, 07:45 PM   #15
linda
Member
 
Registered: Apr 2001
Location: New Jersey
Distribution: Slackware
Posts: 222

Rep: Reputation: 30
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?
 
  


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
A strange problem about mplayer 1 pre7 shadkong Linux - Software 5 05-07-2005 07:46 AM
Problem installing module-init-tools-3.0-pre7 on SuSE 8.2 Smartcat99S Linux - Software 0 01-25-2004 11:15 AM
Slackware 9.0 and Enlightenment bender_pondie Slackware 1 06-29-2003 04:58 AM
Slackware 9.0 lacking enlightenment? sirexar Slackware 2 04-07-2003 04:27 AM
installing enlightenment chrismiceli Linux - Software 1 10-26-2002 01:50 PM

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

All times are GMT -5. The time now is 12: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