Thanks for the advice -
ran sudo cpan HTML::Scrubber
and got this:
Writing Makefile for HTML::Scrubber
-- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
maybe need an updated HTML::Scrubber?
Sean
Sean --
sudo cpan HTML::Scrubber;
--joeOn Wed, Oct 29, 2008 at 1:23 AM, Sean Toczko <sean@jamstec.go.jp> wrote:
Hello All -~:/build/koha-3.00.00$ sudo make test
Having trouble withe the installation of Koha 3.00.00 on a Linux LAMP
server running Ubuntu Gutsy Gibbon. Have downloaded and untarred the
koha tar ball, have MySQL 5.0.51 running, Apache 2.2.8 and zebra
installed, and according to the installation file within Koha, I
also went ahead and downloaded CGI::Session::serialize::yaml (ver.
4.14) directly from CPAN.
when running sudo make test, the make fails on scrubber 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/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/Input.....................ok
t/Koha......................ok
t/Languages.................ok
t/Maintainance..............ok
t/Output....................ok
t/Record....................ok
t/Review....................okbuild/koha-3.00.00/t /build/koha-3.00.00/blib/PERL_MODULE_DIR /build/
t/Scrubber..................
# Failed test 'use C4::Scrubber;'
# in t/Scrubber.t at line 10.
# Tried to use 'C4::Scrubber'.
# Error: Can't locate HTML/Scrubber.pm in @INC (@INC contains: /
koha-3.00.00/blib/arch /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/
share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /
usr/share/perl/5.8 /usr/local/lib/site_perl .) at /build/koha-3.00.00/
blib/PERL_MODULE_DIR/C4/Scrubber.pm line 20.
# BEGIN failed--compilation aborted at t/Scrubber.t line 10.
# Compilation failed in require at (eval 5) line 2.
# BEGIN failed--compilation aborted at (eval 5) line 2.
t/Scrubber..................NOK 1# Note: scrubber test output will
have whitespace collapsed for readability
Can't locate object method "new" via package "C4::Scrubber" at t/
Scrubber.t line 48.
# Looks like you planned 10 tests but only ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test died just after 1.
t/Scrubber..................dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
t/Stats.....................ok
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------------------
-------
t/Scrubber.t 255 65280 10 19 190.00% 1-10
Failed 1/19 test scripts, 94.74% okay. 10/47 subtests failed, 78.72%
okay.
make: *** [test_dynamic] Error 255
OK, how do I progress beyond this point?
Advice very much appreciated.
Sean