#18862 [Bgs]: Compiling PHP 4.2.2 --with-oci8 (Oracle 9i) fails

From: Date: Mon, 12 Aug 2002 17:00:08 +0000
Subject: #18862 [Bgs]: Compiling PHP 4.2.2 --with-oci8 (Oracle 9i) fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16549@lists.php.net to get a copy of this message
ID: 18862 User updated by: ronen@greyzone.com Reported By: ronen@greyzone.com Status: Bogus Bug Type: Compile Failure Operating System: RedHat Linux 7.3 PHP Version: 4.2.2 New Comment: Thanks for the feedback, I'll try recompiling after I install the development tools. Previous Comments: ------------------------------------------------------------------------ [2002-08-12 04:03:24] edink@php.net You need to install oracle client development tools as well. ------------------------------------------------------------------------ [2002-08-11 19:53:50] ronen@greyzone.com Hi, I'm trying to compile PHP 4.2.2 on RedHat Linux 7.3 with Oracle9i client libraries (Admin install). My configuration parameters are as follow: ./configure --with-oci8 --with-apache=../apache_1.3.26 Configuration does not raise any errors. Before I ran 'make' I checked that ORACLE_HOME and ORACLE_OWNER are set correctly. This is the error message I get: gcc -I. -I/u1/TARBALLS/php-4.2.2/main -I/u1/TARBALLS/php- 4.2.2/main -I/u1/TARBALLS/php-4.2.2 -I/u1/TARBALLS/ apache_1.3.26/src/include -I/u1/TARBALLS/apache_1.3.26/src/ os/unix -I/u1/TARBALLS/php-4.2.2/Zend -I/u1/TARBALLS/php- 4.2.2/ext/mysql/libmysql -I/u2/oracle/OraHome1/rdbms/demo - I/u1/TARBALLS/php-4.2.2/ext/xml/expat -I/u1/TARBALLS/php- 4.2.2/TSRM -g -O2 -c internal_functions.c && touch internal_functions.lo In file included from internal_functions.c:34: /u1/TARBALLS/php-4.2.2/ext/oci8/php_oci8.h:52:17: oci.h: No such file or directory make[2]: *** [internal_functions.lo] Error 1 make[2]: Leaving directory `/u1/TARBALLS/php-4.2.2/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/u1/TARBALLS/php-4.2.2/main' make: *** [all-recursive] Error 1 I rebuilt my slocate database then looked for the file oci.h - it doesn't exist anywhere. Ronen. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18862&edit=1

« previous php.bugs (#16549) next »