[Koha] [Koha 3.00.02] 'use C4::Circulation' test fails

Marc Nürnberger marc.nuernberger at gmx.de
Thu Jun 11 03:22:16 NZST 2009


Dear all,

When I try to install the latest 3.0.2 the 'make test' returns:

###########################################

t/Circulation_barcodedecode....NOK 1/16
#   Failed test 'use C4::Circulation;'
#   at t/Circulation_barcodedecode.t line 10.
#     Tried to use 'C4::Circulation'.
#     Error:  DBD driver has not implemented the AutoCommit attribute 
at /usr/lo 
                  cal/lib/perl/5.10.0/DBI.pm line 705.
# Compilation failed in require at 
/home/koha/koha-3.00.02/blib/PERL_MODULE_DIR/ 
                                                     C4/Circulation.pm 
line 25.
# BEGIN failed--compilation aborted at t/Circulation_barcodedecode.t 
line 10.
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at (eval 3) line 2.
Undefined subroutine &C4::Circulation::barcodedecode called at 
t/Circulation_bar 
                         codedecode.t line 31.
# Looks like you planned 16 tests but only ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test died just after 1.
t/Circulation_barcodedecode....dubious
         Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-16
         Failed 16/16 tests, 0.00% okay

###########################################

If I try to ignore this, the webinstaller won't start, but complain:

###########################################

DBD driver has not implemented the AutoCommit attribute at 
/usr/local/lib/perl/5.10.0/DBI.pm line 705.
Compilation failed in require at /usr/share/koha/lib/C4/Circulation.pm 
line 25.
BEGIN failed--compilation aborted at 
/usr/share/koha/lib/C4/Circulation.pm line 25.
Compilation failed in require at /usr/share/koha/lib/C4/Overdues.pm 
line 24.
BEGIN failed--compilation aborted at 
/usr/share/koha/lib/C4/Overdues.pm line 24.
Compilation failed in require at /usr/share/koha/lib/C4/Members.pm 
line 27.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Members.pm 
line 27.
Compilation failed in require at /usr/share/koha/lib/C4/Auth.pm line 27.
BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Auth.pm 
line 27.
Compilation failed in require at 
/usr/share/koha/opac/cgi-bin/opac/opac-main.pl line 22.
BEGIN failed--compilation aborted at 
/usr/share/koha/opac/cgi-bin/opac/opac-main.pl line 22.

###########################################

I am using DBD:mysql 4.007 (couldn't install 4.011) on Perl 5.10 on Lenny.

Has anyone experienced the same error? Any ideas what I messed up?

Best regards,
Marc







More information about the Koha mailing list