Skip Menu |

This queue is for tickets about the DBD-DB2 CPAN distribution.

Report information
The Basics
Id: 7074
Status: resolved
Worked: 30 min
Priority: 0/
Queue: DBD-DB2

People
Owner: Nobody in particular
Requestors: gernot.ruban [...] lbs-bw.de
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.76
Fixed in: (no value)



Subject: DBD::DB2 problem to install with 64 bit support under AIX 5.2L + DB2 V8.1
======================================================================= Makefile does not include the correct DB2 include file "include64"! ======================================================================= root@pk0101l1:/mnt/pk0101l1/DBD-DB2-0.76> make Show quoted text
>perl_DBD_DB2_make.out 2>&1
cp DB2.pm blib/lib/DBD/DB2.pm cp lib/Bundle/DBD/DB2.pm blib/lib/Bundle/DBD/DB2.pm cp DB2.pod blib/lib/DBD/DB2.pod /usr/bin/perl -e 'use ExtUtils::Mksymlists; Mksymlists("NAME" => "DBD::DB2", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);' /usr/bin/perl /usr/opt/perl5/lib64/5.8.0/ExtUtils/xsubpp -typemap /usr/opt/perl5/lib64/5.8.0/ExtUtils/typemap DB2.xs > DB2.xsc && mv DB2.xsc DB2.c cc_r -c -I"/usr/opt/db2_08_01/include" -I/usr/opt/perl5/lib64/site_perl/5.8.0/aix-thread-multi-64all/auto/DBI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q64 -DUSE_64_BIT_ALL -q64 -O -DVERSION=\"0.76\" -DXS_VERSION=\"0.76\" "-I/usr/opt/perl5/lib64/5.8.0/aix-thread-multi-64all/CORE" DB2.c cc_r -c -I"/usr/opt/db2_08_01/include" -I/usr/opt/perl5/lib64/site_perl/5.8.0/aix-thread-multi-64all/auto/DBI -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_ SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q64 -DUSE_64_BIT_ALL -q64 -O -DVERSION=\"0.76\" -DXS_VERSION=\"0.76\" "-I/usr/opt/perl5/lib64/5.8.0/aix-thread-multi-64all/CORE" dbdimp.c Running Mkbootstrap for DBD::DB2 () chmod 644 DB2.bs rm -f blib/arch/auto/DBD/DB2/DB2.so LD_RUN_PATH="/usr/opt/db2_08_01/lib" ld -b64 -bhalt:4 -bM:SRE -bI:/usr/opt/perl5/lib64/5.8.0/aix-thread-multi-64all/CORE/perl.exp -bE:DB2.exp -bnoentry -lpthreads -lc_r DB2.o dbdimp.o -o blib/arch/auto/DBD/DB2/DB2.so -L/usr/opt/db2_08_01/lib -ldb2 chmod 755 blib/arch/auto/DBD/DB2/DB2.so cp DB2.bs blib/arch/auto/DBD/DB2/DB2.bs chmod 644 blib/arch/auto/DBD/DB2/DB2.bs cp Constants.pm ../blib/lib/DBD/DB2/Constants.pm AutoSplitting ../blib/lib/DBD/DB2/Constants.pm (../blib/lib/auto/DBD/DB2/Constants) /usr/bin/perl -e 'use ExtUtils::Mksymlists; Mksymlists("NAME" => "DBD::DB2::Constants", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);' /usr/bin/perl /usr/opt/perl5/lib64/5.8.0/ExtUtils/xsubpp -typemap /usr/opt/perl5/lib64/5.8.0/ExtUtils/typemap Constants.xs > Constants.xsc && mv Constants.xsc Constants.c cc_r -c -I"/usr/opt/db2_08_01/include" -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q64 -DUSE_64_BIT_ALL -q64 -O -DVERSION=\"0.20\" -DXS_VERSION=\"0.20\" "-I/usr/opt/perl5/lib64/5.8.0/aix-thread-multi-64all/CORE" -qcpluscmt Constants.c Running Mkbootstrap for DBD::DB2::Constants () chmod 644 Constants.bs rm -f ../blib/arch/auto/DBD/DB2/Constants/Constants.so LD_RUN_PATH="" ld -b64 -bhalt:4 -bM:SRE -bI:/usr/opt/perl5/lib64/5.8.0/aix-thread-multi-64all/CORE/perl.exp -bE:Constants.exp -bnoentry -lpthreads -lc_r Constants.o -o ../blib/arch/auto/DBD/DB2/Constants/Constants.so chmod 755 ../blib/arch/auto/DBD/DB2/Constants/Constants.so cp Constants.bs ../blib/arch/auto/DBD/DB2/Constants/Constants.bs chmod 644 ../blib/arch/auto/DBD/DB2/Constants/Constants.bs Manifying blib/man3/Bundle::DBD::DB2.3 Manifying blib/man3/DBD::DB2.3 Target "default_target" is up to date.
RT-Send-CC: db2perl [...] ca.ibm.com
You need to apply an eFix to your AIX 5.2 system. The main IBM perl support page (http://www-306.ibm.com/software/data/db2/perl/) has a link to the IBM technote that outlines this procedure (it's at the bottom of the page). For convenience, the IBM technote is here: http://www-1.ibm.com/support/docview.wss? rs=71&context=SSEPGG&uid=swg21181032&loc=en_US&cs=utf-8&lang=en