Bug #14038 Updated: Compile Stops with error for DB2-support
| From: | alf dot nicolaysen at web dot de | Date: | Wed, 14 Nov 2001 07:33:02 +0000 |
| Subject: | Bug #14038 Updated: Compile Stops with error for DB2-support | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70410@lists.php.net to get a copy of this message | ||
ID: 14038
User updated by: alf.nicolaysen@web.de
Reported By: alf.nicolaysen@web.de
Status: Closed
Bug Type: Compile Failure
Operating System: AIX 4.3.3
PHP Version: 4.0.6
New Comment:
The file sqlcli1.h is missing in fact. It is in the db2.client.adt INstallp package. After
installing that, all was fine.
Previous Comments:
------------------------------------------------------------------------
[2001-11-13 04:00:16] alf.nicolaysen@web.de
Hi,
I just downloaded the new version 4.0.6 of PHP and tried to compile it on an AIX machine. I
installed the IBM DB2 Ver. 6.1 before and the IBM HTTP Server, which is in fact the Apache server
1.3.12
After i fixed the dlerror decl. in os.h and changed the "archive_cmds" line in ltconfig,
it compiles fine with:
CC=gcc ./configure --without-mysql --with-apxs=/usr/HTTPServer/bin/apxs --prefix=/usr
As soon as I want to have the DB2-support too, I ran into errors: Heres my configure line for that:
CC=gcc ./configure --without-mysql --with-apxs=/usr/HTTPServer/bin/apxs --prefix=/usr --with-ibm-db2
The make output follows:
Making all in main
/bin/sh /usr/sys/inst.images/php/libtool --silent --mode=compile gcc -I.
-I/usr/sys/inst.images/php/main -I/usr/sys/inst.images/php/main -I/usr/sys/inst.images/php
-I/usr/HTTPServer/include -I/usr/sys/inst.images/php/Zend -I/home/db2inst1/sqllib/include
-I/usr/sys/inst.images/php/ext/xml/expat/xmltok -I/usr/sys/inst.images/php/ext/xml/expat/xmlparse
-I/usr/sys/inst.images/php/TSRM -DAIX=42 -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -DAFPA
-DNO_DL_NEEDED -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -O2 -c main.c
/bin/sh /usr/sys/inst.images/php/libtool --silent --mode=compile gcc -I.
-I/usr/sys/inst.images/php/main -I/usr/sys/inst.images/php/main -I/usr/sys/inst.images/php
-I/usr/HTTPServer/include -I/usr/sys/inst.images/php/Zend -I/home/db2inst1/sqllib/include
-I/usr/sys/inst.images/php/ext/xml/expat/xmltok -I/usr/sys/inst.images/php/ext/xml/expat/xmlparse
-I/usr/sys/inst.images/php/TSRM -DAIX=42 -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -DAFPA
-DNO_DL_NEEDED -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -O2 -c internal_functions.c
In file included from internal_functions.c:32:
/usr/sys/inst.images/php/ext/odbc/php_odbc.h:170: sqlcli1.h: No such file or directory
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
I do not have a clue what to do next. Help is very much appreciated. Thx.
Alf
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14038&edit=1