Building from source with OCI8

From: Date: Thu, 10 Apr 2003 16:32:23 +0000
Subject: Building from source with OCI8
Groups: php.general 
Request: Send a blank email to php-general+get-143360@lists.php.net to get a copy of this message
Hey all, I'm having a little trouble building the PHP source with the Oracle 8 libraries included. It's a fresh Solaris 7 system, with little else but Oracle 8i and Apache installed (as well as everything outlined in the Solaris-specific PHP install documentation). The configure command I'm using is: ./configure --with-apxs=/path/to/apxs --with-oci8=/same/as/$ORACLE_HOME Here is the error message: /bin/sh libtool --silent --mode=compile gcc -Iext/oci8/ -I/export/home/dan/php-4.3.1/ext/ oci8/ -DPHP_ATOM_INC -I/export/home/dan/php-4.3.1/include -I/export/home/dan /php-4.3.1/mai n -I/export/home/dan/php-4.3.1 -I/export/home/dan/php-4.3.1/Zend -I/u01/app/ oracle/product /8.1.5/rdbms/demo -I/u01/app/oracle/product/8.1.5/network/public -I/u01/app/ oracle/product /8.1.5/plsql/public -I/export/home/dan/php-4.3.1/ext/xml/expat -D_POSIX_PTH READ_SEMANTICS -DSOLARIS2=270 -DEAPI -I/export/home/dan/php-4.3.1/TSRM -g -O2 -prefer-pi c -c /export/h ome/dan/php-4.3.1/ext/oci8/oci8.c -o ext/oci8/oci8.lo /export/home/dan/php-4.3.1/ext/oci8/oci8.c: In function `zif_ocierror': /export/home/dan/php-4.3.1/ext/oci8/oci8.c:4272: `OCI_ATTR_STATEMENT' undeclared (first us e in this function) /export/home/dan/php-4.3.1/ext/oci8/oci8.c:4272: (Each undeclared identifier is reported o nly once /export/home/dan/php-4.3.1/ext/oci8/oci8.c:4272: for each function it appears in.) make: *** [ext/oci8/oci8.lo] Error 1 Any help is much appreciated. -Dan

« previous php.general (#143360) next »