php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3766 configure doesn't allow for the Oracle N32 client SDK to be used
Submitted: 2000-03-08 09:50 UTC Modified: 2005-03-31 16:13 UTC
From: jpv at cwi dot nl Assigned:
Status: Wont fix Package: Compile Failure
PHP Version: 3.0.15 OS: SGI IRIX64 6.5.4/5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
17 + 1 = ?
Subscribe to this entry?

 
 [2000-03-08 09:50 UTC] jpv at cwi dot nl
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>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-31 16:13 UTC] php-bugs at lists dot php dot net
We are sorry, but we do not support PHP 3 related problems anymore.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 14:01:30 2024 UTC