ID: 38811 Updated by: [EMAIL PROTECTED] Reported By: murthys at us dot ibm dot com -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: AIX 5.3 ML-03 PHP Version: 4.4.4 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2006-09-13 15:43:33] murthys at us dot ibm dot com Inadrtantly I indicated my e-mail address to be [EMAIL PROTECTED] Kindly make a correction and it should be [EMAIL PROTECTED] ------------------------------------------------------------------------ [2006-09-13 15:38:18] murthys at us dot ibm dot com 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 this bug report at http://bugs.php.net/?id=38811&edit=1