Building PHP w/ Oracle woes...

WH Micro <[email protected]>
Newsgroups gmane.comp.db.oracle.devel
Message-ID <LYRIS-1796914-813301-2002.12.27-17.37.17--gcdod-oracle#[email protected]>
Hello:

I am trying to build PHP with Oracle 8i support and
I've come to a dead end. I've done some research and
can't really find much information on it. I would
apreciate if you can help solve this problem.

I have Apache, Oracle 8i Client, and MySQL on a Debian
3.0 box.

This is how I configured it:

./configure -v  --with-apxs=/usr/apache/bin/apxs
--enable-track-vars --with-oci8=/usr/oracle
--with-mysql --enable-sigchild
--with-config-file-path=/etc/php

I also tried the --with-oracle=/usr/oracle option and
I get the same error when trying to make PHP:

debian:~/build/php-4.2.3# make
Making all in Zend
make[1]: Entering directory
`/root/build/php-4.2.3/Zend'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory
`/root/build/php-4.2.3/Zend'
Making all in main
make[1]: Entering directory
`/root/build/php-4.2.3/main'
make[2]: Entering directory
`/root/build/php-4.2.3/main'
/bin/sh /root/build/php-4.2.3/libtool --silent
--mode=compile gcc  -I. -I/root/build/php-4.2.3/main
-I/root/build/php-4.2.3/main -I/root/build/php-4.2.3
-I/usr/apache/include -I/root/build/php-4.2.3/Zend
-I/root/build/php-4.2.3/ext/mysql/libmysql
-I/usr/oracle/rdbms/demo
-I/root/build/php-4.2.3/ext/xml/expat  -DLINUX=22
-DDEV_RANDOM=/dev/random -DUSE_HSREGEX -DUSE_EXPAT
-I/root/build/php-4.2.3/TSRM -g -O2 -prefer-pic  -c
internal_functions.c
In file included from internal_functions.c:34:
/root/build/php-4.2.3/ext/oci8/php_oci8.h:52: oci.h:
No such file or directory
make[2]: *** [internal_functions.lo] Error 1
make[2]: Leaving directory
`/root/build/php-4.2.3/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/root/build/php-4.2.3/main'
make: *** [all-recursive] Error 1


If you need more info on this please let me know.

Thanks in advance for all your help.





__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---
Change your mail options at http://p2p.wrox.com/manager.asp or 
to unsubscribe send a blank email to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.