#24950 [Com]: Compiling PHP --with-oci8 --with oracle (Oracle 9i) fails
| From: | cunha17 at uol dot com dot br | Date: | Tue, 05 Aug 2003 23:27:16 +0000 |
| Subject: | #24950 [Com]: Compiling PHP --with-oci8 --with oracle (Oracle 9i) fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-45424@lists.php.net to get a copy of this message | ||
ID: 24950
Comment by: cunha17 at uol dot com dot br
Reported By: fschulze at more-radio dot de
Status: Feedback
Bug Type: Compile Failure
Operating System: Solaris8
PHP Version: 4.3.2
New Comment:
This is caused by configure not locating oci.h. Verify that you
installed the C/C++ OCI interface (wich must be selected manually with
the Installer).
I guess that the oci.h file after installation is located inside the
demo directory.
Hope it helps.
Previous Comments:
------------------------------------------------------------------------
[2003-08-05 10:52:09] sniper@php.net
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
------------------------------------------------------------------------
[2003-08-05 06:24:26] fschulze at more-radio dot de
Description:
------------
HI,
problem to MAKE php after the following
./configure --with-apxs2=/www/currentsw/apache/bin/apxs
--with-mysql=/www/currentsw/mysql --enable-versioning
--enable-track-vars=yes --enable-url-includes
--with-config-file-path=/www/currentsw/apache/conf
--prefix=/www/bin/php-4.3.2 --with-oci8
configure looks good. make brings up hunderts of error-lines. here are
the last ones:
/www/source/php-4.3.2/ext/oci8/oci8.c:5472: request for member
`in_call' in something not a structure or union
/www/source/php-4.3.2/ext/oci8/oci8.c:5472: request for member
`in_call' in something not a structure or union
/www/source/php-4.3.2/ext/oci8/oci8.c:5472: parse error before ')'
token
/www/source/php-4.3.2/ext/oci8/oci8.c:5472: request for member
`in_call' in something not a structure or union
/www/source/php-4.3.2/ext/oci8/oci8.c:5480: request for member
`coll_typecode' in something not a structure or union
/www/source/php-4.3.2/ext/oci8/oci8.c:5494: request for member
`in_call' in something not a structure or union
/www/source/php-4.3.2/ext/oci8/oci8.c:5494: request for member
`in_call' in something not a structure or union
/www/source/php-4.3.2/ext/oci8/oci8.c:5494: request for member `tdo' in
something not a structure or union
/www/source/php-4.3.2/ext/oci8/oci8.c:5494: parse error before ')'
token
/www/source/php-4.3.2/ext/oci8/oci8.c:5494: request for member
`in_call' in something not a structure or union
/www/source/php-4.3.2/ext/oci8/oci8.c:5502: request for member `id' in
something not a structure or union
*** Error code 1
make: Fatal error: Command failed for target `ext/oci8/oci8.lo'
if configured without --oci8 everything is ok.
any ideas?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24950&edit=1