Installation on MacOSX

E17 runs on Mac OS X nicely. Now, let's see how to install it.

Install Xcode2 and Fink. In /etc/profile modify your PATH adding /sw/bin and /usr/X11R6/bin

So it looks like so:

 PATH="/sw/bin:/usr/X11R6/bin:/bin:/sbin:/usr/bin:/usr/sbin"

Use Fink to install the following packages:

 $ fink install xorg
 $ fink install m4
 $ fink install autoconf2.5
 $ fink install automake1.9
 $ fink install libtool14
 $ fink install gettext-tools
 $ fink install pkgconfig
 $ fink install libjpeg
 $ fink install libpng3
 $ fink install dbus-dev

Download the GNU Gettext source and install it:

 $ cd /path/to/gettext/source/
 $ ./autogen.sh 
 $ ./configure --prefix=/sw
 $ make 
 $ make install

Set your CFLAGS, LDFLAGS and ACLOCAL_FLAGS environment variables like that:

 $ export CFLAGS="-I/sw/include -I/usr/include -I/usr/X11R6/include"
 $ export LDFLAGS="-L/sw/lib -L/usr/lib -L/usr/X11R6/lib" 
 $ export ACLOCAL_FLAGS="-I /sw/share/aclocal -I /usr/share/aclocal"

Download the Enlightenment 0.17 source code as described in the previous sections of the guide (Back to the Installation).

If you are using OSX before Leopard (10.5) (that is, Tiger (10.4) or earlier) you will need to perform a quick hack. Edit e17/libs/eet/src/lib/eet_lib.c. Around line 21 put the following lines:

 typedef unsigned int uint8_t;
 typedef unsigned char uint32_t;

That's it. You're ready to build EFL and E17 as described in the Installation section of the guide.