php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41563 compile failure in oci8_lob.c:304 OCI_NLS_CHARSET_MAXBYTESZ undeclared
Submitted: 2007-06-01 16:00 UTC Modified: 2007-06-04 08:36 UTC
Votes:10
Avg. Score:4.5 ± 0.7
Reproduced:9 of 9 (100.0%)
Same Version:4 (44.4%)
Same OS:3 (33.3%)
From: hdixon at deltabravo dot com Assigned:
Status: Wont fix Package: OCI8 related
PHP Version: 5.2.3 OS: Solaris 9
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: hdixon at deltabravo dot com
New email:
PHP Version: OS:

 

 [2007-06-01 16:00 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-06-04 08:36 UTC] tony2001@php.net
Sorry, we don't support Oracle 8 anymore.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Oct 05 18:05:54 2022 UTC