--with-sybase and --with-ibm-db2 conflict

From: Date: Sat, 23 Feb 2002 00:15:01 +0000
Subject: --with-sybase and --with-ibm-db2 conflict
Groups: php.dev 
Request: Send a blank email to php-dev+get-80313@lists.php.net to get a copy of this message
Argh...I *really* need both.... root@nemain:/usr/src/php-4.1.1# ./configure --prefix=/usr --sysconfdir=/etc --without-mysql --with-apxs=/usr/sbin/apxs --enable-memory-limit --with-zlib --with-bz2 --with-exec-dir=/www/htdocs --with-openssl=/usr --with-config-file-path=/etc --enable-track-vars --with-sybase=/usr --with-ibm-db2=/usr/IBMdb2/V7.1 && make Making all in main make[1]: Entering directory `/usr/src/php-4.1.1/main' make[2]: Entering directory `/usr/src/php-4.1.1/main' /bin/sh /usr/src/php-4.1.1/libtool --silent --mode=compile gcc -I. -I/usr/src/php-4.1.1/main -I/usr/src/php-4.1.1/main -I/usr/src/php-4.1.1 -I/usr/include/httpd -I/usr/src/php-4.1.1/Zend -I/usr/IBMdb2/V7.1/include -I/usr/src/php-4.1.1/ext/xml/expat -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I/usr/src/php-4.1.1/TSRM -O3 -march=i686 -mcpu=i686 -funroll-loops -ffast-math -prefer-pic -c main.c /bin/sh /usr/src/php-4.1.1/libtool --silent --mode=compile gcc -I. -I/usr/src/php-4.1.1/main -I/usr/src/php-4.1.1/main -I/usr/src/php-4.1.1 -I/usr/include/httpd -I/usr/src/php-4.1.1/Zend -I/usr/IBMdb2/V7.1/include -I/usr/src/php-4.1.1/ext/xml/expat -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I/usr/src/php-4.1.1/TSRM -O3 -march=i686 -mcpu=i686 -funroll-loops -ffast-math -prefer-pic -c internal_functions.c In file included from /usr/IBMdb2/V7.1/include/sqlcli1.h:42, from /usr/src/php-4.1.1/ext/odbc/php_odbc.h:178, from internal_functions.c:34: /usr/IBMdb2/V7.1/include/sqlcli.h:718: warning: `ODBCVER' redefined /usr/src/php-4.1.1/ext/odbc/php_odbc.h:27: warning: this is the location of the previous definition In file included from /usr/include/sybfront.h:23, from /usr/src/php-4.1.1/ext/sybase/php_sybase_db.h:67, from internal_functions.c:41: /usr/include/sybdb.h:72: conflicting types for `RETCODE' /usr/IBMdb2/V7.1/include/sqlcli.h:344: previous declaration of `RETCODE' make[2]: *** [internal_functions.lo] Error 1 make[2]: Leaving directory `/usr/src/php-4.1.1/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/php-4.1.1/main' make: *** [all-recursive] Error 1 -- Casey Allen Shobe cshobe@softhome.net

« previous php.dev (#80313) next »