ID:               41348
 Updated by:       [EMAIL PROTECTED]
 Reported By:      clement dot demonchy at bsocom dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Debian Linux Sarge
 PHP Version:      5.2.2
 New Comment:

Upgrade to newer Oracle version.


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

[2007-05-10 11:23:12] clement dot demonchy at bsocom dot com

Description:
------------
Hello,

I get a compilation failure when I try to compile php with oci8
support.

The configuration line : 
./configure  --with-apache=../apache_1.3.37
--with-mysql=/usr/local/mysql --enable-track-vars
--enable-inline-optimization --enable-memory-limit --enable-ftp
--with-zlib-dir=/usr --with-zlib --with-gd --with-png-dir=/usr
--with-jpeg-dir=/usr --with-xml --with-gettext --disable-ipv6 --with-ttf
--with-freetype-dir=/usr --with-xml2 --with-libxml2 --with-dom
--with-dom-xslt --with-pspell --with-openssl
--with-oci8=/home/oracle/product/8.1.7
--with-oracle=/home/oracle/product/8.1.7 --enable-sigchild
--with-oci8-instant-client --with-curl

The error message during make : 

/bin/sh /usr/src/php-5.2.2/libtool --silent --preserve-dup-deps
--mode=compile gcc  -Iext/oci8/ -I/usr/src/php-5.2.2/ext/oci8/
-DPHP_ATOM_INC -I/usr/src/php-5.2.2/include -I/usr/src/php-5.2.2/main
-I/usr/src/php-5.2.2 -I/usr/include/libxml2
-I/usr/src/php-5.2.2/ext/date/lib -I/usr/include/freetype2
-I/usr/local/mysql/include -I/home/oracle/product/8.1.7/rdbms/public
-I/home/oracle/product/8.1.7/rdbms/demo -I/usr/include/pspell
-I/usr/src/php-5.2.2/TSRM -I/usr/src/php-5.2.2/Zend    -I/usr/include
-O3  -c /usr/src/php-5.2.2/ext/oci8/oci8_lob.c -o ext/oci8/oci8_lob.lo
/usr/src/php-5.2.2/ext/oci8/oci8_lob.c: In function
`php_oci_lob_read':
/usr/src/php-5.2.2/ext/oci8/oci8_lob.c:304: error:
`OCI_NLS_CHARSET_MAXBYTESZ' undeclared (first use in this function)
/usr/src/php-5.2.2/ext/oci8/oci8_lob.c:304: error: (Each undeclared
identifier is reported only once
/usr/src/php-5.2.2/ext/oci8/oci8_lob.c:304: error: for each function it
appears in.)
make: *** [ext/oci8/oci8_lob.lo] Error 1

I'm currently using oracle version 8.1.7.

Best regards.



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


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

Reply via email to