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.