#41563 [Opn->WFx]: compile failure in oci8_lob.c:304 OCI_NLS_CHARSET_MAXBYTESZ undeclared
| From: | tony2001@php.net | Date: | Mon, 04 Jun 2007 08:36:55 +0000 |
| Subject: | #41563 [Opn->WFx]: compile failure in oci8_lob.c:304 OCI_NLS_CHARSET_MAXBYTESZ undeclared | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-113325@lists.php.net to get a copy of this message | ||
ID: 41563
Updated by: tony2001@php.net
Reported By: hdixon at deltabravo dot com
-Status: Open
+Status: Wont fix
Bug Type: OCI8 related
Operating System: Solaris 9
PHP Version: 5.2.3
New Comment:
Sorry, we don't support Oracle 8 anymore.
Previous Comments:
------------------------------------------------------------------------
[2007-06-01 16:00:22] hdixon at deltabravo dot com
Description:
------------
make fails when attempted (with oci8 enabled) against Oracle 8i
libraries.
Reproduce code:
---------------
./configure --prefix=/usr/local/php5
--with-oracle=/data/oracle/oracle8i/app/oracle/product/8i
--with-oci8=/data/oracle/oracle8i/app/oracle/product/8i --with-xml
--with-apxs2=/data//apache_2.2.4/bin/apxs --with-openssl=/usr/local/ssl
--with-ldap=/usr/local/openldap --with-mysql=/usr/local/mysql5
--enable-sockets --with-imap=../imap-2004g
--with-mysqli=/usr/local/mysql5/bin/mysql_config
Expected result:
----------------
successful make ..
Actual result:
--------------
Last lines of make output before stop:
/bin/sh /usr/local/src/php-5.2.3/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/oci8/ -I/usr/local/src/php-5.2.3/ext/oci8/
-DPHP_ATOM_INC -I/usr/local/src/php-5.2.3/include
-I/usr/local/src/php-5.2.3/main -I/usr/local/src/php-5.2.3
-I/usr/local/include/libxml2 -I/usr/local/ssl/include
-I/usr/local/src/php-5.2.3/ext/date/lib
-I/usr/local/src/imap-2004g/c-client -I/usr/local/openldap/include
-I/usr/local/mysql5/include/mysql
-I/data/oracle/oracle8i/app/oracle/product/8i/rdbms/public
-I/data/oracle/oracle8i/app/oracle/product/8i/rdbms/demo
-I/usr/local/src/php-5.2.3/TSRM -I/usr/local/src/php-5.2.3/Zend
-D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include -g -O2 -c
/usr/local/src/php-5.2.3/ext/oci8/oci8_lob.c -o ext/oci8/oci8_lob.lo
/usr/local/src/php-5.2.3/ext/oci8/oci8_lob.c: In function
`php_oci_lob_read':
/usr/local/src/php-5.2.3/ext/oci8/oci8_lob.c:304: error:
`OCI_NLS_CHARSET_MAXBYTESZ' undeclared (first use in this function)
/usr/local/src/php-5.2.3/ext/oci8/oci8_lob.c:304: error: (Each
undeclared identifier is reported only once
/usr/local/src/php-5.2.3/ext/oci8/oci8_lob.c:304: error: for each
function it appears in.)
make: *** [ext/oci8/oci8_lob.lo] Error 1
see
http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2007-May/120308.html
for example of it being fixed ...
see
http://bugs.php.net/41348 for an unhelpful suggestion on how
to solve
it (that was against 5.2.2, I've hit the same in 5.2.3). I *cannot*
just upgrade Oracle on this box to get php to compile.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41563&edit=1