List:MaxDB« Previous MessageNext Message »
From:Martin Lilienthal Date:October 11 2000 4:42pm
Subject:PHP Interface
View as plain text  
Hi,

I tried to Build PHP with SAPDB support, but make failed.


That is what I did:
- I installed SAP DB Environment
- I installed SAP DB Server
- I installed the TST sample DB

(The software was installed in these directories: /usr/sapdb-srv,
/usr/sapdb-ind, /usr/sapdb-testdb)
I assume that /usr/sapdb-srv is the directory where the server-software is
installed....


- I applied the patches to PHP (4.0.2).
-
>./configure --with-apache../apache_1.3.12 --with-mysql --with-sapdb=/usr/sa
pdb-srv
- >make
and I got this error (I turned off the --with-mysql option too, but I got
the same error):

gcc  -I. -I/root/software/php-4.0.2/main -I/root/software/php-4.0.2 -I/root/
software/php-4.0.2/main -I/root/software/apache_1.3.12/src/include -I/root/s
oftware/apache_1.3.12/src/os/unix -I/root/software/php-4.0.2/Zend -I/root/so
ftware/php-4.0.2 -I/root/software/php-4.0.2/ext/mysql/libmysql -I/usr/sapdb-
srv/usr/incl -I/root/software/php-4.0.2/ext/xml/expat/xmltok -I/root/softwar
e/php-4.0.2/ext/xml/expat/xmlparse  -DXML_BYTE_ORDER=12 -g -O2  -c
internal_functions.c && touch internal_functions.lo
In file included from internal_functions.c:38:
/root/software/php-4.0.2/ext/odbc/php_odbc.h:82: WINDOWS.H: No such file or
directory
/root/software/php-4.0.2/ext/odbc/php_odbc.h:83: sql.h: No such file or
directory
/root/software/php-4.0.2/ext/odbc/php_odbc.h:84: sqlext.h: No such file or
directory
make[2]: *** [internal_functions.lo] Error 1
make[2]: Leaving directory `/root/software/php-4.0.2/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/software/php-4.0.2/main'
make: *** [all-recursive] Error 1


Any ideas???



regards,


Martin Lilienthal


Thread
PHP InterfaceMartin Lilienthal11 Oct