php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58065 Install with db2_connect V9.5 enterprise
Submitted: 2008-02-26 15:31 UTC Modified: 2008-06-02 10:49 UTC
From: patrick dot mayrand at fadq dot qc dot ca Assigned:
Status: Closed Package: ibm_db2 (PECL)
PHP Version: 5.2.0 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: patrick dot mayrand at fadq dot qc dot ca
New email:
PHP Version: OS:

 

 [2008-02-26 15:31 UTC] patrick dot mayrand at fadq dot qc dot ca
Description:
------------
hi,

Db2 database = iSeries
Php server = linux with db2_connect V9.5 enterprise

In the documentation:
To connect to IBM DB2 Universal Database for z/OS or iSeries, you also require IBM DB2 Connect or the equivalent DRDA gateway software.

but when i do:

pecl install ibm_db2

i obtain a error for include files. In db2_connect, i have not include directory.

thanks

regards,



Reproduce code:
---------------
checking for IBM_DB2 support... yes, shared
checking Looking for DB2 CLI libraries... checking      in /opt/ibm/db2/V9.5/...
checking      in /opt/ibm/db2/V9.5//lib64...
checking      in /opt/ibm/db2/V9.5//lib32... found
checking for DB2 CLI include files in default path... checking in /opt/ibm/db2/V9.5/... not found
configure: error: Please reinstall the DB2 CLI distribution
ERROR: `/tmp/pear/cache/ibm_db2-1.6.5/configure --with-IBM_DB2=/opt/ibm/db2/V9.5/' failed



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-03-06 12:37 UTC] patrick dot mayrand at fadq dot qc dot ca
I have find my answer
 [2008-03-16 10:21 UTC] robert dot prokopczuk at wp dot pl
I faced with the same problem. What is a solution?
 [2008-03-17 08:29 UTC] patrick dot mayrand at fadq dot qc dot ca
In the setup of db2 connect server use the personalize option
you will obtain a directory include.
 [2008-06-02 08:03 UTC] robert dot prokopczuk at wp dot pl
How can I do it?
 [2008-06-02 08:58 UTC] robert dot prokopczuk at wp dot pl
I try:

phpize
./configure

and get:

checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc and cc understand -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib/php/modules
checking for PHP installed headers prefix... /usr/include/php
checking for re2c... re2c
checking for re2c version... 0.12.3 (ok)
checking for gawk... gawk
checking for IBM_DB2 support... yes, shared
checking Looking for DB2 CLI libraries... checking      in yes... 
checking      in yes/lib64... 
checking      in yes/lib32... 
checking      in yes/lib... 
not found
configure: error: Please reinstall the DB2 CLI distribution
 [2008-06-02 09:02 UTC] robert dot prokopczuk at wp dot pl
[root@localhost ibm_db2-1.6.5]# ./configure --with-IBM_DB2=/opt/ibm/db2/V9.5
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc and cc understand -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib/php/modules
checking for PHP installed headers prefix... /usr/include/php
checking for re2c... re2c
checking for re2c version... 0.12.3 (ok)
checking for gawk... gawk
checking for IBM_DB2 support... yes, shared
checking Looking for DB2 CLI libraries... checking      in /opt/ibm/db2/V9.5... 
checking      in /opt/ibm/db2/V9.5/lib64... 
checking      in /opt/ibm/db2/V9.5/lib32... found
checking for DB2 CLI include files in default path... checking in /opt/ibm/db2/V9.5... not found
configure: error: Please reinstall the DB2 CLI distribution
 [2008-06-02 10:49 UTC] patrick dot mayrand at fadq dot qc dot ca
In the setup of DB2 CONNECT SERVER not ibm_db2 modules use the personalize option
you will obtain a directory include.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Dec 14 10:01:23 2019 UTC