php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30602 Oracle 10.1 version not found
Submitted: 2004-10-28 18:02 UTC Modified: 2004-11-05 01:00 UTC
From: walexander at corp dot infi dot net Assigned:
Status: No Feedback Package: *Compile Issues
PHP Version: 4.3.9 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: walexander at corp dot infi dot net
New email:
PHP Version: OS:

 

 [2004-10-28 18:02 UTC] walexander at corp dot infi dot net
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



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-28 18:09 UTC] tony2001@php.net
ext/oci8/config.m4 already has this line, so you probably have some mess with sources.
run ./buildconf --force and those lines should appear in ./configure too.
 [2004-11-05 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 03:01:28 2024 UTC