#20715 [Fbk->Opn]: IBM-DB2 don't compile

From: Date: Tue, 04 Mar 2003 16:40:10 +0000
Subject: #20715 [Fbk->Opn]: IBM-DB2 don't compile
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-34786@lists.php.net to get a copy of this message
 ID:               20715
 User updated by:  bruno at cameleons dot net
 Reported By:      bruno at cameleons dot net
-Status:           Feedback
+Status:           Open
 Bug Type:         ODBC related
 Operating System: Linux 2.4.19
 PHP Version:      4.3.1
 New Comment:

Ok, but is unixODBC faster or slower than DBConnect?
The syntaxe is compatible between UnixODBC and DB2connect?
I have 300 scripts PHP using odbc functions.


Previous Comments:
------------------------------------------------------------------------

[2003-03-04 10:30:33] kalowsky@php.net

please try my request

------------------------------------------------------------------------

[2003-03-04 10:24:33] bruno at cameleons dot net

I've tried php4-STABLE-200303041230.tar.gz.
The command env return any CFLAGS and I enter this configure:
./configure --with-ibm-db2=shared,/usr/IBMdb2/V7.1 --disable-all

Bruno

------------------------------------------------------------------------

[2003-03-04 10:19:28] kalowsky@php.net

Try building unixODBC on your machine, and using that as the interface
to DB2.  It is currently the recommended means to connect to DB2 by
IBM.  

Updating version as well.

------------------------------------------------------------------------

[2003-03-04 10:09:51] sniper@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip


And don't sert any CFLAGS or so when you run configure..
(make sure those are not set in your environment either)


------------------------------------------------------------------------

[2003-03-04 10:04:59] bruno at cameleons dot net

After 3 months, I've try again to compile PHP 4.3.1 with Apache 2 and
IBM DB2 support but with no success.
I've tried with PHP 4.3.0, PHP 4.3.1 and PHP latest snapshot.
I've changed the DB2 version: 7.1 > 7.2.
The following configure line failed too:
./configure --with-ibm-db2=shared,/usr/IBMdb2/V7.1

Please Help!

Thanks

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/20715

-- 
Edit this bug report at http://bugs.php.net/?id=20715&edit=1



Thread (13 messages)

« previous php.bugs (#34786) next »