> > I'm attempting to install DBD::ODBC 1.13 with perl 5.8.3 on > FreeBSD 4.7 > with FreeTDS 0.63 and unixODBC 2.2.10. unixODBC's isql works > fine, so I > know that the odbc driver is functioning, but make test for > DBD::ODBC is > dumping core:
It's trying to connect and fail. While I'm not an expert on FreeTDS, I'd ask the following questions: 1) is the DBI_DSN set correctly? (i.e. the same DSN you use to connect with isql) 2) is there a chance that DBD::ODBC's Makefile.PL picked up iODBC instead of unixODBC. 3) can you try simply running the test with DBI trace on (set DBI_TRACE=9 before you run make test) Jeff > > > [EMAIL PROTECTED]:/usr/local/src/DBD-ODBC-1.13$ make test > TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /usr/local/perl/bin/perl > "-MExtUtils::Command::MM" > "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t > t/01base.........1..5 ok 1 - require DBI; ok 2 - import DBI > ok 3 - DBI->internal is DBI::dr ok 4 - Install ODBC driver OK > ok 5 - Version is not empty ok t/02simple.......1..36 ok 1 - > use DBI; ok 2 - use ODBCTEST; dubious > Test returned status 0 (wstat 138, 0x8a) > test program seems to have generated a core > DIED. FAILED tests 3-36 > Failed 34/36 tests, 5.56% okay > t/03dbatt........1..24 > ok 1 - use DBI; > ok 2 - use ODBCTEST; > dubious > Test returned status 0 (wstat 138, 0x8a) > test program seems to have generated a core > DIED. FAILED tests 3-24 > Failed 22/24 tests, 8.33% okay > t/05meth.........1..8 > ok 1 - use DBI; > dubious > Test returned status 0 (wstat 138, 0x8a) > test program seems to have generated a core > DIED. FAILED tests 2-8 > Failed 7/8 tests, 12.50% okay > t/07bind.........1..11 > ok 1 - use ODBCTEST; > dubious > Test returned status 0 (wstat 138, 0x8a) > test program seems to have generated a core > DIED. FAILED tests 2-11 > Failed 10/11 tests, 9.09% okay > t/08bind2........1..5 > ok 1 - use ODBCTEST; > ok 2 - use Data::Dumper; > dubious > Test returned status 0 (wstat 138, 0x8a) > test program seems to have generated a core > DIED. FAILED tests 3-5 > Failed 3/5 tests, 40.00% okay > t/09multi........1..7 > ok 1 - use strict; > ok 2 - use DBI; > ok 3 - use ODBCTEST; > dubious > Test returned status 0 (wstat 138, 0x8a) > test program seems to have generated a core > DIED. FAILED tests 4-7 > Failed 4/7 tests, 42.86% okay > t/20SqlServer....1..37 > ok 1 - use ODBCTEST; > ok 2 - use Data::Dumper; > dubious > Test returned status 0 (wstat 138, 0x8a) > test program seems to have generated a core > DIED. FAILED tests 3-37 > Failed 35/37 tests, 5.41% okay > t/30Oracle.......1..4 > ok 1 - use ODBCTEST; > ok 2 - use Data::Dumper; > dubious > Test returned status 0 (wstat 138, 0x8a) > test program seems to have generated a core > DIED. FAILED tests 3-4 > Failed 2/4 tests, 50.00% okay > Failed Test Stat Wstat Total Fail Failed List of Failed > -------------------------------------------------------------- > ----------------- > t/02simple.t 0 138 36 68 188.89% 3-36 > t/03dbatt.t 0 138 24 44 183.33% 3-24 > t/05meth.t 0 138 8 14 175.00% 2-8 > t/07bind.t 0 138 11 20 181.82% 2-11 > t/08bind2.t 0 138 5 6 120.00% 3-5 > t/09multi.t 0 138 7 8 114.29% 4-7 > t/20SqlServer.t 0 138 37 70 189.19% 3-37 > t/30Oracle.t 0 138 4 4 100.00% 3-4 > Failed 8/9 test scripts, 11.11% okay. 117/137 subtests > failed, 14.60% okay. > *** Error code 2 > > Stop in /usr/local/src/DBD-ODBC-1.13. > > > Any pointers would be greatly appreciated. > > Thanks, > Blake >
