php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31075 failed while running make "/tmp/php-4.3.9/ext/oracle/php_oracle.h:23:20: ocidfn
Submitted: 2004-12-13 21:35 UTC Modified: 2004-12-13 22:20 UTC
From: jsalim at omnifax dot xerox dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.9 OS: Suse EL 9.0
Private report: No CVE-ID: None
 [2004-12-13 21:35 UTC] jsalim at omnifax dot xerox dot com
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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-13 22:22 UTC] sniper@php.net
You're obviously doing something really wrong. Do NOT use the --with-oracle option, just use --with-oci8. 

Try deleting config.cache and run the configure line again.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 17 13:01:27 2024 UTC