Thanks to those who replied to my last post. I was able to build the source successfully. I did encounter an error installing the binaries that I wanted to ask about.
I'm trying out the berkeleydb, and I downloaded and built version 5.1 The installation seems to expect version 4.4 . The SGE build instructions say version 4.2 or later should work. Is this just a configuration step I've misssed, or do I need to build the older DB version? Thanks, Mark ________________________________________ From: Ron Chen [[email protected]] Sent: Tuesday, April 05, 2011 1:53 PM To: Mark Suhovecky Cc: [email protected] Subject: Re: [gridengine users] building Hi Mark, Just build with -no-java -no-jni if you don't have Java installed. I built SGE6.2u5p1 & SGE6.2u5p2 on RHEL 5.4 and 5.5 without issues. -Ron --- On Wed, 4/6/11, Mark Suhovecky <[email protected]> wrote: > From: Mark Suhovecky <[email protected]> > Subject: [gridengine users] building > To: "[email protected]" <[email protected]> > Date: Wednesday, April 6, 2011, 1:33 AM > > > I'm trying to build SGE from source on a RHEL5.5 > system. I'm using the gcc 4.1.2 compiler > > I obtained the tarball SGE6.2u5p1.tar.gz from sourceforge, > and am following the instructions in README.BUILD. > > I make it to step 6, run aimk, and eventually get many > variants of the following error: > > > _________C_O_R_E__S_Y_S_T_E_M_____________ > gcc -DSGE_ARCH_STRING=\"lx26-amd64\" -O3 -Wall -Werror > -Wstrict-prototypes -DUSE_POLL -DLINUX -DLINUXAMD64 > -DLINUXAMD64_26 -D_GNU_SOURCE -DGETHOSTBYNAME_R6 > -DGETHOSTBYADDR_R8 -DLOAD_OPENSSL > -I/opt/berkdb-5.1.25/include//opt/berkdb-5.1.25/include > -DTARGET_64BIT -DSPOOLING_berkeleydb -DSECURE > -I/off_home/gridengine/openssl-0.9.8h-origin/lx26-amd64/include > -Wno-strict-aliasing -DPLPA -DCOMPILE_DC > -D__SGE_COMPILE_WITH_GETTEXT__ > -D__SGE_NO_USERMAPPING__ -I../common -I../libs -I../libs/uti > -I../libs/juti -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. > -I/opt/SGE6.2u5p1/source/3rdparty/plpa/plpa-1.3.1/src/libplpa > -I/usr/include -I/usr/include/linux -fPIC -c > ../libs/sgeobj/config.c > In file included from /usr/include/_G_config.h:44, > > from /usr/include/libio.h:32, > > from /usr/include/stdio.h:72, > > from ../libs/sgeobj/config.c:33: > /usr/include/gconv.h:72: error: expected declaration > specifiers or ‘...’ before ‘size_t’ > /usr/include/gconv.h:88: error: expected declaration > specifiers or ‘...’ before ‘size_t’ > /usr/include/gconv.h:97: error: expected declaration > specifiers or ‘...’ before ‘size_t’ > /usr/include/gconv.h:174: error: expected > specifier-qualifier-list before ‘size_t’ > > > Looking at these, it looks like the stddef.h being > picked up is not what's expected (that's where size_t is > defined). > > Optionally, I could try building against gcc 4.4.4, which > is also available on our systems, but first I figured > I'd ask > here to see if anyone else has built SGE with gcc 4.1 on > RHEL5, and if so did they encounter this problem. > > Thanks for any advice, > > Mark > > > _______________________________________________ > users mailing list > [email protected] > https://gridengine.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
