Praveen Kumar <[email protected]> writes:

> Hi,
>
> I am trying to compile grid engine form source but I am getting compilation
> error when it started Core system. Any help appreciated.
>
> Terminal Output :
>
> _________C_O_R_E__S_Y_S_T_E_M_____________
> gcc -DSGE_ARCH_STRING=\"linux-x86\" -O3 -Wall -Wstrict-prototypes
> -DUSE_POLL -DLINUX -DLINUX_NATIVE -DLINUX86 -DLINUX86 -D_GNU_SOURCE
> -DGETHOSTBYNAME_R6 -DGETHOSTBYADDR_R8 -DHAS_VSNPRINTF  -DLOAD_OPENSSL
> -I/build/berkeleydb/include/ -DTARGET_32BIT  -DSPOOLING_dynamic
> -DSECURE -I/build/openssl-install/include -Wno-strict-aliasing
> -D_FILE_OFFSET_BITS=64 -DCOMPILE_DC -D__SGE_COMPILE_WITH_GETTEXT__
> -D__SGE_NO_USERMAPPING__ -DTHREADBINDING -DHWLOC -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/usr/include -I/usr/include/linux
> -I/opt/gridscheduler/source/3rdparty/hwloc/hwloc-1.2.2/include/
> -I/opt/gridscheduler/source/3rdparty/hwloc/hwloc-1.2.2/LINUX86/include
> -fPIC -c ../libs/sgeobj/config.c
> In file included from /usr/include/stdio.h:75,
>                  from ../libs/sgeobj/config.c:33:
> /usr/include/libio.h:332: error: expected specifier-qualifier-list
> before ‘size_t’
> /usr/include/libio.h:364: error: expected declaration specifiers or
> ‘...’ before ‘size_t’

That's probably due to the setting of JAVA_HOME.

It's not OGS, but the source from
http://arc.liv.ac.uk/downloads/SGE/releases/8.0.0d/ should get it right
if you don't mind many extra improvements.  Otherwise, you can look at
the build files for a recipe that mostly works.

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

Reply via email to