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] [email]sniperphp.net[/email]

Please try using this CVS snapshot:

[url]http://snaps.php.net/php4-STABLE-latest.tar.gz[/url]

For Windows:

[url]http://snaps.php.net/win32/php4-win32-STABLE-latest.zip[/url]

------------------------------------------------------------------------

[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: p 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: p 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 [url]http://bugs.php.net/?id=24950&edit=1[/url]