ID:               30602
 Updated by:       [EMAIL PROTECTED]
 Reported By:      walexander at corp dot infi dot net
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         *Compile Issues
 Operating System: Linux
 PHP Version:      4.3.9
 New Comment:

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".


Previous Comments:
------------------------------------------------------------------------

[2004-10-28 18:09:05] [EMAIL PROTECTED]

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-10-28 18:02:57] 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




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30602&edit=1

Reply via email to