Re: PHP 4.3.0 with Oracle

From: Date: Thu, 09 Jan 2003 12:34:57 +0000
Subject: Re: PHP 4.3.0 with Oracle
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-130930@lists.php.net to get a copy of this message
On Wed, Jan 08, 2003 at 04:38:25PM -0200, José Manuel Valente wrote: > 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? just add #undef HAVE_OCI8_ATTR_STATEMENT in line 4329 of oci8.c and recompile re, tc PS: what version of oracle are you using?

« previous php.general (#130930) next »