Dear gridengine users list,

This is the first time I try to install and use gridengine so I'm
probably making lots of silly mistakes.

I'm trying to install gridengine on a Gentoo Linux X86_64 system. I
have never used gridengine before so I have no ideas of installation
structure, environment variables etc.


Here's what I've done:
tar xvfz SGE6.2u5p2.tar.gz

cd SGE6.2u5p2/source
./aimk -no-java -no-jni -no-secure -spool-classic -no-dump -only-depend
./scripts/zerodepend
./aimk -no-java -no-jni -no-secure -spool-classic -no-dump depend
./aimk -no-java -no-jni -no-secure -spool-classic -no-dump

The last step failed:



gcc -DSGE_ARCH_STRING=\"lx26-amd64\" -O3 -Wall -Werror -Wstrict-prototypes 
-DUSE_POLL -DLINUX -DLINUXAMD64 -DLINUXAMD64_26 -D_GNU_SOURCE 
-DGETHOSTBYNAME_R6 -DGETHOSTBYADDR_R8  
-I/off_home/gridengine/db-4.4.20/lx26-amd64/include/ -DTARGET_64BIT  
-DSPOOLING_classic  -Wno-strict-aliasing -DPLPA -DNO_JNI -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/work/pgu/SGE6.2u5p2/source/3rdparty/plpa/plpa-1.3.1/src/libplpa -fPIC -c 
../libs/sgeobj/config.c
cc1: warnings being treated as errors
../libs/sgeobj/config.c: In function 'set_conf_enum':
../libs/sgeobj/config.c:752: error: format not a string literal and no format 
arguments
make: *** [config.o] Error 1
not done

Then I tried to remove all -Werror:

diff aimk aimk.bu1 
1262c1262
<    set CFLAGS   = "$OFLAG -woff 1035,3201,3496 -n32 -mips3 -mp 
-DFD_SETSIZE=8192 -DIRIX -D$BUILDARCH -DGETHOSTBYNAME_M -DGETHOSTBYADDR_M 
$DEBUG_FLAG -DUSE_SGE_UNSETENV $CFLAGS"
---
>    set CFLAGS   = "$OFLAG -Werror -woff 1035,3201,3496 -n32 -mips3 -mp 
> -DFD_SETSIZE=8192 -DIRIX -D$BUILDARCH -DGETHOSTBYNAME_M -DGETHOSTBYADDR_M 
> $DEBUG_FLAG -DUSE_SGE_UNSETENV $CFLAGS"
1451c1451
<    set CFLAGS = "$OFLAG -Wall -Wstrict-prototypes -DUSE_POLL -DLINUX 
-D$BUILDARCH -D$COMPILE_ARCH -D_GNU_SOURCE -DGETHOSTBYNAME_R6 
-DGETHOSTBYADDR_R8 $DEBUG_FLAG $CFLAGS"
---
>    set CFLAGS = "$OFLAG -Wall -Werror -Wstrict-prototypes -DUSE_POLL -DLINUX 
> -D$BUILDARCH -D$COMPILE_ARCH -D_GNU_SOURCE -DGETHOSTBYNAME_R6 
> -DGETHOSTBYADDR_R8 $DEBUG_FLAG $CFLAGS"
1591c1591
<       set CFLAGS = "-Wall -O0 -pipe $CFLAGS -rpath /usr/lib/x86"
---
>       set CFLAGS = "-Wall -Werror -O0 -pipe $CFLAGS -rpath
>       /usr/lib/x86"


Then I try to run distinst


mkdir -p $SGE_ROOT/vers
./scripts/distinst -allall -basedir /work/pgu/target-test-dir -vdir vers 
...
Installing "3rd_party/" directory tree
Installing "inst_sge", "install_qmaster" and "install_execd"
Installing "util/" directory tree
chmod: cannot access 
`/work/pgu/target-test-dir/vers/util/DetectJvmLibrary.jar': No such file or 
directory
This command failed: chmod 644
/work/pgu/target-test-dir/vers/util/install_modules/DB_CONFIG/work/pgu/target-test-dir/vers/util/install_modules/backup_template.conf
/work/pgu/target-test-dir/vers/util/install_modules/inst_berkeley.sh
/work...


Installation failed. Exiting.

So what's the next step? Any hints or documentation pointers?

Thanks

//Petter



_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to