[Koha] koha 3 installation: make test fails

constantine costas.magnuse at gmail.com
Wed Jul 2 12:14:05 NZST 2008


Hello to all!...

I am trying to install koha 3 RC1 in Debian, having followed the
appropriate installation guide.

Although I run
# perl Makefile.PL  successfully, and

# make gives me the following output at the end:

Manifying blib/man3/cataloguing::value_builder::unimarc_field_115b.3pm
Manifying blib/man3/serials::member-search.3pm
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" fix-perl-path.PL blib
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL
blib/KOHA_CONF_DIR/koha-conf.xml
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL
blib/KOHA_CONF_DIR/koha-httpd.conf
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL
blib/MISC_DIR/koha-install-log
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL
blib/PERL_MODULE_DIR/C4/Context.pm
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" rewrite-config.PL
blib/SCRIPT_NONDEV_DIR/kohalib.pl

running
# make test FAILS!... It's output is postscripted. What should I do?

# make test
PERL_DL_NONLAZY=1 KOHA_CONF=blib/KOHA_CONF_DIR/koha-conf.xml
/usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/PERL_MODULE_DIR', 'blib/arch')" t/*.t
t/Amazon....................ok
t/Barcodes_PrinterConfig....ok
t/Bookfund..................ok
t/Bookseller................ok
t/Boolean...................ok
t/Branch....................ok
t/Calendar..................ok
t/Charset...................ok
t/Date......................ok 1/4DBD::mysql::db selectrow_array
failed: Table 'koha.systempreferences' doesn't exist at
/home/costis/sidux/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm
line 456.
Use of uninitialized value $dateformat in string eq at
/home/costis/sidux/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Date.pm
line 49.
Use of uninitialized value $dateformat in string eq at
/home/costis/sidux/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Date.pm
line 49.
Use of uninitialized value $dateformat in string eq at
/home/costis/sidux/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Date.pm
line 49.
Use of uninitialized value $dateformat in concatenation (.) or string
at /home/costis/sidux/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Date.pm
line 63.
t/Date......................NOK 2/4
#   Failed test 'format_date_in_iso'
#   at t/Date.t line 29.
#          got: ''
#     expected: '1973-05-21'
t/Date......................ok 3/4# Looks like you planned 4 tests but
only ran 3.
# Looks like you failed 1 test of 3 run.
t/Date......................dubious
      Test returned status 1 (wstat 256, 0x100)
DIED. FAILED tests 2, 4
      Failed 2/4 tests, 50.00% okay
t/Dates.....................ok 1/126#
#  Testing Legacy Functions: format_date and format_date_in_iso
DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences'
doesn't exist at
/home/costis/sidux/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm
line 456.
Use of uninitialized value $dformat in hash element at
/home/costis/sidux/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Dates.pm
line 127.
Use of uninitialized value $dformat in concatenation (.) or string at
/home/costis/sidux/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Dates.pm
line 127.
Invalid date format '' from system preferences at t/Dates.t line 31
# Looks like you planned 126 tests but only ran 1.
# Looks like your test died just after 1.
t/Dates.....................dubious
      Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-126
      Failed 125/126 tests, 0.79% okay
t/Debug.....................# BEFORE use:     $debug is not defined
# BEFORE use: $cgi_debug is not defined
t/Debug.....................ok 1/3#  AFTER use:     $debug is 0
#  AFTER use: $cgi_debug is 0
# Done.
t/Debug.....................ok
t/dummy.....................ok
t/icondirectories...........Use of uninitialized value $src in string
eq at /home/costis/sidux/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Koha.pm
line 460.
DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences'
doesn't exist at
/home/costis/sidux/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm
line 456.
Use of uninitialized value in concatenation (.) or string at
/home/costis/sidux/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Koha.pm
line 464.
DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences'
doesn't exist at
/home/costis/sidux/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm
line 456.
Use of uninitialized value in concatenation (.) or string at
/home/costis/sidux/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Koha.pm
line 461.
Can't stat /usr/share/koha/opac/htdocs/opac-tmpl//itemtypeimg: No such
file or directory
 at t/icondirectories.t line 37
Can't stat /usr/share/koha/intranet/htdocs/intranet-tmpl//img/itemtypeimg:
No such file or directory
 at t/icondirectories.t line 45
t/icondirectories...........ok
t/Input.....................ok
t/Items.....................DBD::mysql::db selectrow_array failed:
Table 'koha.systempreferences' doesn't exist at
/home/costis/sidux/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm
line 456.
t/Items.....................ok 1/28DBD::mysql::db selectrow_array
failed: Table 'koha.systempreferences' doesn't exist at
/home/costis/sidux/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm
line 456.
Use of uninitialized value $dformat in hash element at
/home/costis/sidux/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Dates.pm
line 127.
Use of uninitialized value $dformat in concatenation (.) or string at
/home/costis/sidux/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Dates.pm
line 127.
Invalid date format '' from system preferences at
/home/costis/sidux/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Items.pm
line 1728
# Looks like you planned 28 tests but only ran 13.
# Looks like your test died just after 13.
t/Items.....................dubious
      Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 14-28
      Failed 15/28 tests, 46.43% okay
t/Koha......................ok
t/Labels....................DBD::mysql::db selectrow_array failed:
Table 'koha.systempreferences' doesn't exist at
/home/costis/sidux/koha-3.00.00-stableRC1/blib/PERL_MODULE_DIR/C4/Context.pm
line 456.
t/Labels....................ok
t/Languages.................ok
t/Maintainance..............ok
t/Output....................ok
t/Record....................ok
t/Review....................ok
t/Scrubber..................ok 1/10# Note: scrubber test output will
have whitespace collapsed for readability
# done.
t/Scrubber..................ok
t/Stats.....................ok
Failed Test Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/Date.t       1   256     4    3  2 4
t/Dates.t    255 65280   126  250  2-126
t/Items.t    255 65280    28   30  14-28
Failed 3/24 test scripts. 142/207 subtests failed.
Files=24, Tests=207, 32 wallclock secs ( 7.67 cusr +  0.86 csys =  8.53 CPU)
Failed 3/24 test programs. 142/207 subtests failed.
make: *** [test_dynamic] Error 255

Thank you very much,
Constantine Tsardounis
http://www.costis.name


More information about the Koha mailing list