Fwd: php + db2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok, I've seen something... I'm trying to compile php with db2 support but
also with oracle support using oracle-instantclient.

If I remove the oracle options (with-oci8 and with-pdo-oci), configure
passes the ibm-db2 tests, but using oracle-instantclient + db2 seems to be
problematic...

Anybody?


---------- Forwarded message ----------
From: Javier Ruiz <jruizmail@xxxxxxxxx>
Date: Apr 26, 2007 10:39 AM
Subject: php + db2
To: php-general@xxxxxxxxxxxxx

Hi

I'm trying to install php-5.2.1 using ibm-db2. I made this a couple times
already without any problem, but in this concrete machine I cannot pass the
configure script...

My problem is with the db2 enviroment. Before issuing configure with all the
options, I sourced the db2profile file as always, I checked and I have the
enviromental variables:

# env | grep -i db2
DB2INSTANCE=db2inst2
LD_LIBRARY_PATH=/home/db2inst2/sqllib/lib
LIBPATH=/home/db2inst2/sqllib/lib
PATH=/usr/sbin:/bin:/usr/bin:/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/home/db2inst2/sqllib/bin:/home/db2inst2/sqllib/adm:/home/db2inst2/sqllib/misc

VWSPATH=/home/db2inst2/sqllib
CLASSPATH=/home/db2inst2/sqllib/java/db2java.zip:/home/db2inst2/sqllib/java/db2jcc.jar:/home/db2inst2/sqllib/java/sqlj.zip:/home/db2inst2/sqllib/function:/home/db2inst2/sqllib/java/db2jcc_license_cisuz.jar:/home/db2inst2/sqllib/java/db2jcc_license_cu.jar:.



but after this, when I issue the configure command I still get

...
checking for IBM DB2 support... no
configure: error:
build test failed. Please check the config.log for details.
You need to source your DB2 environment before running PHP configure:
# . $IBM_DB2/db2profile


can anybody help me here please?

TIA!

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux