[Koha] Problems building "perl -MCPAN -e 'install "Net::Z3950"'"
Hennie Rautenbach
hennie at sabinet.co.za
Tue Sep 18 22:40:34 NZST 2007
Hi there,
I am trying to install the latest release of Koha on Ubuntu (Feisty
Fawn). When I run:
sudo perl -MCPAN -e 'install "Net::Z3950"'
It complained about my YAZ being too old. I build and installed a new
YAZ (3.0.12) from source.
Now when I run: perl -MCPAN -e 'install "Net::Z3950"'
I get numerous errors such as:
<snip>
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1-Net-Z3950-ZOOM......ok
t/10-options............ok
t/11-option-callback....ok
t/12-query..............ok
t/13-resultset..........ok
t/14-sorting............ok
t/15-scan...............ok 3/87
# Failed test 'scan for 'ZOOM_query=SCALAR(0x8293834)''
# in t/15-scan.t at line 126.
t/15-scan...............NOK 70
# Failed test 'got 0 terms (expected 4)'
# in t/15-scan.t at line 130.
t/15-scan...............NOK 72
# Failed test 'seed-term is start of returned list'
# in t/15-scan.t at line 72.
Use of uninitialized value in concatenation (.) or string at t/15-scan.t
line 74.
t/15-scan...............NOK 73
# Failed test 'got last title term '' to use as seed'
# in t/15-scan.t at line 74.
t/15-scan...............NOK 74# Looks like you failed 4 tests of 87.
t/15-scan...............dubious
Test returned status 4 (wstat 1024, 0x400)
DIED. FAILED tests 70, 72-74
Failed 4/87 tests, 95.40% okay
t/16-packages...........ok
t/17-logging............ok
t/18-charset............ok
t/19-events.............ok
t/2-ZOOM................ok
t/20-options............ok
t/21-option-callback....ok
t/22-query..............ok
t/23-resultset..........ok
t/24-sorting............ok
t/25-scan...............ok 48/87
# Failed test 'scan for 'ZOOM::Query::CQL=HASH(0x8349944)''
# in t/25-scan.t at line 114.
t/25-scan...............NOK 70Can't call method "size" on an undefined
value at t/25-scan.t line 116.
# Looks like you planned 87 tests but only ran 70.
# Looks like you failed 1 test of 70 run.
# Looks like your test died just after 70.
t/25-scan...............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 70-87
Failed 18/87 tests, 79.31% okay
t/26-packages...........ok
t/27-logging............ok
t/28-charset............ok
t/29-events.............ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/15-scan.t 4 1024 87 4 4.60% 70 72-74
t/25-scan.t 255 65280 87 35 40.23% 70-87
Failed 2/22 test scripts, 90.91% okay. 22/712 subtests failed, 96.91% okay.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Any suggestion on how to get past this error ?
Regards,
Hennie
More information about the Koha
mailing list