From:             sn4265 at att dot com
Operating system: HPUX 11.11
PHP version:      5.1.6
PHP Bug Type:     Compile Failure
Bug description:  OCI8 failure...

Description:
------------
I am attempting to build a working version of Apache 2.0.59 with PHP
5.1.6.  I am doing this under HPUX 11.11, and have sucessfully built
Apache, and PHP without OCI8 support.  The problem is when I attempt to
include OCI8 support either in the PHP build directly or by attempting to
build the oci8-1.2.2 package after the fact.

Here is the attempt buildint OCI8 after the fact.  The error is identical
when attempting to build PHP with OCI8 support too.

Reproduce code:
---------------
[EMAIL PROTECTED]:/www/tmp/oci8-1.2.2> phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20050922
Zend Extension Api No:   220051025
[EMAIL PROTECTED]:/www/tmp/oci8-1.2.2> ./configure
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes

[EMAIL PROTECTED]:/www/tmp/oci8-1.2.2> make
        /usr/bin/posix/sh /www/tmp/oci8-1.2.2/libtool --mode=compile gcc 
-I. -I/www/tmp/oci8-1.2.2 -DPHP_ATOM_INC -I/www/tmp/oci8-1.2.2/include
-I/www/tmp/oci8-1.2.2/main -I/www/tmp/oci8-1.2.2 -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM
-I/usr/local/include/php/Zend -I/usr/local/include/php/ext
-I/usr/local/oracle/8.0.6.3/rdbms/demo
-I/usr/local/oracle/8.0.6.3/network/public  -DHAVE_CONFIG_H  -g -O2   -c
/www/tmp/oci8-1.2.2/oci8.c -o oci8.lo
mkdir .libs
 gcc -I. -I/www/tmp/oci8-1.2.2 -DPHP_ATOM_INC
-I/www/tmp/oci8-1.2.2/include -I/www/tmp/oci8-1.2.2/main
-I/www/tmp/oci8-1.2.2 -I/usr/local/include/php
-I/usr/local/include/php/main -I/usr/local/include/php/TSRM
-I/usr/local/include/php/Zend -I/usr/local/include/php/ext
-I/usr/local/oracle/8.0.6.3/rdbms/demo
-I/usr/local/oracle/8.0.6.3/network/public -DHAVE_CONFIG_H -g -O2 -c
/www/tmp/oci8-1.2.2/oci8.c  -fPIC -DPIC -o .libs/oci8.o
/www/tmp/oci8-1.2.2/oci8.c: In function `php_oci_connection_status':
/www/tmp/oci8-1.2.2/oci8.c:1429: error: `OCI_ATTR_SERVER_STATUS'
undeclared (first use in this function)
/www/tmp/oci8-1.2.2/oci8.c:1429: error: (Each undeclared identifier is
reported only once
/www/tmp/oci8-1.2.2/oci8.c:1429: error: for each function it appears in.)
/www/tmp/oci8-1.2.2/oci8.c:1431: error: `OCI_SERVER_NORMAL' undeclared
(first use in this function)
*** Error exit code 1

Stop.


Expected result:
----------------
Return a sucessful build.

Actual result:
--------------
/www/tmp/oci8-1.2.2/oci8.c: In function `php_oci_connection_status':
/www/tmp/oci8-1.2.2/oci8.c:1429: error: `OCI_ATTR_SERVER_STATUS'
undeclared (first use in this function)
/www/tmp/oci8-1.2.2/oci8.c:1429: error: (Each undeclared identifier is
reported only once
/www/tmp/oci8-1.2.2/oci8.c:1429: error: for each function it appears in.)
/www/tmp/oci8-1.2.2/oci8.c:1431: error: `OCI_SERVER_NORMAL' undeclared
(first use in this function)
*** Error exit code 1

Stop.


-- 
Edit bug report at http://bugs.php.net/?id=38960&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=38960&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=38960&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=38960&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=38960&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=38960&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=38960&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=38960&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=38960&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=38960&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=38960&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=38960&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=38960&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=38960&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=38960&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=38960&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=38960&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=38960&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=38960&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=38960&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=38960&r=mysqlcfg

Reply via email to