Build instructions for Enlightenment for Solaris 2.5/2.6 and IRIX 6.3

Simon Josefsson, jas@pdc.kth.se

Preface

Libtool from any GNU archive, GTK/GLIB from ftp://ftp.gtk.org/pub/gtk/v1.1/, other files from from ftp://ftp.enlightenment.org/pub/enlightenment/.

Some points:


libtool:

mkdir obj
cd obj
../configure --prefix=/usr/local/hacks/vol/libtool-1.2
make
make install
    

GLIB 1.1.15:

mkdir obj
cd obj
../configure --prefix=/usr/local/hacks/vol/glib/1.1.15
make
make install

edit glib-config to add -R or -rpath to help locate libraries when doing --libs
    

GTK 1.1.15:

mkdir obj
cd obj
../configure --prefix=/usr/local/hacks/vol/gtk/1.1.15
make
make install

edit gtk-config to add -R or -rpath to help locate libraries when doing --libs


freetype:

Does not build with objectdir != sourcedir.

./configure --prefix=/usr/local/hacks/vol/freetype-1.1
make
make install

tiff: (3.4beta037)

./configure
make

giflib:

make CC=cc CFLAGS="-c -I../lib"
-->cut'n'paste the command compiled with gcc to use cc instead
make CC=cc CFLAGS="-c -I../lib"
make install LIBDIR=/usr/local/hacks/lib DEST=/usr/local/hacks/bin 
cp lib/gif_lib.h /usr/local/hacks/include/

gtk-perl 0.2:

?

zlib:

Did not build with objectdir != sourcedir.

./configure --shared --prefix=/usr/local/hacks
make LDFLAGS="-R/usr/local/hacks/lib -L. -lz"
make install prefix=/usr/local/hacks

libpng: (req zlib)

Did not build with objectdir != sourcedir.

sun: ln -s scripts/makefile.s2x Makefile
sgi: ln -s sciprts/makefile.sgi Makefile
make ZLIBLIB=/usr/local/hacks/lib ZLIBINC=/usr/local/hacks/include LDFLAGS='-L. -R$(ZLIBLIB) -L$(ZLIBLIB) -lpng -lz -lm'
make install prefix=/usr/local/hacks

libjpeg 6b:

../configure --enable-shared --enable-static --prefix=/usr/local/hacks
make
make install
make install-lib
    

imlib 1.9.10:

Requires GLIB, GTK, zlib, libpng and libtool >= 1.2d

sun: CPPFLAGS="-I/usr/local/hacks/include" LDFLAGS="-L/usr/local/hacks/lib -R/usr/local/hacks/lib" ./configure --prefix=/usr/local/hacks/vol/imlib/1.9.10
sgi: CPPFLAGS="-I/usr/local/hacks/include" LDFLAGS="-L/usr/local/hacks/lib -Wl,-rpath,/usr/local/hacks/lib -Wl,-rpath,/usr/local/hacks/vol/imlib/1.9.4/lib" ./configure --prefix=/usr/local/hacks/vol/imlib/1.9.4
make
make install
    

fnlib:

Requres imlib and libtool.

sun: ACLOCAL_FLAGS="-I /usr/local/hacks/vol/libtool-1.2/share/aclocal -I /usr/local/hacks/vol/imlib/$(date +%y%m%d)/share/aclocal" LDFLAGS="-R/usr/local/hacks/vol/imlib/$(date +%y%m%d)/lib" ./autogen.sh --prefix=/usr/local/hacks/vol/fnlib/$(date +%y%m%d)
sgi: ACLOCAL_FLAGS="-I /usr/local/hacks/vol/libtool-1.2/share/aclocal -I /usr/local/hacks/vol/imlib-$(date +%y%m%d)/share/aclocal" LDFLAGS="-rpath /usr/local/hacks/vol/imlib-$(date +%y%m%d)/lib" ./autogen.sh --prefix=/usr/local/hacks/vol/fnlib-$(date +%y%m%d)
sgi: remove -Wp,-MD,.deps/$(*F).p from Fnlib/Makefile

stringlist:

mkdir obj
cd obj
../configure --prefix=/usr/local/hacks
sgi: remove -Wp,-MD,.deps/$(*F).p from Makefile
make
make install
    

gtk-engines:

Requires GTK and IMLIB.

aclocal -I /usr/local/hacks/vol/libtool-1.2/share/aclocal -I /usr/local/hacks/vol/gtk+-1.1.5/share/aclocal -I /usr/local/hacks/vol/imlib-981125/share/aclocal
automake --add-missing
autoconf
sun: LDFLAGS="-L/usr/local/hacks/lib -R/usr/local/hacks/lib -R/usr/local/hacks/vol/imlib-981125/lib -R/usr/local/hacks/vol/glib-1.1.5/lib -R/usr/local/hacks/vol/gtk+-1.1.5/lib" ../configure --prefix=/usr/local/hacks/vol/gtk-engines-$(date +%y%m%d)
make
make install
    

