[GE users] Clean compile on FreeBSD?

Ron Chen ron_chen_123 at yahoo.com
Tue Nov 16 05:59:09 GMT 2004


By just looking at your output, seems like the  build
command (aimk) did not include the berkeley DB header
files, and thus many definitions are not picked up.

BTW, SGE 5.3 works fine on FreeBSD 4.x and 5.x. SGE
6.0 requires a little more work plus testing to get it
supported on FreeBSD. If your cluster is relatively
small (less than 500 hosts), then the scalability work
in SGE 6.0 won't buy you a lot.

By staying with SGE 5.3, you will not get other
features of SGE 6.0 like cluster queues, but you can
upgrade to SGE 6.0 later.

 -Ron

P.S. using classic spooling, I can get it compiled on
FreeBSD 5.2.x, and I only changed 1 line in aimk, so
if you are really looking for SGE 6.0 features, may be
you can be one of the first beta testers? 


--- Jeroen Kleijer <jeroen.kleijer at xs4all.nl> wrote:
> Hi,
> 
> 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:
> 
> <snip>
> gcc -O -Wall -DFREEBSD -DFREEBSD_I386
> -DGETHOSTBYNAME_M
> -DGETHOSTBYADDR_M  -g -DLOAD_OPENSSL
> -I/usr/local/include/
> -DTARGET_32BIT -DQCONF_FLATFILE  -DSPOOLING_dynamic
> -DENABLE_NGC
> -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
> ../libs/spool/berkeleydb/sge_spooling_berkeleydb.c
> In file included from
> ../libs/spool/berkeleydb/sge_bdb.h:41,
>                  from
>
../libs/spool/berkeleydb/sge_spooling_berkeleydb.c:62:
> ../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,
>                  from
>
../libs/spool/berkeleydb/sge_spooling_berkeleydb.c:62:
> ../libs/spool/berkeleydb/sge_bdb_types.h:1:1:
> unterminated #ifndef
> In file included from
>
../libs/spool/berkeleydb/sge_spooling_berkeleydb.c:62:
> ../libs/spool/berkeleydb/sge_bdb.h:1:1: unterminated
> #ifndef
> gmake: *** [sge_spooling_berkeleydb.o] Error 1
> not done
> 
> <snip>
> 
> Does anyone know what these messages mean? (my
> knowledge of C is _very_
> limited)
> 
> 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
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 


---------------------------------------------------------------------
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