ID: 14038
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]

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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to