Re: DBD::DB2 where to get a client library

2006-06-05 Thread Martin J. Evans
Dan,

Thanks for that. We've found FP12_MI00154_RTCL.tar. I have managed to install
this on a brand new installed Redhat 9 (shrike) machine although it did not
include the header files (I presume because it is RTCL - run time client and
not application development client) not a problem since we have them on the
server). However, this client needs glibc 2.3.2 and our target client machine is
a machine built from scratch (not a main distribution), uses libc 2.2.4 and 
doesnot have rpm.

What we have been able to do is:

o download FP1_MI00046_RTCL.tar (which seems to be the oldest one we could find)
o untar it
o ran rpm2cpio on all the rpms it to get the opt/IBM structure
o tar it up and copy to machine running old glibc which has no rpm
o untar it in /opt
o fix directory permissions (some are not rx for anyone)
o create db2inst1 user
o create instance
o catalog remote server
o connect via db2 command line util
o connect via DBD::DB2

BUT, FP1 is really old now (2003 I think). What we'd really like is the most
recent run time (application development) client which we can run with glibc
2.2.4 but to locate that using the method above would be a real pain.

Martin
--
Martin J. Evans
Easysoft Ltd, UK
http://www.easysoft.com


On 01-Jun-2006 Dan Scott wrote:
 Hi Martin:
 
 You'll need the Application Development Client, which is a free
 download from http://ibm.com/db2/udb/support/downloadv8.html.
 
 The clients are installed as RPMs on Linux using the db2setup program
 (part of the client); you might want to check out the DB2 HOWTO
 (http://tldp.org/HOWTO/DB2-HOWTO/index.html) for a general
 understanding of the underlying dependencies. Or post here on what
 your system is and what problems you're encountering.
 
 Dan
 
 On 01/06/06, Martin J. Evans [EMAIL PROTECTED] wrote:
 I'm posting this on behalf of a colleague who is struggling to
 get DBD::DB2 working on a machine remote to the DB2 database.
 We have DB2 installed and DBD::DB2 working on that machine
 but where can we download only the DB2 client (or whatever
 DBD::DB2 needs) to use DBD::DB2 to connect to a remote DB2
 database on Linux? So far all we've found is an RPM with
 some dependency-hell and this is not a redhat system.

 Thanks.

 Martin



Re: DBD::DB2 where to get a client library

2006-06-01 Thread Shlomi Fish
On Thursday 01 June 2006 12:08, Martin J. Evans wrote:
 I'm posting this on behalf of a colleague who is struggling to
 get DBD::DB2 working on a machine remote to the DB2 database.
 We have DB2 installed and DBD::DB2 working on that machine
 but where can we download only the DB2 client (or whatever
 DBD::DB2 needs) to use DBD::DB2 to connect to a remote DB2
 database on Linux? So far all we've found is an RPM with
 some dependency-hell and this is not a redhat system.


I'd guess that you need to buy a licence for the client from IBM, and download 
the client library/executable. See:

http://www-306.ibm.com/software/data/db2/

Regards,

Shlomi Fish

-
Shlomi Fish  [EMAIL PROTECTED]
Homepage:http://www.shlomifish.org/

95% of the programmers consider 95% of the code they did not write, in the
bottom 5%.


Re: DBD::DB2 where to get a client library

2006-06-01 Thread Dan Scott

Hi Martin:

You'll need the Application Development Client, which is a free
download from http://ibm.com/db2/udb/support/downloadv8.html.

The clients are installed as RPMs on Linux using the db2setup program
(part of the client); you might want to check out the DB2 HOWTO
(http://tldp.org/HOWTO/DB2-HOWTO/index.html) for a general
understanding of the underlying dependencies. Or post here on what
your system is and what problems you're encountering.

Dan

On 01/06/06, Martin J. Evans [EMAIL PROTECTED] wrote:

I'm posting this on behalf of a colleague who is struggling to
get DBD::DB2 working on a machine remote to the DB2 database.
We have DB2 installed and DBD::DB2 working on that machine
but where can we download only the DB2 client (or whatever
DBD::DB2 needs) to use DBD::DB2 to connect to a remote DB2
database on Linux? So far all we've found is an RPM with
some dependency-hell and this is not a redhat system.

Thanks.

Martin