[Koha] Koha - Install fail on 'make test'

fairul nizam fairul1981 at gmail.com
Fri May 27 14:56:39 NZST 2011


Hi all
I try to install koha 3.04 on suse 10 64 bit.
I having a syntax error when running 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/00-deprecated.t ................... ok
t/00-load.t ......................... 1/?
#   Failed test 'use C4::Breeding;'
#   at t/00-load.t line 32.
#     Tried to use 'C4::Breeding'.
#     Error:  syntax error at
/root/koha-3.04.00.000/blib/PERL_MODULE_DIR/C4/Search.pm line 497,
near "$data ~"
# syntax error at
/root/koha-3.04.00.000/blib/PERL_MODULE_DIR/C4/Search.pm line 498,
near "}->"
# syntax error at
/root/koha-3.04.00.000/blib/PERL_MODULE_DIR/C4/Search.pm line 498,
near "++;"
# syntax error at
/root/koha-3.04.00.000/blib/PERL_MODULE_DIR/C4/Search.pm line 511,
near "}"
# Compilation failed in require at
/root/koha-3.04.00.000/blib/PERL_MODULE_DIR/C4/Heading.pm line 26.
# BEGIN failed--compilation aborted at
/root/koha-3.04.00.000/blib/PERL_MODULE_DIR/C4/Heading.pm line 26.
# Compilation failed in require at
/root/koha-3.04.00.000/blib/PERL_MODULE_DIR/C4/Biblio.pm line 37.
# Compilation failed in require at
/root/koha-3.04.00.000/blib/PERL_MODULE_DIR/C4/Breeding.pm line 23.
# BEGIN failed--compilation aborted at
/root/koha-3.04.00.000/blib/PERL_MODULE_DIR/C4/Breeding.pm line 23.
# Compilation failed in require at (eval 10) line 2.
# BEGIN failed--compilation aborted at (eval 10) line 2.
Bailout called.  Further testing stopped:  ***** PROBLEMS LOADING FILE
'C4::Breeding'
# Tests were run but no plan was declared and done_testing() was not seen.
FAILED--Further testing stopped: ***** PROBLEMS LOADING FILE 'C4::Breeding'
make: *** [test_dynamic] Error 255

Please advice
Thanks


More information about the Koha mailing list