Bug #10779: error in configure script (oracle release checks)
| From: | christoph dot hofstetter at bit dot admin dot ch | Date: | Thu, 10 May 2001 09:23:31 +0000 |
| Subject: | Bug #10779: error in configure script (oracle release checks) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-54618@lists.php.net to get a copy of this message | ||
From: christoph.hofstetter@bit.admin.ch
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