PHP 4.3.0 with Oracle
| From: | José Manuel Valente | Date: | Wed, 08 Jan 2003 18:38:25 +0000 |
| Subject: | PHP 4.3.0 with Oracle | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-130783@lists.php.net to get a copy of this message | ||
Hy Guys,
I´m a newby here.
I´am trying to compile PHP 4.3.0 with Oracle support. When it
compiles oci8.c , it returns an error, like follows:
/bin/sh libtool --silent --mode=compile
gcc -Iext/oci8/ -I/usr/src/php-4.3.0/ext/oci8/ -DPHP_ATOM_INC -I/usr/src/ph
p-4.3.0/include -I/usr/src/php-4.3.0/main -I/usr/src/php-4.3.0 -I/usr/src/ph
p-4.3.0/Zend -I/usr/include/imap -I/opt/oracle/product/8.1.5/rdbms/demo -I/o
pt/oracle/product/8.1.5/network/public -I/opt/oracle/product/8.1.5/plsql/pub
lic -I/usr/src/php-4.3.0/ext/xml/expat -DLINUX=22 -DMOD_SSL=208111 -DUSE_HS
REGEX -DEAPI -DUSE_EXPAT -I/usr/src/php-4.3.0/TSRM -g -O2 -prefer-pic -c
/usr/src/php-4.3.0/ext/oci8/oci8.c -o ext/oci8/oci8.lo
/usr/src/php-4.3.0/ext/oci8/oci8.c: In function `zif_ocierror':
/usr/src/php-4.3.0/ext/oci8/oci8.c:4271: `OCI_ATTR_STATEMENT' undeclared
(first use in this function)
/usr/src/php-4.3.0/ext/oci8/oci8.c:4271: (Each undeclared identifier is
reported only once
/usr/src/php-4.3.0/ext/oci8/oci8.c:4271: for each function it appears in.)
make: *** [ext/oci8/oci8.lo] Error 1
With PHP 4.2.3 and belower, it worked fine.
Anyone has any ideas?
Thanks very much,
José Manuel Valente