#31075 [Opn->Bgs]: failed while running make "/tmp/php-4.3.9/ext/oracle/php_oracle.h:23:20: ocidfn
| From: | sniper@php.net | Date: | Mon, 13 Dec 2004 21:23:06 +0000 |
| Subject: | #31075 [Opn->Bgs]: failed while running make "/tmp/php-4.3.9/ext/oracle/php_oracle.h:23:20: ocidfn | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-70171@lists.php.net to get a copy of this message | ||
ID: 31075
Updated by: sniper@php.net
Reported By: jsalim at omnifax dot xerox dot com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: Suse EL 9.0
PHP Version: 4.3.9
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2004-12-13 21:35:07] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31075&edit=1