From:             [EMAIL PROTECTED]
Operating system: aix 4.3.3
PHP version:      4.0.5
PHP Bug Type:     *Install and Config
Bug description:  error in configure script (oracle release checks)

the configure script contains an error where it checks the oracle release for 
oracle_ORACLE support, around line 30756:

it sets variable OCI8_VERSION instead of ORACLE_VERSION



  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.s?.8.0; then
    ORACLE_VERSION=8.1
  elif test -f $ORACLE_DIR/lib/libclntsh.s?.1.0; then
    ORACLE_VERSION=8.0
  elif test -f $OCI8_DIR/lib/libclntsh.a; then
    if test -f $OCI8_DIR/lib/libcore4.a; then
      OCI8_VERSION=8.0  --> should be ORACLE_VERSION!!!
    else
      OCI8_VERSION=8.1  --> should be ORACLE_VERSION!!!
    fi
  else
        { echo "configure: error: Oracle needed libraries not found" 1>&2; exit 1; }
  fi
  echo "$ac_t""$ORACLE_VERSION" 1>&6



-- 
Edit Bug report at: http://bugs.php.net/?id=10779&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to