On Sat, 19 Mar 2005 14:08:44 -0500, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I am having a problem install the DBD::DB2 module on my IBM server running > AIX 5. I download DBI-1.48 from the CPAN site and successfully installed > it. I also downloaded DBD-DB2-0.78 from the CPAN site but I am having a > problem installing it. I get an error when I issue the 'make' command. I > have successfully installed 'IBM DB2 Universal Database' and I can issue > db2 commands from an xterm session to my database. I need to install the > DBD::DB2 module so that I can write a perl script to access my database. > Any help would be appreciated. I have include information concerning the > install .Please let me know if you need any further information. > > -------------------------------------------------------------------------------------------------------- > > IBM DB2 Universal Database > Release Notes > > Version 8.2 (Version 8.1 FixPak 7) > > Before using this information and the product it supports, be sure to > read the general information under Notices. > > ---------------------------------------------------------------------------------------------------------- > > perl -v > > This is perl, v5.8.3 built for aix > > Copyright 1987-2003, Larry Wall > > Perl may be copied only under the terms of either the Artistic License or > the > GNU General Public License, which may be found in the Perl 5 source kit. > > Complete documentation for Perl, including FAQ lists, should be found on > this system using `man perl' or `perldoc perl'. If you have access to the > Internet, point your browser at http://www.perl.com/, the Perl Home Page. > > ------------------------------------------------------------------------------------------------------------ > > gcc -v > Reading specs from /usr/local/lib/gcc/powerpc-ibm-aix5.1.0.0/3.4.3/specs > Configured with: ../gcc-3.4.3/configure --disable-nls --disable-aix64 > Thread model: aix > gcc version 3.4.3 > > ------------------------------------------------------------------------------------------------------------- > > DBD-DB2-0.78: perl Makefile.PL > > Configuring DBD::DB2... > Remember to actually read the README and CAVEATS files! > > Using DB2 in "/local_home/db2inst1/sqllib" > System: perl5.008003 DBI1.48 aix pdslib51 1 5 00088d5f4c00 aix dl_aix.xs > Compiler: cc -O -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE > -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -I/usr/local/include -q32 > -D_LARGE_FILES -qlonglong > Includes: -I"/local_home/db2inst1/sqllib/include" > -I"/usr/local/lib/perl5/site_perl/5.8.3/aix/auto/DBI" > Libraries: -L/local_home/db2inst1/sqllib/lib -ldb2 > > Checking if your kit is complete... > Looks good > Checking if your kit is complete... > Looks good > Writing Makefile for DBD::DB2::Constants > Writing Makefile for DBD::DB2 > > ----------------------------------------------------------------------------------------------------------- > > make > cc -c -I"/local_home/db2inst1/sqllib/include" > -I"/usr/local/lib/perl5/site_perl/5.8.3/aix/auto/DBI" -D_ALL_SOURCE > -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias > -DUSE_NATIVE_DLOPEN -I/usr/local/include -q32 -D_LARGE_FILES -qlonglong -O > -DVERSION=\"0.78\" -DXS_VERSION=\"0.78\" "-I/usr/local/lib/perl5/5.8.3 > /aix/CORE" DB2.c > cc: unrecognized option `-qmaxmem=16384' > cc: unrecognized option `-qnoansialias' > cc: unrecognized option `-q32' > cc: unrecognized option `-qlonglong' > In file included from DB2.xs:7: > DB2.h:9:20: sqlcli.h: No such file or directory > DB2.h:11:21: sqlcli1.h: No such file or directory > DB2.h:12:20: sqlext.h: No such file or directory > DB2.h:14:66: sqlstate.h: No such file or directory [---] ^^^^^^^^^^^^ Make sure your make paths are set up correctly ...and you have access to these header files.
HTH K.C
