ID: 24950
Updated by: [email]sniperphp.net[/email]
Reported By: fschulze at more-radio dot de
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Solaris8
PHP Version: 4.3.2
New Comment:

[url]http://www.phpbuilder.com/mail/php-install/2003011/0231.php[/url]

There are other 64bit issues that need to be solved and this falls in
the same category. I'll add a note about this in the bug #21973
(currently I have no access to such machine so there isn't much I can
do about these.)



Previous Comments:
------------------------------------------------------------------------

[2003-08-06 09:40:48] fschulze at more-radio dot de

thanks for the answers. CVS brings the same error.

after install c++ OCI interface from oracle CD make brings up this
error:

ight.lo Zend/zend_llist.lo Zend/zend_opcode.lo Zend/zend_operators.lo
Zend/zend
ptr_stack.lo Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo
Zend/zend_A
I.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo
Zend/zend_inde
t.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo
Zend/zend_ini.lo Zend/
end_qsort.lo Zend/zend_multibyte.lo Zend/zend_execute.lo
sapi/apache2handler/sa
i_apache2.lo sapi/apache2handler/apache_config.lo
sapi/apache2handler/php_funct
ons.lo main/internal_functions.lo -lmysqlclient -lresolv -lm -ldl -lnsl
-lsocke
-lgcc -lnsl -lsocket -lgen -ldl -lclntsh -o libphp4.la
ld: fatal: file /www/bin/oracle/produkt/9.2.0/lib/libclntsh.so: wrong
ELF class
ELFCLASS64
ld: fatal: File processing errors. No output written to
..libs/libphp4.so
*** Error code 1
make: Fatal error: Command failed for target `libphp4.la'

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

[2003-08-05 18:27:12] cunha17 at uol dot com dot br

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.

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

[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]