SAP DB 7.4 build problems on Red Hat Linux 8.0
Marko Asplund <[email protected]> Thu, 20 Mar 2003 17:07:42 +0200 (EET)
| Newsgroups | gmane.comp.db.sapdb.sources |
|---|---|
| Message-ID | <[email protected]> |
i'm having some problems compiling SAP DB 7.4.03.14 on Red Hat Linux 8.0.
SAP DB build system requires Python v1.5.2 and Perl v5.005_03 but Red Hat
comes with Python v2.2 and Perl v5.8.0. compiling Python on RH8 is not a
problem but Perl is. Red Hat comes with gcc v3.2 which makes Perl
v5.005_03 configuration system fail. i wasn't able to fix this problem so
i had to compile Perl on a RH7.3 system and copy the binaries (Python
v1.5.2 bin directory has to be added to path and Perl v5.005_03 path has
to be assigned to TOOLSHELL in V74_03_14/initDev_SAPDB).
when trying to build the all.mac target i get the following error messages
(i can provide full typescript if needed):
1)
!dbmcli -s -R $INSTROOT inst_reg -k $INSTROOT -c
ERR
-24994,ERR_RTE: runtime environment error
1,mkstemp failed:Permission denied
COMMAND error 1
'reginst.mac' not made because of dependency errors
2)
!irconf -r -p $INSTROOT > /dev/null
!$TOOLSHELL -S ifaconf.pl $INSTRUNTIME
Error : mkstemp failed:Permission denied.
error while 'irconf -i -p /home/aspa/tmp/sapdb/sapdb-7.4/V74_03_14/SAPD\
B_DEV/usr/runtime/7403 -k /home/aspa/tmp/sapdb/sapdb-7.4/V74_03_14/SAPDB\
_DEV/usr' :
what.h
3)
!if [ -r $INSTMISC/sqlmodule.so ] ; then rm $INSTMISC/sqlmodule.so ; fi
!PYTHONPATH=$INSTMISC python -c "import sapdb.sql"
Traceback (innermost last):
File "<string>", line 1, in ?
File "/home/aspa/tmp/sapdb/t4/V74_03_14/SAPDB_DEV/usr/misc/sapdb/sql.\
py", line 44, in ?
from python15.sql import *
ImportError: No module named python15.sql
COMMAND error 1
'sqlpy.mac' not made because of dependency errors
4)
bison: output.c:1236: output_parser: Assertion `actions_dumped == 1' fa\
iled.
error while executing /home/aspa/tmp/sapdb/sapdb-7.4/DevTool/gnu/bin/bi\
son -v -o vls14_parse.c -d vls14_parse.y :
COMMAND error 255
FlexLexer.h
vls14_scan.skl fast binary
vls14_parse.y fast
vls14_parse.y:1310: warning: previous rule lacks an ending `;'
vls14_parse.y:1313: warning: previous rule lacks an ending `;'
vls14_parse.y:1384: warning: previous rule lacks an ending `;'
bison: output.c:1236: output_parser: Assertion `actions_dumped == 1' fa\
iled.
error while executing /home/aspa/tmp/sapdb/sapdb-7.4/DevTool/gnu/bin/bi\
son -v -o vls14_parse.c -d vls14_parse.y :
COMMAND error 255
'vls14_scan.l' not made because of dependency errors
5)
!dbmcli -s -R $INSTROOT inst_reg -k $INSTROOT
ERR
-24994,ERR_RTE: runtime environment error
1,mkstemp failed:Permission denied
COMMAND error 1
'reginst-FULL.mac' not made because of dependency errors
i'm trying to build the all.mac target but it fails apparently because of
subtarget failures: reginst.mac, cpc.mac, allpc.mac, sqlpy.mac,
loaderpy.mac, vls14_scan.l, lsxlib.lib, lserver.lnk, pyinst.mac,
allknl.mac, reginst-FULL.mac.
i also get lots of warning about deprecated variable and function use:
+ sys_errlist is deprecated; use strerror or strerror_r
+ sys_nerr is deprecated; use strerror or strerror_r
+ use of tmpnam is dangerous, better use mkstemp
the system uses flex v2.5.4a and GNU Bison v1.35.
has anyone managed to compile SAP DB 7.4 on Red Hat Linux 8.0?
best regards,
--
aspa http://www.kronodoc.fi/