#28616 [Opn->Fbk]: Error while make (compiling) Oracle 9i with php 4.3.6 (oci8 lib) .
| From: | tony2001@php.net | Date: | Thu, 03 Jun 2004 06:22:28 +0000 |
| Subject: | #28616 [Opn->Fbk]: Error while make (compiling) Oracle 9i with php 4.3.6 (oci8 lib) . | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-60300@lists.php.net to get a copy of this message | ||
ID: 28616
Updated by: tony2001@php.net
Reported By: post_ravi at yahoo dot com
-Status: Open
+Status: Feedback
-Bug Type: Oracle related
+Bug Type: OCI8 related
Operating System: Linux host 2.4.21-4.ELsmp (ES 3)
PHP Version: 4.3.6
-Assigned To:
+Assigned To: tony2001
New Comment:
It seems, that you have a problem with headers.
Get a clean sources of PHP and try again.
Previous Comments:
------------------------------------------------------------------------
[2004-06-03 05:19:36] post_ravi at yahoo dot com
Description:
------------
Hi
Im trying to compile PHP with oracle.
Linux OS:
Linux host 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686 i686
i386 GNU/Linux
Oracle client : 9i (9.2.0.1.0)
php : PHP 4.3.6 (cli) (built: Jun 2 2004 20:49:07)
When i tried to Complie with php with oracle
# ./configure --with-apxs2=/usr/local/apache/bin/apxs --wi
th-zlib --with-config-file-path=/usr/local/lib/php
--with-oci8=/home/oracle/OraHome1 --enable-sigchild
congigure seems ok, but make give lot of error's
Reproduce code:
---------------
# ./configure --with-apxs2=/usr/local/apache/bin/apxs --wi
th-zlib --with-config-file-path=/usr/local/lib/php
--with-oci8=/home/oracle/OraHome1 --enable-sigchild
configure seems ok, but make give lot of error's
Expected result:
----------------
php to fine to go with oracle
Actual result:
--------------
/opt/php-4.3.6/ext/oci8/oci8.c:5492: request for member `elem_ref' in
something
not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5492: `OCI_DURATION_SESSION' undeclared
(first us
e in this function)
/opt/php-4.3.6/ext/oci8/oci8.c:5492: `OCI_TYPEGET_HEADER' undeclared
(first use
in this function)
/opt/php-4.3.6/ext/oci8/oci8.c:5492: request for member `element_type'
in someth
ing not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5492: request for member `in_call' in
something n
ot a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5505: request for member `in_call' in
something n
ot a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5505: request for member `in_call' in
something n
ot a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5505: syntax error before ')' token
/opt/php-4.3.6/ext/oci8/oci8.c:5505: request for member `in_call' in
something n
ot a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5513: request for member `coll_typecode'
in somet
hing not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5527: request for member `in_call' in
something n
ot a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5527: request for member
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28616&edit=1