#38811 [Opn]: compilation fails with --with-oci8 support
| From: | murthys at us dot ibm dot com | Date: | Wed, 13 Sep 2006 15:43:54 +0000 |
| Subject: | #38811 [Opn]: compilation fails with --with-oci8 support | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-102109@lists.php.net to get a copy of this message | ||
ID: 38811
User updated by: murthys at us dot ibm dot com
-Reported By: murthys at us dot ib, dot com
+Reported By: murthys at us dot ibm dot com
Status: Open
Bug Type: Compile Failure
Operating System: AIX 5.3 ML-03
PHP Version: 4.4.4
New Comment:
Inadrtantly I indicated my e-mail address to be murthys@us.ib.com.
Kindly make a correction and it should be
murthys@us.ibm.com
Previous Comments:
------------------------------------------------------------------------
[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