All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
perl DBI test suite problem
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login |
|
|
perl DBI test suite problem - Dec. 13, '04, 4:46:23 AM
|
|
|
teymourib
Posts: 1
Joined: Dec. 13, '04,
Status: offline
|
Hi,
I tried to compile the latest perl DBI interface (1.46)
The compilation process was fine but perl ( 5.8.3) hang at the 50dbm.t level test.
does anyone experiment this before ?
Babak
|
|
|
RE: perl DBI test suite problem - Dec. 13, '04, 1:53:35 PM
|
|
|
Rodney
Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
Perl 5.8.3 has been ported by Nick to run with DBD which is linked against the unixODBC.
UnixODBC provides the driver for talking between the client and server.
So you need to have the unixODBC package installed for DBD. Since DBD is used by DBI I expect
that you should have UnixODBC installed too. You might want to read the web page at:
http://www.interopsystems.com/tools/db.htm
for Database Connectivity info.
|
|
|
RE: perl DBI test suite problem - Aug. 17, '06, 10:57:10 AM
|
|
|
harvero
Posts: 14
Joined: Apr. 25, '06,
Status: offline
|
I've installed and tried both pkgs/3.5/perl-current-bin.tgz and pkgs/3.5/perl-5.8.3.1-bin.tgz neither one includes the DBI package.
I have a basic perl script that bombs when it tried to load DBI:
$ ./show*
Can't locate DBI.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/x86-inter
ix-thread-multi /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/
x86-interix-thread-multi /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/per
l5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at ./showdriver.pl line 3.
BEGIN failed--compilation aborted at ./showdriver.pl line 3.
$ head show
head: Cannot open file 'show': No such file or directory
$ ^C
$ head showdriver.pl
#!/usr/local/bin/perl -w
use DBI;
$drh = DBI->install_driver('Informix');
print "Driver Information\n";
# Type is always 'dr'.
print " Type: $drh->{Type}\n";
# Name is always 'Informix'.
$
I've tried to do "perl -MCPAN -e shell" and an "install Bundle:DBI" which fails doing one of the validation tests. It looks like it is possible to get DBI working from some of the other posts here. What am I missing to get this working.
|
|
|
RE: perl DBI test suite problem - Aug. 28, '06, 12:21:18 PM
|
|
|
ehall
Posts: 31
Joined: May 29, '05,
Status: offline
|
Same thing happens here. I installed UnixODBC with pkg_update -L unixodbc and still bonk out
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harne
ss(0, 'blib/lib', 'blib/arch')" t/*.t
t/01basics...............ok
4/131 skipped: developer tests
t/02dbidrv...............ok
t/03handle...............ok
t/04mods.................ok
t/05thrclone.............ok
t/06attrs................ok
t/07kids.................ok
t/08keeperr..............ok
t/09trace................ok
t/10examp................ok 1/263
# Failed test 'Remove C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/dumpcsr.tst'
# in t/10examp.t at line 656.
# got: '0'
# expected: '1'
t/10examp................ok 238/263# Looks like you failed 1 test of 263.
t/10examp................dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 237
Failed 1/263 tests, 99.62% okay (less 2 skipped tests: 260 okay, 98.86%)
t/11fetch................ok
t/14utf8.................ok
t/15array................ok
t/20meta.................ok
t/30subclass.............ok
t/40profile..............ok
t/41prof_dump............ok
t/42prof_data............ok
t/43prof_env.............ok
t/50dbm..................ok 1/11
hangs there
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|