ID: 42782 User updated by: dgrimes at scvl dot com Reported By: dgrimes at scvl dot com Status: Open Bug Type: Compile Failure Operating System: IA64 HPUX 11.23 PHP Version: 5.2.4 New Comment:
If I change OCI8 in the configure statement to: --with-oci8=instantclient,$ORACLE_HOME/instantclient_10_2 I get the following after configure: +--------------------------------------------------------------------+ | *** ATTENTION *** | | | | Something is likely to be messed up here, because the configure | | script was not able to detect a simple feature on your platform. | | This is often caused by incorrect configuration parameters. Please | | see the file debug.log for error messages. | | | | If you are unable to fix this, send the file debug.log to the | | [EMAIL PROTECTED] mailing list and include appropiate | | information about your setup. | +--------------------------------------------------------------------+ This is what is in debug.log: gcc -o conftest -I/usr/local/include -g -O2 -D_XOPEN_SOURCE_EXTENDED -liconv -L /usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/dc_user01/app/oracle/produc t/10.2/instantclient_10_2 -L/dc_user01/app/oracle/product/10.2/instantclient_10_ 2 conftest.c -liconv -lz -lm -lnsl -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -l m -lclntsh -lnnz10 -lxml2 -lz -liconv -lm 1>&5 conftest.c: In function 'main': conftest.c:3: warning: incompatible implicit declaration of built-in function 'e xit' ld: Mismatched ABI for -lclntsh, found /dc_user01/app/oracle/product/10.2/instan tclient_10_2/libclntsh.so Fatal error. collect2: ld returned 1 exit status Thanks, Dean Previous Comments: ------------------------------------------------------------------------ [2007-09-27 18:54:34] dgrimes at scvl dot com Description: ------------ Trying to compile PHP 5.2.4 with Oracle Instant Client 10.2 and I receive the following error: In file included from /dc_user01/dgrimes/cdev/php-5.2.4/ext/oci8/oci8.c:50: /dc_user01/dgrimes/cdev/php-5.2.4/ext/oci8/php_oci8_int.h:354: error: expected declaration specifiers or '...' before 'oraub8' /dc_user01/dgrimes/cdev/php-5.2.4/ext/oci8/php_oci8_int.h:354: error: expected declaration specifiers or '...' before 'oraub8' make: *** [ext/oci8/oci8.lo] Error 1 Reproduce code: --------------- Using GCC 4.2.1 GNU Make 3.81 configure \ --with-oci8=shared,instantclient,$ORACLE_HOME/instantclient_10_2 \ --with-zlib-dir=/usr/local \ --without-sqlite \ --without-pdo-sqlite \ --disable-reflection Expected result: ---------------- A php executable with Oracle support Actual result: -------------- Compile failure. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=42782&edit=1