#30602 [NEW]: Oracle 10.1 version not found

From: Date: Thu, 28 Oct 2004 16:02:58 +0000
Subject: #30602 [NEW]: Oracle 10.1 version not found
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-68436@lists.php.net to get a copy of this message
From: walexander at corp dot infi dot net Operating system: Linux PHP version: 4.3.9 PHP Bug Type: *Compile Issues Bug description: Oracle 10.1 version not found Description: ------------ There appears to be a problem w/ configure when attempting to use Oracle 10.1 client libraries. There appears to be two other bug reports related to the ext/oci8/oci8.c and ext/oci8/config.m4 which were both patched in #27093 and #27117; However it does not appear that configure was fixed. I get the following errors when compiling with the --with-oracle=/usr/lib/oracle/10.1.0.2/client --with-oci8=/usr/lib/oracle/10.1.0.2/client: configure: error: Unspported Oracle version!. I was able to resolve this using the diff -cw output below in the configure file. Thanks, Will Alexander Reproduce code: --------------- *** configure 2004-09-20 18:31:33.000000000 -0400 --- configure.will 2004-10-28 11:57:56.000000000 -0400 *************** *** 61614,61619 **** --- 61614,61621 ---- if test -s "$ORACLE_DIR/orainst/unix.rgs"; then ORACLE_VERSION=`grep '"ocommon"' $ORACLE_DIR/orainst/unix.rgs | sed 's/ */:/g' | cut -d: -f 6 | cut -c 2-4` test -z "$ORACLE_VERSION" && ORACLE_VERSION=7.3 + elif test -f $ORACLE_DIR/lib/libclntsh.$SHLIB_SUFFIX_NAME.10.1; then + ORACLE_VERSION=10.1 elif test -f $ORACLE_DIR/lib/libclntsh.$SHLIB_SUFFIX_NAME.9.0; then ORACLE_VERSION=9.0 elif test -f $ORACLE_DIR/lib/libclntsh.$SHLIB_SUFFIX_NAME.8.0; then *************** *** 65990,65996 **** ;; ! 8.1|9.0) case clntsh in --- 65992,65998 ---- ;; ! 8.1|9.0|10.1) case clntsh in -- Edit bug report at http://bugs.php.net/?id=30602&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30602&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30602&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30602&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30602&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30602&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30602&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30602&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30602&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30602&r=support Expected behavior: http://bugs.php.net/fix.php?id=30602&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30602&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30602&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30602&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30602&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30602&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30602&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30602&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30602&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30602&r=mysqlcfg

« previous php.bugs (#68436) next »