I used this process that I found in internet (which worked till a month ago. 
then e17 changed something at the code which  breaks the building process. I 
didn't spend much time about it and I didn't solve the problem)

anyway:
download the sources:
svn co http://svn.enlightenment.org/svn/e/trunk/eina eina-svn
svn co http://svn.enlightenment.org/svn/e/trunk/eet eet-svn
svn co http://svn.enlightenment.org/svn/e/trunk/evas evas-svn
svn co http://svn.enlightenment.org/svn/e/trunk/ecore ecore-svn
svn co http://svn.enlightenment.org/svn/e/trunk/efreet efreet-svn
svn co http://svn.enlightenment.org/svn/e/trunk/embryo embryo-svn
svn co http://svn.enlightenment.org/svn/e/trunk/edje edje-svn
svn co http://svn.enlightenment.org/svn/e/trunk/e_dbus e_dbus-svn
svn co http://svn.enlightenment.org/svn/e/trunk/e e17-svn

compile in this order
    * imlib
    * eina
    * eet
    * evas
    * ecore
    * embryo
    * edje
    * efreet
    * e

I used this environment (and installed in my home):
EPATH=$HOME/e17
PATH=/usr/sfw/bin:/usr/bin:/sbin:/usr/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/usr/X11/bin:$EPATH/bin:/usr/gnu/bin:
LDFLAGS="-L/usr/sfw/lib,-R/usr/sfw/lib,-L$EPATH/lib,-R$EPATH/lib -L/usr/X11/lib 
-R/usr/X11/lib"
PKG_CONFIG_PATH=$EPATH/lib/pkgconfig
CCDIR=/usr/sfw/bin
CC=${CCDIR}/gcc
CXX=${CCDIR}/g++
export EPATH PATH LDFLAGS PKG_CONFIG_PATH CCDIR CC CXX

for each module :
$ cd [component directory]
$ ./autogen --prefix=${EPATH}
$ gmake
$ gmake install

*before* to compile *anything* search all the files that contain MAX and in 
each file add:
#ifndef MAX
#define MAX(x, y) (((x) > (y)) ? (x) : (y))
#endif
beware that something compiles even if you do not add the above #define. But 
you will get error complaining about not knowing "MAX" when e17 try to load the 
module (this is a bit strange to me. but it happened... maybe someone can 
explain to me how it is possible that the compiler does not give error...)

I hope it helps a bit.
Luca
-- 
This message posted from opensolaris.org

Reply via email to