I posted a following question. This is own response because it was solved. I forgot reading a CAVEATS document file contains some special comments. DB2_HOME variable was set and rebuild DBD::DB2, then make test Command worked well.
Thanx. --------- Console dislpay start ----------- [fujimoto@r2r DBD-DB2-0.76]$ make test make[1]: Entering directory `/home/fujimoto/o2rs/DBD-DB2-0.76/Constants' make[1]: Leaving directory `/home/fujimoto/o2rs/DBD-DB2-0.76/Constants' PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00503/ i386-linux -I/usr/lib/perl5/5.00503 -e 'use Test::Harness qw(&runtests $verbose) ; $verbose=0; runtests @ARGV;' t/*.t t/base..............ok t/main..............ok All tests successful. Files=2, Tests=6, 0 wallclock secs ( 0.25 cusr + 0.02 csys = 0.27 CPU) PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00503/ i386-linux -I/usr/lib/perl5/5.00503 test.pl Name "DBI::dbi_debug" used only once: possible typo at test.pl line 21. 1..5 ok 1 ok 2 ok 3 ok 4 ok 5 make[1]: Entering directory `/home/fujimoto/o2rs/DBD-DB2-0.76/Constants' No tests defined for DBD::DB2::Constants extension. make[1]: Leaving directory `/home/fujimoto/o2rs/DBD-DB2-0.76/Constants' ----------- Console display end ------------------ ----- Original Message ----- From: TomoFujimoto <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, October 21, 2001 4:14 AM Subject: DBD::DB2 0.76 installation > Morning everyone, > > I'd like have your advices about DBD::DB2 insallation. > > My emvironment > OS: TurboLinux advanced server 6.0 > DB2: 7.1 workgroup > > DB2 has been finished installing with Application Development Client(Create > Links for DB2 Library option turns ON). > > confirmed DB2 instance working(with ps ax|grep DB2) > > DBI 1.20 has been installed without error. > > DBD::DB2 0.76 installing with following error. > > The make command works well I guess. > But make insall Command was failed. > > Please tell me how I shold do to go well. > > Thanks in advance on this. > > ------ Console display start ---------- > [fujimoto@r2r DBD-DB2-0.76]$ make > mkdir blib > mkdir blib/lib > mkdir blib/lib/DBD > mkdir blib/arch > mkdir blib/arch/auto > mkdir blib/arch/auto/DBD > mkdir blib/arch/auto/DBD/DB2 > mkdir blib/lib/auto > mkdir blib/lib/auto/DBD > mkdir blib/lib/auto/DBD/DB2 > mkdir blib/man3 > 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 > make[1]: Entering directory `/home/fujimoto/o2rs/DBD-DB2-0.76/Constants' > mkdir ../blib/lib/DBD/DB2 > mkdir ../blib/arch/auto/DBD/DB2/Constants > mkdir ../blib/lib/auto/DBD/DB2/Constants > cp Constants.pm ../blib/lib/DBD/DB2/Constants.pm > AutoSplitting ../blib/lib/DBD/DB2/Constants.pm > (../blib/lib/auto/DBD/DB2/Constan > ts) > /usr/bin/perl -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 > /usr/ > lib/perl5/5.00503/ExtUtils/xsubpp -typemap > /usr/lib/perl5/5.00503/ExtUtils/type > map Constants.xs >xstmp.c && mv xstmp.c Constants.c > -c -I"/usr/include" -Dbool=char -DHAS_BOOL -I/usr/local/include -O0 -D > VERS > ION=\"0.20\" -DXS_VERSION=\"0.20\" -fpic -I/usr/lib/perl5/5.00503/i386-linux > /COR > E Constants.c > Running Mkbootstrap for DBD::DB2::Constants () > chmod 644 Constants.bs > LD_RUN_PATH="" cc -o > ./blib/arch/auto/DBD/DB2/Constants/Constants.so -shared - > L/usr/local/lib Constants.o > 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 > make[1]: Leaving directory `/home/fujimoto/o2rs/DBD-DB2-0.76/Constants' > /usr/bin/perl -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 > /usr/ > lib/perl5/5.00503/ExtUtils/xsubpp -typemap > /usr/lib/perl5/5.00503/ExtUtils/type > map DB2.xs >xstmp.c && mv xstmp.c DB2.c > cc -c -I"/usr/include" -I/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBI > -Dbo > ol=char -DHAS_BOOL -I/usr/local/include -O0 -DVERSION=\"0.76\" -DXS_VERSI > ON=\ > "0.76\" -fpic -I/usr/lib/perl5/5.00503/i386-linux/CORE DB2.c > cc -c -I"/usr/include" -I/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBI > -Dbo > ol=char -DHAS_BOOL -I/usr/local/include -O0 -DVERSION=\"0.76\" -DXS_VERSI > ON=\ > "0.76\" -fpic -I/usr/lib/perl5/5.00503/i386-linux/CORE dbdimp.c > Running Mkbootstrap for DBD::DB2 () > chmod 644 DB2.bs > LD_RUN_PATH="" cc -o blib/arch/auto/DBD/DB2/DB2.so -shared -L/usr/local/lib > DB2 > .o dbdimp.o > 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 > Manifying blib/man3/DBD::DB2.3 > Manifying blib/man3/Bundle::DBD::DB2.3 > [fujimoto@r2r DBD-DB2-0.76]$ make test > make[1]: Entering directory `/home/fujimoto/o2rs/DBD-DB2-0.76/Constants' > make[1]: Leaving directory `/home/fujimoto/o2rs/DBD-DB2-0.76/Constants' > PERL_DL_NONLAZY=1 > /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00503/ > i386-linux -I/usr/lib/perl5/5.00503 -e 'use Test::Harness qw(&runtests > $verbose) > ; $verbose=0; runtests @ARGV;' t/*.t > t/base..............install_driver(DB2) failed: Can't load > 'blib/arch/auto/DBD/D > B2/DB2.so' for module DBD::DB2: blib/arch/auto/DBD/DB2/DB2.so: undefined > symbol: > SQLTables at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169. > > at (eval 1) line 3 > Perhaps a required shared library or dll isn't installed where expected > at t/base.t line 16 > dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 4-5 > Failed 2/5 tests, 60.00% okay > t/main..............ok > Failed Test Status Wstat Total Fail Failed List of failed > -------------------------------------------------------------------------- -- > --- > t/base.t 255 65280 5 2 40.00% 4-5 > Failed 1/2 test scripts, 50.00% okay. 2/6 subtests failed, 66.67% okay. > make: *** [test_dynamic] Error 29 > > -----Console display end ------------- > > >
