From:             jsalim at omnifax dot xerox dot com
Operating system: Suse EL 9.0
PHP version:      4.3.9
PHP Bug Type:     Compile Failure
Bug description:  failed while running make 
"/tmp/php-4.3.9/ext/oracle/php_oracle.h:23:20: ocidfn

Description:
------------
I have installed apache2 version 2.052. I began to install php source
version 4.3.9. I can run the configure script with either of the
following:

./configure --with-oci8=/home/oracle/OraHome1
--with-apxs2=/usr/local/apache2/bin/apxs --enable-sigchild
--enable-module=so --without-mysql



or

/configure --with-apxs2=/usr/local/apache2/bin/apxs --enable-module=so
--with-oracle=/home/oracle/OraHome1 --enable-trans-sid
--enable-sysvshm=yes --enable-sysvsem=yes --without-mysql

They finish succefully, it is the make that fails.
There doesn't seem to be a oci.h file with the second configure make. The
first configure make is missing two
files.

In file included from /tmp/php-.3.9/ext/oracle/oracle.c:40:
/tmp/php-4.3.9/ext/oracle/php_oracle.h:23:20: ocidfn.h: No such file or
directory
/tmp/php-4.3.9/ext/oracle/php_oracle.h:24:20: ociapr.h: No such file or
directory



Actual result:
--------------
 make
/bin/sh /tmp/php-4.3.9/libtool --silent --preserve-dup-deps --mode=compile
gcc  -Iext/oracle/ -I/tmp/php-4.3.9/ext/oracle/ -DPHP_ATOM_INC
-I/tmp/php-4.3.9/include -I/tmp/php-4.3.9/main -I/tmp/php-4.3.9
-I/tmp/php-4.3.9/Zend -I/home/oracle/OraHome1/rdbms/demo
-I/tmp/php-4.3.9/ext/xml/expat  -I/tmp/php-4.3.9/TSRM  -g -O2  -prefer-pic
-c /tmp/php-4.3.9/ext/oracle/oracle.c -o ext/oracle/oracle.lo 
In file included from /tmp/php-4.3.9/ext/oracle/oracle.c:40:
/tmp/php-4.3.9/ext/oracle/php_oracle.h:23:20: ocidfn.h: No such file or
directory
/tmp/php-4.3.9/ext/oracle/php_oracle.h:24:20: ociapr.h: No such file or
directory
In file included from /tmp/php-4.3.9/ext/oracle/oracle.c:40:
/tmp/php-4.3.9/ext/oracle/php_oracle.h:69: error: parse error before
"Lda_Def"
/tmp/php-4.3.9/ext/oracle/php_oracle.h:69: warning: no semicolon at end of
struct or union
/tmp/php-4.3.9/ext/oracle/php_oracle.h:71: error: parse error before '}'
token
/tmp/php-4.3.9/ext/oracle/php_oracle.h:71: warning: data definition has no
type or storage class
/tmp/php-4.3.9/ext/oracle/php_oracle.h:96: error: parse error before
"Cda_Def"
/tmp/php-4.3.9/ext/oracle/php_oracle.h:96: warning: no semicolon at end of
struct or union
/tmp/php-4.3.9/ext/oracle/php_oracle.h:103: error: parse error before '*'
token
/tmp/php-4.3.9/ext/oracle/php_oracle.h:103: warning: data definition has
no type or storage class
/tmp/php-4.3.9/ext/oracle/php_oracle.h:105: error: parse error before '}'
token
/tmp/php-4.3.9/ext/oracle/php_oracle.h:105: warning: data definition has
no type or storage class


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

Reply via email to