[Koha] Errors on Koha install on 1&1 server

John Clarke uk at clarkent.com
Fri Jan 26 01:27:14 NZDT 2007


Hi,
I'm getting numerous permissions and Perl version errors/failures when
attempting to install Koha on my 1&1 Business Pro account. I've pasted some
of the error messages below. Perhaps the permissions problems occur because
I don't have root access? I'm very new to Linux. Does this look like
something that can be fixed? Any suggestions will be appreciated.

-John

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Running make install
mkdir /usr/local/lib/perl/5.6.1: Permission denied at
/usr/share/perl/5.6.1/ExtUtils/Install.pm line 81
make: *** [pure_site_install] Error 255
  /usr/bin/make install  -- NOT OK
u8499398:~/library/koha > u8499398
cat: koha.version: No such file or directory

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Perl v5.8.0 required--this is only v5.6.1, stopped at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+Runn
ing make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1 -e 'use Test::Harness
qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/batch.............#     Failed test (t/batch.t at line 4)
#     Tried to use 'MARC::File::XML'.
#     Error:  Can't locate MARC/Record.pm in @INC (@INC contains: blib/arch
blib/lib /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/perl/5.6.1
/usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl .
/usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1
/usr/local/lib/site_perl .) at blib/lib/MARC/File/XML.pm line 7.
# BEGIN failed--compilation aborted at blib/lib/MARC/File/XML.pm line 7.
# Compilation failed in require at (eval 1) line 2.
#     Failed test (t/batch.t at line 5)
#     Tried to use 'MARC::Batch'.
#     Error:  Can't locate MARC/Batch.pm in @INC (@INC contains: blib/arch
blib/lib /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/perl/5.6.1
/usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl .
/usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1
/usr/local/lib/site_perl .) at (eval 3) line 2.
Can't locate object method "new" via package "MARC::Batch" (perhaps you
forgot to load "MARC::Batch"?) at t/batch.t line 7.
# Looks like you planned 23 tests but only ran 2.
# Looks like your test died just after 2.
t/batch.............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-23
        Failed 23/23 tests, 0.00% okay
t/encode............Can't locate MARC/Record.pm in @INC (@INC contains:
blib/arch blib/lib /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1
/usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1
/usr/local/lib/site_perl . /usr/local/lib/perl/5.6.1
/usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl .) at
blib/lib/MARC/File/XML.pm line 7.
BEGIN failed--compilation aborted at blib/lib/MARC/File/XML.pm line 7.
Compilation failed in require at t/encode.t line 4.
BEGIN failed--compilation aborted at t/encode.t line 4.
t/encode............dubious
        Test returned status 2 (wstat 512, 0x200)
t/escape............NOK 1#     Failed test (t/escape.t at line 7)
#     Tried to use 'MARC::File::XML'.
#     Error:  Can't locate MARC/Record.pm in @INC (@INC contains: blib/arch
blib/lib /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/perl/5.6.1
/usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl .
/usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1
/usr/local/lib/site_perl .) at blib/lib/MARC/File/XML.pm line 7.
# BEGIN failed--compilation aborted at blib/lib/MARC/File/XML.pm line 7.
# Compilation failed in require at (eval 1) line 2.
Undefined subroutine &MARC::File::XML::escape called at t/escape.t line 9.
# Looks like you planned 10 tests but only ran 1.
# Looks like your test died just after 1.
t/escape............dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-10
        Failed 10/10 tests, 0.00% okay
t/namespace.........Can't locate MARC/Batch.pm in @INC (@INC contains:
blib/arch blib/lib /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1
/usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1
/usr/local/lib/site_perl . /usr/local/lib/perl/5.6.1
/usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl .) at
t/namespace.t line 4.
BEGIN failed--compilation aborted at t/namespace.t line 4.
t/namespace.........dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED test 1
        Failed 1/1 tests, 0.00% okay
Failed Test   Status Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------
t/batch.t        255 65280    23   23 100.00%  1-23
t/encode.t         2   512    ??   ??       %  ??
t/escape.t       255 65280    10   10 100.00%  1-10
t/namespace.t      2   512     1    1 100.00%  1
Failed 4/4 test scripts, 0.00% okay. 34/34 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 2
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force



More information about the Koha mailing list