Help please - about Perl driver DBD::DB2: (fwd) 
Author Message
 Help please - about Perl driver DBD::DB2: (fwd)

Hi folks:

I am having some questions about DBD::DB2 driver for DBI.  

1.  Can it be used to connect to a remote database? I.e. DB2 on another
box?  The reason I ask is that the DBD::DB2 installation requires the var
DB2_HOME to be set to a file.  I thought that all DBI drivers could
connect to remote dbs.

2.  I am having problems installing - via the CPAN module I get this
AutoSplitting ../blib/lib/DBD/DB2/
/usr/bin/perl -I/usr/local/lib/perl5/5.00503/sun4-solaris
gcc -c -I"/home/include" -I/usr/local/include -O    -DVERSION=\"0.20\"
Constants.xs:16: sqlcli.h: No such file or directory
Constants.xs:17: sqlcli1.h: No such file or directory
Constants.xs:18: sqlext.h: No such file or directory
make[1]: *** [Constants.o] Error 1
make[1]: Leaving directory
make: *** [subdirs] Error 2
  /usr/bin/make  -- NOT OK
Running make test
  Oops, make had returned bad status
Running make install
  Oops, make had returned bad status

3.  I then tried copying the
files (i.e. and to proper places on my system but get
the error:

ns: /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503
5 .) at /usr/local/lib/perl5/5.00503/DBD/ line 25
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/5.00503/DBD/ lin
e 25.

I am running sun sun4-solaris , perl 5.005_03

Thanks so much for your help.

Fri, 07 Mar 2003 03:00:00 GMT
 [ 1 post ] 

 Relevant Pages 

1. purely Perl CGI/DBI-DBD interface to DB2?

2. Perl DBD::DB2 and security?

3. IBMs Perl DBD::DB2 commitment?

4. Looking for Perl DBD::DB2 for NT bianry

5. Indexes via DBI driver in Perl (DBD::Informix)

6. perl DBD, perl DBI programming

7. Need help with installing perl module DBD:Informix

8. DB2 version 2.1.2 perl Driver

9. Problem with perl db2 driver

10. Fwd: [Fwd: FW: Improtant Virus Information - Please Read]

11. DB2 Connect and DBD::DB2

12. DBD::DB2-Linux-client connect to AS/400-DB2-database

Powered by phpBB® Forum Software