Bug #3766: configure doesn't allow for the Oracle N32 client SDK to be used

From: Date: Wed, 08 Mar 2000 14:50:24 +0000
Subject: Bug #3766: configure doesn't allow for the Oracle N32 client SDK to be used
Groups: php.dev 
Request: Send a blank email to php-dev+get-16538@lists.php.net to get a copy of this message
From: jpv@cwi.nl Operating system: SGI IRIX64 6.5.4/5 PHP version: 3.0.15 PHP Bug Type: Compile Failure Bug description: configure doesn't allow for the Oracle N32 client SDK to be used 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>

« previous php.dev (#16538) next »