esound:

sun: aclocal -I /usr/local/hacks/vol/libtool-1.2/share/aclocal 
sgi: aclocal
autoheader
autoconf
automake --gnu --add-missing
sun: mkdir sun4x_551; cd sun4x_551
sgi: mkdir sgi_63; cd sgi_63
../configure --prefix=/usr/local/hacks/vol/esound-$(date +%y%m%d)
sgi: remove -Wp,-MD,.deps/$(*F).P from Makefile
sgi: remove -Wp,-MD,.deps/$(*F).p from Makefile
make; make install
    

enlightenment:

sun 0.15.4: LDFLAGS="-L/usr/local/hacks/lib -L/usr/local/hacks/vol/freetype-1.1/lib -L/usr/local/hacks/vol/fnlib/0.4/lib -R/usr/local/hacks/lib:/usr/local/hacks/vol/freetype-1.1/lib:/usr/local/hacks/vol/fnlib/0.4/lib:/usr/local/hacks/vol/imlib/1.9.4/lib" CFLAGS="-I/usr/local/hacks/vol/freetype-1.1/include -I/usr/local/hacks/include -I/usr/local/hacks/vol/fnlib/0.4/include" ./configure --prefix=/misc/hacks/vol/enlightenment/0.15.4
sgi 0.15.4: LDFLAGS="-L/usr/local/hacks/lib -L/usr/local/hacks/vol/freetype-1.1/lib -L/usr/local/hacks/vol/fnlib/0.4/lib -rpath /usr/local/hacks/lib:/usr/local/hacks/vol/freetype-1.1/lib:/usr/local/hacks/vol/fnlib/0.4/lib:/usr/local/hacks/vol/imlib/1.9.3/lib" CFLAGS="-I/usr/local/hacks/vol/freetype-1.1/include -I/usr/local/hacks/include -I/usr/local/hacks/vol/fnlib/0.4/include" ./configure --prefix=/misc/hacks/vol/enlightenment/0.15.4
sun cvs: ACLOCAL_FLAGS="-I /usr/local/hacks/vol/imlib/$(date +%y%m%d)/share/aclocal" LDFLAGS="-L/usr/local/hacks/lib -L/usr/local/hacks/vol/freetype-1.1/lib -L/usr/local/hacks/vol/fnlib/$(date +%y%m%d)/lib -R/usr/local/hacks/lib:/usr/local/hacks/vol/freetype-1.1/lib:/usr/local/hacks/vol/fnlib/$(date +%y%m%d)/lib:/usr/local/hacks/vol/imlib/$(date +%y%m%d)/lib" CFLAGS="-I/usr/local/hacks/vol/freetype-1.1/include -I/usr/local/hacks/include -I/usr/local/hacks/vol/fnlib/$(date +%y%m%d)/include" ./autogen.sh --prefix=/misc/hacks/vol/enlightenment/$(date +%y%m%d)
sgi cvs: ACLOCAL_FLAGS="-I /usr/local/hacks/vol/imlib-$(date +%y%m%d)/share/aclocal" LDFLAGS="-L/usr/local/hacks/vol/freetype-1.1/lib -L/usr/local/hacks/vol/stringlist-$(date +%y%m%d)/lib -L/usr/local/hacks/vol/fnlib-$(date +%y%m%d)/lib -rpath /usr/local/hacks/vol/freetype-1.1/lib:/usr/local/hacks/vol/stringlist-$(date +%y%m%d)/lib:/usr/local/hacks/vol/fnlib-$(date +%y%m%d)/lib:/usr/local/hacks/vol/imlib-$(date +%y%m%d)/lib" CFLAGS="-I/usr/local/hacks/vol/freetype-1.1/include -I/usr/local/hacks/vol/stringlist-$(date +%y%m%d)/include -I/usr/local/hacks/vol/fnlib-$(date +%y%m%d)/include" ./autogen.sh --prefix=/usr/local/hacks/vol/enlightenment/$(date +%y%m%d)
make
make install
    

Eterm 0.8.8:

Requires Imlib, fnlib

sun: ../configure --prefix=/usr/local/hacks/vol/Eterm/0.8.8
    

GTKGL 1.2.1:

Requires GTK >= 1.1.5

module add gtk/1.2.0 (or your favorite version)
mkdir obj
cd obj
../configure --prefix=/afs/nada.kth.se/misc/hacks/sun4m_54/vol/gtkglarea/1.2.1
make
make install
    
Simon Josefsson
Last modified: Sat Jan 26 21:29:41 MET 2002