RE: SAP DB 7.4 build problems on Red Hat Linux 8.0

"Dittmar, Daniel" <[email protected]> Fri, 21 Mar 2003 18:23:39 +0100
Newsgroups gmane.comp.db.sapdb.sources
Message-ID <B9A2DDA03044D311BBD40008C75D6968147D85C5@dewdfx24>
> the build scripts could very well work with Python v2.2 but 
> the problem is
> that $TOOL/installtools.pl tries to find config.h which 
> Python v2.2 (or at
> least the Red Hat 8 package) doesn't have at all (include and 
> lib paths
> might be non-standard as well).

I fixed it such that pyconfig.h is accepted as well.

> as to the Perl v5.8.0 here's the error message i got:
>   cpcdrv.lnk fast
>   Can't load 
> '/home/aspa/tmp/sapdb/sapdb-7.4/DevTool/lib/perl5/PipeExec.so\
>   ' for module SAPDB::Install::PipeExec: 
> /home/aspa/tmp/sapdb/sapdb-7.4/De\
>   vTool/lib/perl5/PipeExec.so: undefined symbol: PL_sv_undef 
> at /usr/lib/p\
>   erl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
>    at 
> /home/aspa/tmp/sapdb/sapdb-7.4/DevTool/lib/perl5/SAPDB/Install/SysI\
>   nfo.pm line 31
>   Compilation failed in require at 
> /home/aspa/tmp/sapdb/sapdb-7.4/DevTool\
>   /lib/perl5/SAPDB/Install/SysInfo.pm line 31.
>   Compilation failed in require at 
> /home/aspa/tmp/sapdb/sapdb-7.4/DevTool\
>   /bin/ToolLib.pm line 266.
>   COMMAND error 255
> 
> this seems more like a dynamic loading incompatibility issue than a
> problem with the script syntax itself.

I didn't said that script version incompatibility is the only problem.
ftp://ftp.sap.com/pub/sapdb/develop/tools/sapdb-devtools-perl-src.tgz 
contains the sources for hopefully all the perl modules 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
> > 
> which directory is the build system trying to access here?

Could you run 'strace dbmcli -s -R $INSTROOT inst_reg -k $INSTROOT -c'
to see which system calls gets an error? It worked on my machine after I 
removed all the directories, so I don't know exactly what's going wrong.

Daniel Dittmar

-- 
Daniel Dittmar
SAP DB, SAP Labs Berlin
[email protected]
http://www.sapdb.org/