[GE users] Clean compile on FreeBSD?

Jeroen Kleijer jeroen.kleijer at xs4all.nl
Mon Nov 15 21:51:26 GMT 2004


Has anyone been able to get a clean compile on FreeBSD? (5.3-STABLE) 
I've downloaded the source of SGE-6.0U1 but no matter what options I
try, it always fails on the Berkeley DB.

I've installed Berkeley DB 4.2.25 via ports and adjusted the aimk.site
file in such a way that it should be able to find it (and I think it
does) but no matter what I try I keep getting these messages:

-DGETHOSTBYADDR_M  -g -DLOAD_OPENSSL -I/usr/local/include/
-DSECURE -I/usr/include -I/usr/X11R6/include -DCOMPILE_DC
-D__SGE_NO_USERMAPPING__ -I../security/sec -I../common -I../libs
-I../libs/uti -I../libs/gdi -I../libs/japi -I../libs/sgeobj
-I../libs/cull -I../libs/rmon -I../libs/comm -I../libs/comm/lists
-I../libs/sched -I../libs/evc -I../libs/evm -I../libs/mir -I../libs/lck
-I../daemons/common -I../daemons/qmaster -I../daemons/execd
-I../daemons/schedd -I../clients/common -I. -fPIC -c
In file included from ../libs/spool/berkeleydb/sge_bdb.h:41,
../libs/spool/berkeleydb/sge_bdb_types.h:80: error: syntax error before
'*' token
../libs/spool/berkeleydb/sge_bdb_types.h:81: warning: type defaults to
`int' in declaration of `bdb_get_env'
../libs/spool/berkeleydb/sge_bdb_types.h:81: warning: data definition
has no type or storage class
../libs/spool/berkeleydb/sge_bdb_types.h:86: error: syntax error before
numeric constant
In file included from ../libs/spool/berkeleydb/sge_bdb.h:41,
../libs/spool/berkeleydb/sge_bdb_types.h:1:1: unterminated #ifndef
In file included from
../libs/spool/berkeleydb/sge_bdb.h:1:1: unterminated #ifndef
gmake: *** [sge_spooling_berkeleydb.o] Error 1
not done


Does anyone know what these messages mean? (my knowledge of C is _very_

Kind regards,

Jeroen Kleijer

To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net

More information about the gridengine-users mailing list