Date: 09/27/98
- Next message: zavadsky <email protected>: "[PHP-DEV] Bug #793: Not nessessary -lpthread leads to misbehaving of Apache"
- Previous message: Bug Database: "[PHP-DEV] Bug #791 Updated: General error of PHP3 ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: nakama <email protected>
Operating system: Linux2.0.35 glibc2
PHP version: 3.0.4
PHP Bug Type: Installation problem
Bug description: Compile failure (PHP+Oracle pre8.0.5)
1.file not found $ORACLE_HOME/orainst/unix.rgs
./configure -> ORACLE_VERSION=7.3
2.undefined function oci8_efree_column
oci8_free_column topy?
diff -r -c php-3.0.4.org/configure php-3.0.4/configure
*** php-3.0.4.org/configure Wed Sep 23 05:23:07 1998
--- php-3.0.4/configure Sun Sep 27 13:05:00 1998
***************
*** 4335,4340 ****
--- 4335,4346 ----
ORACLE_INCLUDE=-I$ORACLEINST_TOP/rdbms/demo
fi
+ if test -d "$ORACLEINST_TOP/rdbms/public"
+ then
+ # V8
+ ORACLE_INCLUDE="$ORACLE_INCLUDE -I$ORACLEINST_TOP/rdbms/public"
+ fi
+
if test -d "$ORACLEINST_TOP/network/public"
then
# V8
***************
*** 4358,4363 ****
--- 4364,4381 ----
else
ORACLE_VERSION=7.3
fi
+
+ # Oracle on Linux pre 8.0.5 :-):-)
+ if test -f "$ORACLEINST_TOP/orainst/install"
+ then
+ ORACLE_LINUX=`grep 'Welcome to Oracle on Linux!' \
+ $ORACLEINST_TOP/orainst/install`
+ if test "$ORACLE_LINUX"!=""
+ then
+ ORACLE_VERSION=8.0
+ fi
+ fi
+
echo "$ac_t""$ORACLE_VERSION" 1>&6
diff -r -c php-3.0.4.org/functions/oci8.c php-3.0.4/functions/oci8.c
*** php-3.0.4.org/functions/oci8.c Tue Sep 15 02:25:44 1998
--- php-3.0.4/functions/oci8.c Sun Sep 27 13:07:57 1998
***************
*** 622,628 ****
statement->columns = emalloc(sizeof(HashTable));
if (!statement->columns ||
_php3_hash_init(statement->columns, 13, NULL,
! (void (*)(void *))oci8_efree_column, 0) == FAILURE) {
/* out of memory */
return 0;
}
--- 622,628 ----
statement->columns = emalloc(sizeof(HashTable));
if (!statement->columns ||
_php3_hash_init(statement->columns, 13, NULL,
! (void (*)(void *))oci8_free_column, 0) == FAILURE) {
/* out of memory */
return 0;
}
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: zavadsky <email protected>: "[PHP-DEV] Bug #793: Not nessessary -lpthread leads to misbehaving of Apache"
- Previous message: Bug Database: "[PHP-DEV] Bug #791 Updated: General error of PHP3 ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

