PHP 4.0 Bug #7230: Configuration fails for Oracle 8.1.6
| From: | wbastow at ccahs dot health dot nsw dot gov dot au | Date: | Mon, 16 Oct 2000 01:36:12 +0000 |
| Subject: | PHP 4.0 Bug #7230: Configuration fails for Oracle 8.1.6 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35086@lists.php.net to get a copy of this message | ||
From: wbastow@ccahs.health.nsw.gov.au
Operating system: Redhat 6.2
PHP version: 4.0.3
PHP Bug Type: *Configuration Issues
Bug description: Configuration fails for Oracle 8.1.6
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.
--
Edit Bug report at: http://bugs.php.net/?id=7230&edit=1