|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-03-31 16:13 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 03:00:02 2025 UTC |
I've compiled PHP + Apache + Mod_SSL previously without Oracle support ( -n32 targets with SGI's CC compiler.) Now I want to include Oracle support by using the -n32 libraries from the: Oracle N32 Client Development Kit (Release 8.0.5 for Silicon Graphics IRIX) we run Oracle 8i 8.0.5 or higher with 64bit binaries and libraries. But since apache+ssl+php aren't 64-bit clean I compiled them explicitly with 'cc -n32'... I configure PHP for use with Oracle: /usr/local/jpv/php-3.0.15 $ CC="cc -n32 -O2 -KPIC" CXX=$CC ./configure \ --with-apxs=/usr/local/jpv/inst/apache/bin/apxs \ --with-mysql=/usr/local/jpv/inst/mysql \ --with-config-file=/usr/local/jpv/inst/apache/conf \ --with-xml \ --with-oracle=/usr/local/jpv/sgi_n32_oracle_client_toolkit \ 2>&1 | tee configure-`date +%Y%m%d-%H%M%S`.log Problem now is that the configure script is build to expect that the Oracle 'libclient.a' is in $ORACLEINST_TOP/lib ... With the N32 SDK the're in $ORACLEINST_TOP/lib32 and the include files are in $ORACLEINST_TOP/oci/include I think that adding the option to explicitly name the library *and* include directory would help in the configure process... (the N32 SDK cannot be installed in the $ORACLE_HOME directory ! it would overwrite all the 64bit libs...) Greetings, J.-Ph. Velders <jpv@cwi.nl>