From: murthys at us dot ib, dot com Operating system: AIX 5.3 ML-03 PHP version: 4.4.4 PHP Bug Type: Compile Failure Bug description: compilation fails with --with-oci8 support
Description: ------------ Hi: I am trying to build mod_php with oci8 support and I am running into compile errors that are related to php-4.4.2/ext/oci8/oci8.c file. Is this a real BUG and has been fixed in php 4.4.4 or should I use a patch of some kind ? 1) When option " --with-oci8=/usr/csapps/db " is EXCLUDED during configure, the configure completes without errors and the make completes successfully by building libphp4.so The one line program <?php phpinfo(); ?> seem to work correctly 2) When option " --with-oci8=/usr/csapps/db " is INCLUDED during configure, the configure completes without errors and the make fails as follows: ......... ......... /usr/bin/bash /work/objsrc-php-4.4.2/libtool --silent --preserve-dup-deps --mode=compile /usr/gcc402-bs_gcc334/bi n/gcc -Iext/oci8/ -I/work/php-4.4.2/ext/oci8/ -DPHP_ATOM_INC -I/work/objsrc-php-4.4.2/include -I/work/objsrc-php -4.4.2/main -I/work/php-4.4.2 -I/opt/freeware//include -I/usr/openldap-2.2.23/include -I/usr/csapps/db/rdbms/publ ic -I/usr/csapps/db/rdbms/demo -I/work/php-4.4.2/ext/xml/expat -I/work/objsrc-php-4.4.2/TSRM -I/work/objsrc-php-4 .4.2/Zend -I/work/php-4.4.2/main -I/work/php-4.4.2/Zend -I/work/php-4.4.2/TSRM -I/work/objsrc-php-4.4.2/ -I/opt/ freeware/include -I/usr/local/openssl/include -I/opt/freeware/include/openssl -I/usr/gcc402-bs_gcc334/include/c++ /4.0.2 -I/usr/gcc402-bs_gcc334/include/c++/4.0.2/backward -I/usr/gcc402-bs_gcc334/include/c++/4.0.2/bits -I/usr/g cc402-bs_gcc334/include/c++/4.0.2/debug -I/usr/gcc402-bs_gcc334/include/c++/4.0.2/ext -I/usr/gcc402-bs_gcc334/inc lude/c++/4.0.2/powerpc-ibm-aix5.3.0.0 -I/usr/gcc402-bs_gcc334/include/c++/4.0.2/powerpc-ibm-aix5.3.0.0/bits -I/us r/gcc402-bs_gcc334/include/c++/4.0.2/powerpc-ibm-aix5.3.0.0/bits/stdc++.h.gch -Iusr/csapps/db -g -O2 -c /work/ php-4.4.2/ext/oci8/oci8.c -o ext/oci8/oci8.lo In file included from /work/php-4.4.2/ext/oci8/oci8.c:69: /work/php-4.4.2/ext/oci8/php_oci8.h:59: error: syntax error before 'OCIServer' /work/php-4.4.2/ext/oci8/php_oci8.h:59: warning: no semicolon at end of struct or union /work/php-4.4.2/ext/oci8/php_oci8.h:60: warning: data definition has no type or storage class /work/php-4.4.2/ext/oci8/php_oci8.h:61: warning: data definition has no type or storage class /work/php-4.4.2/ext/oci8/php_oci8.h:69: error: syntax error before 'oci_server' /work/php-4.4.2/ext/oci8/php_oci8.h:69: warning: no semicolon at end of struct or union /work/php-4.4.2/ext/oci8/php_oci8.h:70: warning: data definition has no type or storage class /work/php-4.4.2/ext/oci8/php_oci8.h:71: error: syntax error before '*' token .................. .................. .................. gmake: *** [ext/oci8/oci8.lo] Error 1 I have searched the previously reported BUG articles about this problem and some were related missing oci.h files, not providing correct PATHS etc. I have checked all of the previously recommended solutions . They do not resolve the problem I am seeing. Any help and suggestion offered is gratefully acknowledged. Regards, Sridhar -- Edit bug report at http://bugs.php.net/?id=38811&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38811&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38811&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38811&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38811&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38811&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38811&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=38811&r=needscript Try newer version: http://bugs.php.net/fix.php?id=38811&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38811&r=support Expected behavior: http://bugs.php.net/fix.php?id=38811&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38811&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38811&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38811&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38811&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38811&r=dst IIS Stability: http://bugs.php.net/fix.php?id=38811&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38811&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38811&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38811&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=38811&r=mysqlcfg