On Thu, Feb 12, 2004, Julien TOUCHE wrote:
few comments on an apache setup with current/solaris9 (php part)
- oci8 support [...] checking Oracle version... configure: error: Oracle-OCI8 needed libraries not found [...] and php*.src.rpm compiles fine with oci8 $ rpm -qi php|grep oci php::with_oci7 = no php::with_oci8 = yes
Hmmm... I've installed "apache" with "oracle-barebone" (i.e. OCI8 support) just a last week on a Solaris 9 box. Can you dig deeper (look into file config.log) why it does not find the OCI8 libs.
there is nothing more than what i show in the first mail (that's very strange)
(oracle-*.rpm is installed)
Ah, you using "oracle" only and you have an own Oracle installation or are you using "oracle" together with "oracle-barebone"? I've only tried it with "oracle-barebone" recently and never with a regular installation myself.
bash-2.05$ rpm --rebuild
/tmp/openpkg/rep/current/SRC/oracle-barebone-9.2.0.1-20040205.nosrc.rpm
Installing
/tmp/openpkg/rep/current/SRC/oracle-barebone-9.2.0.1-20040205.nosrc.rpm
Executing(%prep): env -i /home/www-test/local/lib/openpkg/bash --norc
--noprofile --posix -e /home/www-test/local/RPM/TMP/rpm-tmp.31503
+ cd /home/www-test/local/RPM/TMP
+
$'\a\r+----------------------------------Error--------------------------------------+'
+----------------------------------Error--------------------------------------+:
command not found error: Bad exit status from /home/www-test/local/RPM/TMP/rpm-tmp.31503 (%prep)
RPM build errors: Bad exit status from /home/www-test/local/RPM/TMP/rpm-tmp.31503 (%prep)
when building apache with php/oci8 (only), stop:
checking for ncurses support... no
checking for Oracle-OCI8 support... yes
checking Oracle Install-Dir... /exlibris/app/oracle/product/817
checking Oracle version... configure: error: Oracle-OCI8 needed libraries not found
+ /home/www-test/local/bin/make --no-print-directory
make: *** No targets specified and no makefile found. Stop.
+ /home/www-test/local/bin/make --no-print-directory install INSTALL_ROOT=/home/www-test/local/RPM/TMP/apache-1.3.29-root
make: *** No rule to make target `install'. Stop.
+ exit 2
error: Bad exit status from /home/www-test/local/RPM/TMP/rpm-tmp.7010 (%build)
and ../../TMP/apache-1.3.29/php-4.3.4/config.log 1028 configure:55957: checking for ncurses support 1029 configure:56923: checking for Oracle-OCI8 support 1030 configure:56968: checking Oracle Install-Dir 1031 configure:57263: checking Oracle version EOF
& nothing more :(
~/local/etc/rc oracle info returns the good path.
Regards
Julien
note: solaris 9
______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]
