Bug #13695 Updated: Compilation fails when trying to compile with DB2 Support
| From: | sniper@php.net | Date: | Sun, 30 Jun 2002 03:31:52 +0000 |
| Subject: | Bug #13695 Updated: Compilation fails when trying to compile with DB2 Support | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-12557@lists.php.net to get a copy of this message | ||
ID: 13695
Updated by: sniper@php.net
Reported By: pilyad@yahoo.com
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: AIX 4.3.3
PHP Version: 4.0.6
New Comment:
Please try this snapshot:
http://snaps.php.net/php4-latest.tar.gz
Previous Comments:
------------------------------------------------------------------------
[2001-10-16 13:41:54] pilyad@yahoo.com
Have PHP-4.0.6 compiled and installed without MySql support and
without IBM-DB2 Support.
When I tried to compile the same with IBM-DB2 Support compilation
fails.
Server Built : Apache 1.3.19
DB2 Version : DB2 7.1
OS : AIX 4.3.3
Compiler : xlC_r -ma IBM Compiler
Configuring PHP-4.0.6 as follows........
"./configure" \
"--prefix=/mds/work/dd4cx8t/Web/php4.0.6" \
"--with-apxs=/mds/work/dd4cx8t/Web/apache/bin/apxs" \
"--without-mysql" \
"--with-ibm-db2=/usr/lpp/db2_07_01" \
"--enable-versioning" \
"--enable-track-vars" \
"--enable-trans-sid" \
Compilation fails with following errors
Making all in main
/mds/work/dd4cx8t/Web/php-4.0.6/main
/bin/sh /mds/work/dd4cx8t/Web/php-4.0.6/libtool --silent
--mode=compile xlC_r -ma -I. -I/mds/work/dd4cx8t/Web/php-4.0.6/main
-I/mds/work/dd4cx8t/Web/php-4.0.6/main
-I/mds/work/dd4cx8t/Web/php-4.0.6
-I/mds/work/dd4cx8t/Web/apache/include
-I/mds/work/dd4cx8t/Web/php-4.0.6/Zend -I/usr/lpp/db2_07_01/include
-I/mds/work/dd4cx8t/Web/php-4.0.6/ext/xml/expat/xmltok
-I/mds/work/dd4cx8t/Web/php-4.0.6/ext/xml/expat/xmlparse
-I/mds/work/dd4cx8t/Web/php-4.0.6/TSRM -DAIX=43
-DUSE_PTHREAD_SERIALIZED_ACCEPT -DAIX_BIND_PROCESSOR -DUSE_HSREGEX
-DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -c
internal_functions.c
"/usr/lpp/db2_07_01/include/sqlcli.h", line 718.9: 1506-213 (S) Macro
name ODBCVER cannot be redefined.
"/usr/lpp/db2_07_01/include/sqlcli.h", line 718.9: 1506-358 (I)
"ODBCVER" is defined on line 27 of
/mds/work/dd4cx8t/Web/php-4.0.6/ext/odbc/php_odbc.h.
"/usr/lpp/db2_07_01/include/sqlcli1.h", line 126.10: 1506-213 (S) Macro
name SQL_EXT_API_LAST cannot be redefined.
"/usr/lpp/db2_07_01/include/sqlcli1.h", line 126.10: 1506-358 (I)
"SQL_EXT_API_LAST" is defined on line 621 of
/usr/lpp/db2_07_01/include/sqlext.h.
"/usr/lpp/db2_07_01/include/sqlcli1.h", line 207.10: 1506-213 (S) Macro
name SQL_OJ_CAPABILITIES cannot be redefined.
"/usr/lpp/db2_07_01/include/sqlcli1.h", line 207.10: 1506-358 (I)
"SQL_OJ_CAPABILITIES" is defined on line 764 of
/usr/lpp/db2_07_01/include/sqlext.h.
"/usr/lpp/db2_07_01/include/sqlcli1.h", line 219.9: 1506-213 (S) Macro
name SQL_INFO_LAST cannot be redefined.
"/usr/lpp/db2_07_01/include/sqlcli1.h", line 219.9: 1506-358 (I)
"SQL_INFO_LAST" is defined on line 776 of
/usr/lpp/db2_07_01/include/sqlext.h.
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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=13695&edit=1