Test Message ... and question

[prev] [thread] [next] [lurker] [Date index for 2004/07/30]

From: Roderick A. Anderson
Subject: Test Message ... and question
Date: 02:49 on 30 Jul 2004
Just subscribed as I have finally got to install Siesta for several
sites/servers.  I spent a good portion of today trying to install but
ran into an issue with Class::DBI::SQLite not installing correctly. 
Since it's needed for Siesta I was wondering if this has been seen by
others and if so what was the solution.  I went a message to the author
Tatsuhiko Miyagawa but thinking multiple routes are better.

FWIW here is the error message I'm getting (the same for install via
perl -MCPAN or from a tarball).

{/usr/src/tarballs/Siesta-0.66/Class-DBI-SQLite-0.04}# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_compile....ok
t/01_sqlite.....ok 4/42Can't insert new Film: DBD::SQLite::st execute
failed: bind index out of range(25) at dbdimp.c line 313 [for Statement
"INSERT INTO Movies (id, title, director)
VALUES (?, ?, ?)
"] at /usr/lib/perl5/site_perl/5.8.0/DBIx/ContextualFetch.pm line 51.
 at t/01_sqlite.t line 11
# Looks like you planned 42 tests but only ran 4.
# Looks like your test died just after 4.
t/01_sqlite.....dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 5-42
        Failed 38/42 tests, 9.52% okay
t/02_table......DBD::SQLite::db prepare failed: near "?": syntax
error(1) at dbdimp.c line 223 [for Statement "PRAGMA table_info(?)
"] at
/usr/src/tarballs/Siesta-0.66/Class-DBI-SQLite-0.04/blib/lib/Class/DBI/SQLite.pm
line 20.
# Looks like your test died before it could output anything.
t/02_table......dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-5
        Failed 5/5 tests, 0.00% okay
Failed Test   Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/01_sqlite.t  255 65280    42   38  90.48%  5-42
t/02_table.t     2   512     5    5 100.00%  1-5
Failed 2/3 test scripts, 33.33% okay. 43/48 subtests failed, 10.42% okay.
make: *** [test_dynamic] Error 2

This is on a RHL 8.0 system so SQLite came from an RPM if that makes a
difference.


TIA for any ideas or pointers,
Rod
-- 

---
[Certified Virus free by ASISNA Mail Services.    www.asisna.com ]

Generated at 13:00 on 03 Aug 2004 by mariachi 0.52