Dittmar, Daniel wrote:
1. /usr/lib/gcc-lib/i386-linux/2.95.4/include/stdbool.h

Any possibility of some clever #define/#undef around the #include <curses.h> to make patching the system header file unnecessary?

append the 2 following lines to "sys/src/en/gen04.h"

#undef          true
#undef          false

right after the lines

/* defined in curses.h */
#undef          OK
#undef          TRUE
#undef          FALSE



2. Python.h not found

When you call newSapdbSrc.py to create the development profile, you can use the option -pyinclude to specify the location of the Python header files.

I though I had everything set up such that when newSapdbSrc.py doesn't find the header files, then the Python extensions aren't built at all.
OK, so one should do (on Debian 3.0):

python TOOLSRC/bin/newSapdbSrc.py
   -pyinclude /usr/include/python2.1 sapdb-74



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

Edit $DESC/ls.mac and add conditional compiling around the line with the instlserver call:
&ifdef SAPDB_INTERNAL
!$TOOL/bin/instlserver
&endif

Great! Everything built now!


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 18:02:00 start of collection phase
16-01-03 18:02:00 end of collection phase
16-01-03 18:02:00 start of gsp100.h fast
16-01-03 18:02:00 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 18:02:00 start of collection phase
16-01-03 18:02:06 end of collection phase
16-01-03 18:02:06 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
!(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
16-01-03 18:02:20 end of all.mac fast
toberste@stalker$


Thanks again.
Tobias


instlserver makes a suid root program out of lserver, but this isn't really necessary for single user development.

Daniel Dittmar



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

Reply via email to