From: post_ravi at yahoo dot com Operating system: Linux host 2.4.21-4.ELsmp (ES 3) PHP version: 4.3.6 PHP Bug Type: Oracle related Bug description: Error while make (compiling) Oracle 9i with php 4.3.6 (oci8 lib) .
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 bug report at http://bugs.php.net/?id=28616&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28616&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28616&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28616&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28616&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28616&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28616&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28616&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28616&r=support Expected behavior: http://bugs.php.net/fix.php?id=28616&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28616&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28616&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28616&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28616&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28616&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28616&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28616&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28616&r=float