Fwd: Compiling ibm_db2

From: Date: Thu, 06 Oct 2005 16:36:31 +0000
Subject: Fwd: Compiling ibm_db2
References: 1 2 3  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-3065@lists.php.net to get a copy of this message
Okay -- assuming this was bounced by the list because of message length, trying one more time... stripping make output this time around. ---------- Forwarded message ---------- From: Dan Scott <denials@gmail.com> Date: Oct 6, 2005 11:38 AM Subject: Fwd: Compiling ibm_db2 To: "pecl-dev@lists.php.net" <pecl-dev@lists.php.net>, Chris Weyl <chris.weyl@gmail.com> Chris: Apparently my response didn't make it to the news server -- odd that. Forwarding the response to try again... Dan ---------- Forwarded message ---------- From: Dan Scott <denials@gmail.com> Date: Sep 30, 2005 4:57 PM Subject: Re: [PECL-DEV] Compiling ibm_db2 To: pecl-dev@lists.php.net Hi Chris: Good to hear from you. I'll try to help you through this. The minimim requirement is a DB2 client of Version 8.2 or higher, with the application development headers installed. The fact that SQL_ATTR_PING_DB isn't defined tells me that it hasn't found those headers (or that they are from an older version of DB2). http://php.net/ibm_db2 says: *Requirements* To connect to IBM DB2 Universal Database for Linux, UNIX, and Windows, or IBM Cloudscape, or Apache Derby, you must install an IBM DB2 Universal Database client on the same computer on which you are running PHP. The extension has been developed and tested with DB2 Version 8.2. <snip> *Installation* To build the ibm_db2 extension, the DB2 application development header files and libraries must be installed on your system. DB2 does not install these by default, so you may have to return to your DB2 installer and add this option. The header files are included with the DB2 Application Development Client freely available for download from the IBM DB2 Universal Database support site. If you add the DB2 application development header files and libraries to a Linux or Unix operating system on which DB2 was already installed, you must issue the command db2iupdt -e to update the symbolic links to the header files and libraries in your DB2 instances. Dan On 9/30/05, Chris Weyl <chris.weyl@gmail.com> wrote: > Hey all-- > > I'm sure I'm just missing something here, but I can't seem to find any > documentation on the base levels of db2, etc, and other requirements > for compiling ibm_db2. I rather suspect this is something simple I'm > overlooking (or am just not aware needs to be done/installed). > > I'm running a Linux (x86, fedora core 4) with IBM db2 v8.1 application > development client (no fixpacks) installed. PHP is the stock package > (with -devel, etc, all installed): php-5.0.4-10.4 > > Running "pear install ibm_db2" and feeding it the contents of $DB2DIR > (/opt/IBM/db2/V8.1), I get... (complete output follows) >

« previous php.pecl.dev (#3065) next »