Bug #10779 Updated: error in configure script (oracle release checks)
| From: | sniper@php.net | Date: | Thu, 10 May 2001 09:27:44 +0000 |
| Subject: | Bug #10779 Updated: error in configure script (oracle release checks) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54620@lists.php.net to get a copy of this message | ||
ID: 10779
Updated by: sniper
Reported By: christoph.hofstetter@bit.admin.ch
Old-Status: Open
Status: Closed
Bug Type: *Install and Config
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
Fixed in CVS now.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-05-10 05:23:31] christoph.hofstetter@bit.admin.ch
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
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10779&edit=2