From: hdixon at deltabravo dot com Operating system: Solaris 9 PHP version: 5.2.3 PHP Bug Type: Compile Failure Bug description: make bombs out @ oci8 stage
Description: ------------ make fails when attempted (with oci8 enabled) against Oracle 8i libraries. Reproduce code: --------------- ./configure --prefix=/usr/local/php5 --with-oracle=/data/oracle/oracle8i/app/oracle/product/8i --with-oci8=/data/oracle/oracle8i/app/oracle/product/8i --with-xml --with-apxs2=/data//apache_2.2.4/bin/apxs --with-openssl=/usr/local/ssl --with-ldap=/usr/local/openldap --with-mysql=/usr/local/mysql5 --enable-sockets --with-imap=../imap-2004g --with-mysqli=/usr/local/mysql5/bin/mysql_config Expected result: ---------------- successful make .. Actual result: -------------- Last lines of make output before stop: /bin/sh /usr/local/src/php-5.2.3/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/oci8/ -I/usr/local/src/php-5.2.3/ext/oci8/ -DPHP_ATOM_INC -I/usr/local/src/php-5.2.3/include -I/usr/local/src/php-5.2.3/main -I/usr/local/src/php-5.2.3 -I/usr/local/include/libxml2 -I/usr/local/ssl/include -I/usr/local/src/php-5.2.3/ext/date/lib -I/usr/local/src/imap-2004g/c-client -I/usr/local/openldap/include -I/usr/local/mysql5/include/mysql -I/data/oracle/oracle8i/app/oracle/product/8i/rdbms/public -I/data/oracle/oracle8i/app/oracle/product/8i/rdbms/demo -I/usr/local/src/php-5.2.3/TSRM -I/usr/local/src/php-5.2.3/Zend -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include -g -O2 -c /usr/local/src/php-5.2.3/ext/oci8/oci8_lob.c -o ext/oci8/oci8_lob.lo /usr/local/src/php-5.2.3/ext/oci8/oci8_lob.c: In function `php_oci_lob_read': /usr/local/src/php-5.2.3/ext/oci8/oci8_lob.c:304: error: `OCI_NLS_CHARSET_MAXBYTESZ' undeclared (first use in this function) /usr/local/src/php-5.2.3/ext/oci8/oci8_lob.c:304: error: (Each undeclared identifier is reported only once /usr/local/src/php-5.2.3/ext/oci8/oci8_lob.c:304: error: for each function it appears in.) make: *** [ext/oci8/oci8_lob.lo] Error 1 see http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2007-May/120308.html for example of it being fixed ... see http://bugs.php.net/41348 for an unhelpful suggestion on how to solve it (that was against 5.2.2, I've hit the same in 5.2.3). I *cannot* just upgrade Oracle on this box to get php to compile. -- Edit bug report at http://bugs.php.net/?id=41563&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41563&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41563&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41563&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41563&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41563&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41563&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=41563&r=needscript Try newer version: http://bugs.php.net/fix.php?id=41563&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41563&r=support Expected behavior: http://bugs.php.net/fix.php?id=41563&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41563&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41563&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41563&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41563&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41563&r=dst IIS Stability: http://bugs.php.net/fix.php?id=41563&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41563&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41563&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41563&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=41563&r=mysqlcfg
