Here's a report on current success /workarounds of building
SAPDB-7.4 from the CVS sources on Debian 3.0 (woody).


1. /usr/lib/gcc-lib/i386-linux/2.95.4/include/stdbool.h
-------------------------------------------------------

There's a problem with above file:

ven041.c fast
In file included from /usr/include/curses.h:111,
from /home/toberste/sandbox/sapdb74/sapdb-74/sys/wrk/i\
ncl/gen04.h:145,
from ven041.c:42:
/usr/lib/gcc-lib/i386-linux/2.95.4/include/stdbool.h:9: parse error bef\
ore `('
Error while executing "cc -DREL30 -DLINUX -DI386 -DSAG -I/home/toberste\
/sandbox/sapdb74/sapdb-74/usr/incl -I/home/toberste/sandbox/sapdb74/sapd\
b-74/sys/wrk/incl -I/home/toberste/sandbox/sapdb74/sapdb-74/sys/wrk/incl\
/SAPDB -DSYSV -D_SVID -I/usr/include/ncurses -w -Wall -D_FILE_OFFSET_BIT\
S=64 -DDEVELOPMENT -DKANJI -DSAPDB_FAST -D_REENTRANT -O3 -march=pentium \
-mcpu=pentiumpro -I/home/toberste/sandbox/sapdb74/TOOLSRC/incl -c ven041\
.c"
message:
COMMAND error 1


The type definition

typedef enum
{
false = 0,
true = 1
} bool;

seems to collide with a definition of "false" already present.
I've worked around it by commenting out above typedef in

/usr/lib/gcc-lib/i386-linux/2.95.4/include/stdbool.h




2. Python.h not found
----------------------

Script_loaderPython.c fast
Script_loaderPython.c:35: Python.h: No such file or directory
Error while executing "cc -I/usr/include/python -DREL30 -DLINUX -DI386 \
-DSAG -I/home/toberste/sandbox/sapdb74/sapdb-74/usr/incl -I/home/toberst\
e/sandbox/sapdb74/sapdb-74/sys/wrk/incl -I/home/toberste/sandbox/sapdb74\
/sapdb-74/sys/wrk/incl/SAPDB -DSYSV -D_SVID -I/usr/include/ncurses -w -W\
all -D_FILE_OFFSET_BITS=64 -DSAPDB_FAST -D_REENTRANT -O3 -march=pentium \
-mcpu=pentiumpro -I/home/toberste/sandbox/sapdb74/TOOLSRC/incl -c Script\
_loaderPython.c"
message:
COMMAND error 1


I've worked around this one by symbol linking the stuff:

ln -s /usr/include/python2.1 /usr/include/python



3. TOOLSRC/bin/instlserver not found
------------------------------------

This is what's left for "imf" to make:


toberste@stalker$ imf all
Create gsp100.h first:
vmake 10.00.11 01-08-2002
VMAKE_PATH =/home/toberste/sandbox/sapdb74/sapdb-74,
16-01-03 17:01:45 start of collection phase
16-01-03 17:01:45 end of collection phase
16-01-03 17:01:45 start of gsp100.h fast
16-01-03 17:01:46 end of gsp100.h fast
Build: 000000000
vmake 10.00.11 01-08-2002
VMAKE_PATH =/home/toberste/sandbox/sapdb74/sapdb-74,
16-01-03 17:01:46 start of collection phase
16-01-03 17:01:52 end of collection phase
16-01-03 17:01:52 start of all.mac fast
!dbmcli -s -R $INSTROOT inst_reg -k $INSTROOT -c
OK
!irconf -r -p $INSTROOT > /dev/null
!$TOOLSHELL -S ifaconf.pl $INSTRUNTIME
/home/toberste/sandbox/sapdb74/sapdb-74/usr/runtime/7404 -> 7.4.4.0,/hom\
e/toberste/sandbox/sapdb74/sapdb-74/usr registered.
!deletePattern.pl $WRK/incl/vpa00wic.h $OWN/usr/incl/WINDOWS.H "^#.*line.*"
!deletePattern.pl $WRK/incl/vpa00sql.h $OWN/usr/incl/sql.h vpa00
!deletePattern.pl $WRK/incl/vpa00sqlext.h $OWN/usr/incl/sqlext.h vpa00
!deletePattern.pl $WRK/incl/vpa00sqltypes.h $OWN/usr/incl/sqltypes.h vpa00
!deletePattern.pl $WRK/incl/vpa00sqlucode.h $OWN/usr/incl/sqlucode.h vpa00
!cp $TOOL/pgm/idl2xml $INSTROOT/pgm/idl2xml
!cp $TOOL/pgm/xml2ispc $INSTROOT/pgm/xml2ispc
!rm -f $DBROOT/env/LOADER.py
!rm -f $DBROOT/env/LOADER.pyc
lserver.lnk fast
!$TOOL/bin/instlserver
/bin/sh: /home/toberste/sandbox/sapdb74/TOOLSRC/bin/instlserver: No such\
file or directory
COMMAND error 127
'ls.mac' not made because of dependency errors
'allknl.mac' not made because of dependency errors
!(cd $DBROOT/misc;cc bgrep.c -o bgrep;cc patchb.c -o patchb;rm bgrep.c;rm patchb.c)
!sed s#\$OWN32#`echo $OWN`/usr#g $OWN/usr/config/WebAgent74.ini > $OWN/usr/config/WebAgent74.ini.32ready
libodcompr.dld fast
libwapi.dld fast
waecho.dld fast
wasim.lnk fast
libdbfsapi.dld fast
websql.dld fast
webdbm.dld fast
!rm $INSTROOT/Log/WDVCAPI_Log.log
libwdvcapi.dld fast
libwdvhandler.dld fast
libwahttp.dld fast
wahttp.lnk fast
!dbmcli -s -R $INSTROOT inst_reg -k $INSTROOT
OK
'all.mac' not made because of dependency errors
16-01-03 17:02:05 end of all.mac fast



At this point, I'm lost again. Any hints how to build this
"instlserver" stuff?


Thanks,
Tobias


_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to