| Miguel Lopes 2004-07-26, 8:57 am |
| Got the same erro
these were all the steps.
I have 9ias working.
I ran these comands as oracle9
----------
PATH_ORIGINAL=$PATH; export PATH_ORIGINAL
ORACLE_BASE=/opt/oracle; export ORACLE_BASE
ORACLE_HOME=/opt/oracle/product/9.0.2; export ORACLE_HOME
ORACLE_SID=iasdb; export ORACLE_SID
NLS_LANG=AMERICAN; export NLS_LANG
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data; export ORA_NLS33
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib; export
LD_LIBRARY_PATH
export PATH=$PATH:$ORACLE_HOME/bin
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib; export CLASSPATH
DISPLAY=webgsp:0.0; export DISPLAY
-------------
than I ran these
---------------
export ORACLE_HOME=/opt/oracle/product/9.0.2/
export
PERL5LIB=$ORACLE_HOME/perl/lib/5.6.1:$ORACLE_HOME/perl/lib/site_perl/5.6.1
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
cd $ORACLE_HOME/Apache/Apache/bin
edit apxs
Find CFG_INCLUDEDIR and replace by "
q(/opt/oracle/product/9.0.2/Apache/Apache/include);"
---------
cd ~php4.3.6 ( i'm using the latest stable version)
then I did this..
../configure --with-apxs=$ORACLE_HOME/Apache/Apache/bin/apxs --prefix=$ORACLE
_HOME --with-config-file-path=$ORACLE_HOME/Apache/Apache/conf
no erro
I ran make
got these erros
-----
/bin/sh
/home/oracle9/Documents/php-4.3.6/libtool --silent --preserve-dup-deps --mod
e=compile
gcc -IZend/ -I/home/oracle9/Documents/php-4.3.6/Zend/ -DPHP_ATOM_INC -I/hom
e/oracle9/Documents/php-4.3.6/include -I/home/oracle9/Documents/php-4.3.6/ma
in -I/home/oracle9/Documents/php-4.3.6 -I/home/oracle9/Documents/php-4.3.6/Z
end -I/home/oracle9/Documents/php-4.3.6/ext/xml/expat -I/home/oracle9/Docum
ents/php-4.3.6/TSRM -g -O2 -prefer-pic -c
/home/oracle9/Documents/php-4.3.6/Zend/zend_execute.c -o
Zend/zend_execute.lo
/bin/sh
/home/oracle9/Documents/php-4.3.6/libtool --silent --preserve-dup-deps --mod
e=compile
gcc -DLINUX=260 -DMOD_SSL=206104 -DMOD_PERL -DUSE_PERL_SSI -DEAPI -DUSE_EXP
AT -I/opt/oracle/product/9.0.2/Apache/Apache/include -Isapi/apache/ -I/home/
oracle9/Documents/php-4.3.6/sapi/apache/ -DPHP_ATOM_INC -I/home/oracle9/Docu
ments/php-4.3.6/include -I/home/oracle9/Documents/php-4.3.6/main -I/home/ora
cle9/Documents/php-4.3.6 -I/home/oracle9/Documents/php-4.3.6/Zend -I/home/or
acle9/Documents/php-4.3.6/ext/xml/expat -I/home/oracle9/Documents/php-4.3.6
/TSRM -g -O2 -prefer-pic -c
/home/oracle9/Documents/php-4.3.6/sapi/apache/sapi_apache.c -o
sapi/apache/sapi_apache.lo
In file included from
/home/oracle9/Documents/php-4.3.6/sapi/apache/php_apache_http.h:22,
from
/home/oracle9/Documents/php-4.3.6/sapi/apache/sapi_apache.c:24:
/opt/oracle/product/9.0.2/Apache/Apache/include/httpd.h:483:
ap_oracle_version.h: No such file or directory
In file included from
/home/oracle9/Documents/php-4.3.6/sapi/apache/php_apache_http.h:37,
from
/home/oracle9/Documents/php-4.3.6/sapi/apache/sapi_apache.c:24:
/opt/oracle/product/9.0.2/Apache/Apache/include/http_log.h:62:
http_oralog.h: No such file or directory
make: *** [sapi/apache/sapi_apache.lo] Error 1
---
what am I still doing wrong do I have to update something ..
Any sugestions will be useful..
Miguel Lopes
----- Original Message -----
From: "Gerard H. Pille" <g.h.p@skynet.be>
To: <miguel_3011@sapo.pt>
Sent: Monday, July 19, 2004 5:37 PM
Subject: Re: installing PHP on oracle 9ias release 2
> edit apxs
> Find CFG_INCLUDEDIR and replace q($ORACLE_HOME/Apache/Apache/include);
>
> you should replace the $ORACLE_HOME by the literal "/home/oracle9" ?
> --
>
> Gerard H. Pille
>
>
|