ID:               21795
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Open
 Bug Type:         OCI8 related
 Operating System: Redhat 7.1
 PHP Version:      4.3.0
 New Comment:

Oracle8i Enterprise Edition Release 8.1.5.0.0 - Production
With the Partitioning and Java options
PL/SQL Release 8.1.5.0.0 - Production


Previous Comments:
------------------------------------------------------------------------

[2003-01-23 10:34:09] [EMAIL PROTECTED]

And the used Oracle version here is?


------------------------------------------------------------------------

[2003-01-21 08:37:57] [EMAIL PROTECTED]

When building php4.3.0 with option --with-oci8 I get the following
error message when running 'make'

/bin/sh libtool --silent --mode=compile gcc  -Iext/oci8/
-I/usr/src/php-4.3.0/ext/oci8/ -DPHP_ATOM_INC
-I/usr/src/php-4.3.0/include -I/usr/src/php-4.3.0/main
-I/usr/src/php-4.3.0 -I/usr/src/php-4.3.0/Zend
-I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/oracle/rdbms/demo -I/usr/oracle/network/public
-I/usr/oracle/plsql/public -I/usr/src/php-4.3.0/ext/xml/expat 
-DLINUX=22 -DEAPI -DEAPI_MM -DEAPI_MM_CORE_PATH=/var/run/httpd.mm
-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:4266: `OCI_ATTR_STATEMENT'
undeclared (first use in this function)
/usr/src/php-4.3.0/ext/oci8/oci8.c:4266: (Each undeclared identifier is
reported only once
/usr/src/php-4.3.0/ext/oci8/oci8.c:4266: for each function it appears
in.)
make: *** [ext/oci8/oci8.lo] Error 1

PHP 4.2.3 works fine with the same configure options.

(./configure --prefix=/usr --with-config-file-path=/etc --enable-pic
--enable-shared --enable-inline-optimization --with-apxs=/usr/sbin/apxs
--with-exec-dir=/usr/bin --with-regex=system --with-gettext --with-gd
--with-jpeg=/usr --with-png --with-zlib --with-gdbm --enable-debugger
--enable-magic-quotes --enable-safe-mode --enable-sockets
--enable-sysvsem --enable-sysvshm --enable-track-vars --enable-yp
--enable-ftp --enable-wddx --with-mysql --with-oci8 --with-xml
--enable-sigchild --with-ldap --with-expat --enable-xslt
--with-xslt-sablot --with-dom --with-pear)

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=21795&edit=1

Reply via email to