Hello,

My environment:

AIX 4.3.3.0 running perl 5.005_03
Installed DBI 1.32

I've attempted to install the DBD::DB2 driver onto my AIX RS6000, and I
think it has failed because I don't have either the DB2 SDK or DB2
Application Development Client installed.  The results the perl Makefile.PL
and make are detailed at the end of this post.

I've had to get in touch with my DBA in order to get the Application
Development Client installed, however he is querying the install and wants
to know exactly which components of the Development Client are actually
required in order to run DBD::DB2.  The currently policy is that the
Development Client is not permitted on our 'Live' system, however if only
certain components are required then they may be allowed.  Please can
someone provide this information so I can justify the download to the DBA
next week?

Thanks,

Kathryn

======================================================================================================================================
Results of perl Makefile.PL

Configuring DBD::DB2...
Remember to actually read the README and CAVEATS files!

Using DB2 in "/db2/imksd01/sqllib/bin"
System: perl5.00503 DBI1.32 aix funny 3 4 000001716600  aix dl_aix.xs
Compiler: cc -O -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384
Includes: -I"/db2/imksd01/sqllib/bin/include" 
-I/usr/opt/perl5/lib/site_perl/5.005/aix/auto/DBI
Libraries: -L/db2/imksd01/sqllib/bin/lib -ldb2

Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -ldb2
Checking if your kit is complete...
Looks good
Writing Makefile for DBD::DB2::Constants
Writing Makefile for DBD::DB2

======================================================================================================================================
Results of make:

mkdir blib
mkdir blib/lib
mkdir blib/lib/DBD
cp DB2.pod blib/lib/DBD/DB2.pod
cp DB2.pm blib/lib/DBD/DB2.pm
cp lib/Bundle/DBD/DB2.pm blib/lib/Bundle/DBD/DB2.pm
        /usr/bin/perl "-I/usr/opt/perl5/lib/5.00503/aix" 
"-I/usr/opt/perl5/lib/5.00503" -e 'use ExtUtils::Mksymlists;  Mksymlists("NAME" =>
"DBD::DB2", "DL_FUNCS" => {  }, "FUNCLIST" => [], "DL_VARS" => []);'
        /usr/bin/perl -I/usr/opt/perl5/lib/5.00503/aix -I/usr/opt/perl5/lib/5.00503 
/usr/opt/perl5/lib/5.00503/ExtUtils/xsubpp  -typemap
/usr/opt/perl5/lib/5.00503/ExtUtils/typemap DB2.xs >xstmp.c && mv xstmp.c DB2.c
        cc -c -I"/db2/imksd01/sqllib/bin/include" 
-I/usr/opt/perl5/lib/site_perl/5.005/aix/auto/DBI -D_ALL_SOURCE -D_ANSI_C_SOURCE 
-D_POSIX_SOURCE
-qmaxmem=16384 -O     -DVERSION=\"0.76\"  -DXS_VERSION=\"0.76\"  
-I/usr/opt/perl5/lib/5.00503/aix/CORE  DB2.c
1506-507 (W) No licenses available. Contact your program supplier to add additional 
users.  Compilation will proceed shortly.
"DB2.h", line 9.10: 1506-296 (S) #include file <sqlcli.h> not found.
"DB2.h", line 11.10: 1506-296 (S) #include file <sqlcli1.h> not found.
"DB2.h", line 12.10: 1506-296 (S) #include file <sqlext.h> not found.
"DB2.h", line 14.10: 1506-296 (S) #include file <sqlstate.h> not found.
"dbdimp.h", line 16.3: 1506-046 (S) Syntax error.
"dbdimp.h", line 24.3: 1506-046 (S) Syntax error.
"dbdimp.h", line 33.3: 1506-046 (S) Syntax error.
"dbdimp.h", line 63.3: 1506-046 (S) Syntax error.
"dbdimp.h", line 75.3: 1506-046 (S) Syntax error.
"dbdimp.h", line 86.3: 1506-046 (S) Syntax error.
"dbdimp.h", line 90.3: 1506-046 (S) Syntax error.
"dbdimp.h", line 95.1: 1506-166 (S) Definition of function SQLCHAR requires 
parentheses.
"DB2.xs", line 40.9: 1506-045 (S) Undeclared identifier dbis.
"DB2.xs", line 57.14: 1506-196 (W) Initialization between types "struct av*" and "int" 
is not allowed.
"DB2.xs", line 79.5: 1506-045 (S) Undeclared identifier dbis.
"DB2.xs", line 90.5: 1506-045 (S) Undeclared identifier dbis.
"DB2.xs", line 99.5: 1506-045 (S) Undeclared identifier dbis.
"DB2.xs", line 108.5: 1506-045 (S) Undeclared identifier dbis.
"DB2.xs", line 138.5: 1506-045 (S) Undeclared identifier dbis.
"DB2.xs", line 151.5: 1506-045 (S) Undeclared identifier dbis.
"DB2.xs", line 152.17: 1506-196 (W) Initialization between types "struct sv*" and 
"int" is not allowed.
"DB2.xs", line 162.5: 1506-045 (S) Undeclared identifier dbis.
"DB2.xs", line 238.5: 1506-045 (S) Undeclared identifier dbis.
"DB2.xs", line 248.5: 1506-045 (S) Undeclared identifier dbis.
"DB2.xs", line 261.5: 1506-045 (S) Undeclared identifier dbis.
"DB2.xs", line 291.5: 1506-045 (S) Undeclared identifier dbis.
"DB2.xs", line 320.5: 1506-045 (S) Undeclared identifier dbis.
"DB2.xs", line 369.5: 1506-045 (S) Undeclared identifier dbis.
"DB2.xs", line 370.12: 1506-196 (W) Initialization between types "struct av*" and 
"int" is not allowed.
"DB2.xs", line 380.5: 1506-045 (S) Undeclared identifier dbis.
"DB2.xs", line 381.12: 1506-196 (W) Initialization between types "struct av*" and 
"int" is not allowed.
"DB2.xs", line 395.5: 1506-045 (S) Undeclared identifier dbis.
"DB2.xs", line 420.5: 1506-045 (S) Undeclared identifier dbis.
"DB2.xs", line 435.5: 1506-045 (S) Undeclared identifier dbis.
"DB2.xs", line 449.5: 1506-045 (S) Undeclared identifier dbis.
"DB2.xs", line 450.17: 1506-196 (W) Initialization between types "struct sv*" and 
"int" is not allowed.
"DB2.xs", line 460.5: 1506-045 (S) Undeclared identifier dbis.
"DB2.xs", line 492.7: 1506-045 (S) Undeclared identifier dbis.
"DB2.c", line 715.47: 1506-045 (S) Undeclared identifier 
XS_DBD__DB2__dr_disconnect_all.
"DB2.xs", line 22.5: 1506-045 (S) Undeclared identifier dbis.
make: 1254-004 The error code from the last command is 1.


Stop.





** HSBC's website is at www.hsbc.com **

********************************************************************
This E-mail is confidential.  It may also be legally privileged. 
If you are not the addressee you may not copy, forward, disclose or 
use any part of it. If you have received this message in error, 
please delete it and all copies from your system and notify the sender 
immediately by return E-mail.

Internet communications cannot be guaranteed to be timely, secure, 
error or virus-free. 
The sender does not accept liability for any errors or omissions.

********************************************************************


Reply via email to