|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-11-14 02:33 UTC] alf dot nicolaysen at web dot de
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 20 20:00:01 2025 UTC |
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