ID: 28616 Updated by: [EMAIL PROTECTED] Reported By: post_ravi at yahoo dot com -Status: Open +Status: Bogus 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:
It's broken Oracle client installation. Fix that first. Previous Comments: ------------------------------------------------------------------------ [2004-06-08 16:21:00] [EMAIL PROTECTED] 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 ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/28616 -- Edit this bug report at http://bugs.php.net/?id=28616&edit=1