php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14038 Compile Stops with error for DB2-support
Submitted: 2001-11-13 04:00 UTC Modified: 2001-11-14 02:33 UTC
From: alf dot nicolaysen at web dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.6 OS: AIX 4.3.3
Private report: No CVE-ID: None
 [2001-11-13 04:00 UTC] alf dot nicolaysen at web dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-14 02:33 UTC] alf dot nicolaysen at web dot de
The file sqlcli1.h is missing in fact. It is in the db2.client.adt INstallp package. After installing that, all was fine.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sat Jan 29 02:03:33 2022 UTC