#25588 [NEW]: Make failure with OCI8 for Oracle support
| From: | russell dot edwards at cplaromas dot com | Date: | Thu, 18 Sep 2003 14:04:51 +0000 |
| Subject: | #25588 [NEW]: Make failure with OCI8 for Oracle support | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-47776@lists.php.net to get a copy of this message | ||
From: russell dot edwards at cplaromas dot com
Operating system: RedHat 9
PHP version: 4.3.3
PHP Bug Type: OCI8 related
Bug description: Make failure with OCI8 for Oracle support
Description:
------------
Hi,
I am trying to install PHP 4.3.3 with Oracle support so that I can connect
to an Oracle database running on another server.
The configure script runs successfully:
./configure --with-oci8 --with-oracle --with-mysql=/usr/local/mysql
--with-apxs2=/usr/local/apache/bin/apxs --enable-sigchild
however, when I run the make command it terminates with the following
error:
make: *** [ext/oci8/oci8.lo] Error 1
I have installed the Oracle client (version 9.2.0.1.0). Using the Oracle
Net Configuration Assistant I can successfully connect to my database.
PHP will make, install and run successfully if I only install with with
apache and MySQL support but when I add oracle the make falls over.
The problem I have is just getting PHP to compile with Oracle support. Is
there a known fix to this problem that I'm missing or am I doing something
fundamentally stupid? :-)
Many Thanks,
Russ
Actual result:
--------------
The actual result is massive, so I have just included a sample below but
can forward the full result if necessary.
[root@dev2bh php-4.3.3]# make
/bin/sh /home/redwards/php-4.3.3/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/oci8/ -I/home/redwards/php-4.3.3/ext/oci8/
-DPHP_ATOM_INC -I/home/redwards/php-4.3.3/include
-I/home/redwards/php-4.3.3/main -I/home/redwards/php-4.3.3
-I/home/redwards/php-4.3.3/Zend -I/usr/local/mysql/include/mysql
-I/home/oracle/product/9.2.0.1.0/rdbms/demo
-I/home/redwards/php-4.3.3/ext/xml/expat -I/home/redwards/php-4.3.3/TSRM
-g -O2 -prefer-pic -c /home/redwards/php-4.3.3/ext/oci8/oci8.c -o
ext/oci8/oci8.lo
In file included from /home/redwards/php-4.3.3/ext/oci8/oci8.c:69:
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:52:17: oci.h: No such file or
directory
In file included from /home/redwards/php-4.3.3/ext/oci8/oci8.c:69:
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:59: parse error before
"OCIServer"
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:59: warning: no semicolon at
end of struct or union
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:63: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:71: parse error before
"oci_server"
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:71: warning: no semicolon at
end of struct or union
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:72: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:73: parse error before '*'
token
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:73: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:74: parse error before
"charsetId"
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:74: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:75: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:80: parse error before
"oci_session"
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:80: warning: no semicolon at
end of struct or union
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:81: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:82: parse error before
"error"
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:82: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:83: parse error before '*'
token
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:83: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:85: parse error before '}'
token
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:85: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:89: parse error before
"oci_connection"
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:89: warning: no semicolon at
end of struct or union
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:90: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:91: parse error before
"type"
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:91: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:92: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:96: parse error before
"oci_connection"
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:96: warning: no semicolon at
end of struct or union
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:97: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:98: parse error before
"coll_typecode"
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:98: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:99: parse error before '*'
token
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:99: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:100: parse error before '*'
token
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:100: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:101: parse error before
"element_typecode"
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:101: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:102: parse error before '*'
token
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:102: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:103: parse error before '}'
token
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:103: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:107: parse error before
"text"
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:107: warning: no semicolon at
end of struct or union
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:108: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:109: parse error before
"type"
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:109: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:110: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:114: parse error before
"oci_connection"
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:114: warning: no semicolon at
end of struct or union
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:115: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:116: parse error before '*'
token
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:116: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:117: parse error before '*'
token
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:117: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:125: parse error before
"stmttype"
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:125: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:126: warning: data definition
has no type or storage class
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:129: parse error before
"OCIBind"
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:129: warning: no semicolon at
end of struct or union
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:130: `zval' redeclared as
different kind of symbol
/home/redwards/php-4.3.3/Zend/zend.h:211: previous declaration of `zval'
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:131: parse error before '*'
token
/home/redwards/php-4.3.3/ext/oci8/php_oci8.h:131: warning: data definition
has no type or storage class
--
Edit bug report at http://bugs.php.net/?id=25588&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25588&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25588&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25588&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25588&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25588&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25588&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25588&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25588&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25588&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25588&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25588&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25588&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25588&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25588&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25588&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25588&r=float