RE: Building from source
"Dittmar, Daniel" <[email protected]> Fri, 1 Aug 2003 17:46:22 +0200
| Newsgroups | gmane.comp.db.sapdb.sources |
|---|---|
| Message-ID | <[email protected]> |
> TARGET: ':in/vin77.c' STATUS: ERROR
>
> vin77.c:35:34: Python.h: No such file or directory
You need the Include files for Python. If you install your Linux from rpm, you need something like Python-develop. Otherwise, you need a Python source package, ./configure it and copy the file Python-2.2/pyconfig.h to Python-2.2/Include. Then
export PYTHON_INCLUDE=...Python-2.2/Include
You could also set
export PYTHON_INCLUDE=NONE
Then the Python extensions won't be built. By there are required for the installation of a database.
See also http://sapdb.2scale.net/moin.cgi/CompilingHints
> TARGET: command 'dbmcli ' in reginst.mac STATUS: ERROR
>
> ERR
> -24994,ERR_RTE: runtime environment error
> 1,Mkdir(Registry):No such file or directo
After building the tools, did you run the script $(TOOL)/bin/prepare_inst.pl to create the directory /usr/spool/sql/config?
>> vls14_scan.cpp:68: syntax error before `[' token
> I guess you mean sys/wrk/fast/tmp/vls14_scan.save? This would be:
>
> | struct yy_trans_info
> | {
> | flex_int32_t yy_verify;
> | flex_int32_t yy_nxt;
> | };
> 68: static yyconst flex_int16_t yy_accept[738] =
> | { 0,
I have no idea. Maybe you could try
$ imf vls14_scan.l/-E > vls14.i
Hopefully, this passes -E to the actual C++ compiler and gives us the preprocessor output for this line.
Daniel Dittmar
--
Daniel Dittmar
SAP DB, SAP Labs Berlin
[email protected]
http://www.sapdb.org/