ID:               28616
 Updated by:       [EMAIL PROTECTED]
 Reported By:      post_ravi at yahoo dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         OCI8 related
 Operating System: Linux host 2.4.21-4.ELsmp (ES 3)
 PHP Version:      4.3.6
 Assigned To:      tony2001
 New Comment:

Please, try to search for php_oci8.h file on your hard disk. locate
php_oci8.h should help. 
And nuke all old PHP headers, if you find it.
I'm almost sure, that these errors are caused by the headers mixed up.
Btw, current stable PHP release is 4.3.7


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

[2004-06-04 03:27:09] post_ravi at yahoo dot com

Hi 

 Please find the content of build.errors , after running the command
make clean && make 2> build.errors 

Ravi

-------------------- START --------------------------

 /opt/php-4.3.6/ext/oci8/oci8.c:5422: request for member `in_call' in
something not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5435: request for member `in_call' in
something not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5435: request for member `in_call' in
something not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5435: syntax error before ')' token
/opt/php-4.3.6/ext/oci8/oci8.c:5435: request for member `in_call' in
something not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5450: request for member `in_call' in
something not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5450: request for member `in_call' in
something not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5450: syntax error before ')' token
/opt/php-4.3.6/ext/oci8/oci8.c:5450: request for member `in_call' in
something not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5457: request for member `coll_typecode'
in something not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5458: `OCI_TYPECODE_TABLE' undeclared
(first use in this function)
/opt/php-4.3.6/ext/oci8/oci8.c:5459: `OCI_TYPECODE_VARRAY' undeclared
(first use in this function)
/opt/php-4.3.6/ext/oci8/oci8.c:5466: request for member `in_call' in
something not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5466: request for member `in_call' in
something not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5466: syntax error before ')' token
/opt/php-4.3.6/ext/oci8/oci8.c:5466: request for member `in_call' in
something not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5479: request for member `in_call' in
something not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5479: request for member `in_call' in
something not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5479: syntax error before ')' token
/opt/php-4.3.6/ext/oci8/oci8.c:5479: request for member `in_call' in
something not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5492: request for member `in_call' in
something not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5492: request for member `in_call' in
something not a structure or union
/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 use 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 something not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5492: request for member `in_call' in
something not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5505: request for member `in_call' in
something not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5505: request for member `in_call' in
something not 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 not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5513: request for member `coll_typecode'
in something not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5527: request for member `in_call' in
something not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5527: request for member `in_call' in
something not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5527: request for member `tdo' in
something not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5527: syntax error before ')' token
/opt/php-4.3.6/ext/oci8/oci8.c:5527: request for member `in_call' in
something not a structure or union
/opt/php-4.3.6/ext/oci8/oci8.c:5535: request for member `id' in
something not a structure or union
make: *** [ext/oci8/oci8.lo] Error 1

 -------------------- END ---------------------

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

[2004-06-03 11:34:13] [EMAIL PROTECTED]

Are you sure these are the only errors during build?
Can you plz run this:
make clean && make 2> build.errors 
and show me resultant file ?

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

[2004-06-03 11:28:23] post_ravi at yahoo dot com

I tried to download PHP 4.3.6 installation kit from php.net 

These are the files downloaded and transferred to my linux server in
binary mode.

06/03/2004  12:24 PM         3,957,796 php-4.3.6.tar.bz2
06/03/2004  12:36 PM         4,828,134 php-4.3.6.tar.gz

But after re-installation, found the same error while using make
command.

#  ./configure --with-apxs2=/usr/local/apache/bin/apxs 
               --prefix=/usr/local/php 
               --with-zlib 
               --with-config-file-path=/usr/local/php/ 
               --with-oci8=/home/oracle/OraHome1/ 
               --enable-sigchild

 Note : If possible please let me know how to uninstall php thru
command line.

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

[2004-06-03 08:22:27] [EMAIL PROTECTED]

It seems, that you have a problem with headers.
Get a clean sources of PHP and try again.


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

[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

Reply via email to