PHP 4.0 Bug #7230 Updated: Configuration fails for Oracle 8.1.6
| From: | sniper@php.net | Date: | Thu, 07 Dec 2000 16:52:47 +0000 |
| Subject: | PHP 4.0 Bug #7230 Updated: Configuration fails for Oracle 8.1.6 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-40449@lists.php.net to get a copy of this message | ||
ID: 7230
Updated by: sniper
Reported By: wbastow@ccahs.health.nsw.gov.au
Status: Closed
Bug Type: *Configuration Issues
Assigned To:
Comments:
Reopen, if this still happens when using latest snapshot
from http://snaps.php.net/
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-10-27 09:08:05] sniper@php.net
Have you updated some older version to 8.1.6 ??
I just installed 8.1.6 from scratch and the configure
found the version just fine..
And better fix might be to just change the order of the checks for
the version.
--Jani
---------------------------------------------------------------------------
[2000-10-27 09:07:58] sniper@php.net
Have you updated some older version to 8.1.6 ??
I just installed 8.1.6 from scratch and the configure
found the version just fine..
And better fix might be to just change the order of the checks for
the version.
--Jani
---------------------------------------------------------------------------
[2000-10-15 21:36:12] wbastow@ccahs.health.nsw.gov.au
Running ./configure --with-apxs=/u1/app/http/bin/apxs --with-ldap=/usr/local/etc/openldap
--with-oci8=/u1/app/oracle/product/8.1.6 --with-sybase=/opt/sybase-11.9.2 --enable-sigchild
--disable-with-oracle
get the following at the end of configure run:
checking Oracle version... 7.3
configure: error: Unsupported Oracle version!
I modified configure to work here:
[wbastow@io php-4.0.3pl1]$ diff configure configure.new
24527,24528c24527,24528
< if test -f "$OCI8_DIR/orainst/unix.rgs"; then
< OCI8_VERSION=
grep '"ocommon"' $OCI8_DIR/orainst/unix.rgs | sed
's/ */:/g' | cut -d: -f 6 | cut -c 2-4
---
> if test -f "$OCI8_DIR/install/unix.rgs"; then
> OCI8_VERSION=grep 'rdbms' $OCI8_DIR/install/unix.rgs | sed
> 's/ */:/g' | cut -d: -f 2 | cut -c 1-3
The unix.rgs file in orainst is empty and the file in the install directory doesn't contain
ocommon.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7230