[Koha-patches] Problem installing Net::Z3950::ZOOM module
Nathan Nyarko Sackey
nathans at aiti-kace.com.gh
Fri Apr 16 22:08:52 CEST 2010
Hi All,
I am Nathan.
I have problems installing the above mentioned module
I will appreciate if anyone can help.
After running the install Net::Z3950::ZOOM ,
the output is as below.
>Running install for module 'Net::Z3950::ZOOM'
>Running make for M/MI/MIRK/Net-Z3950-ZOOM-1.25.tar.gz
> Has already been unwrapped into directory /root/.cpan/build/Net-Z3950ZOOM-1.25XyFmhL
> '/usr/bin/perl Makefile.PL' returned status 512, won't make
>Running make test
> Make had some problems, won't test
>Running make install
> Make had some problems, won't install
I think this was the only module i had problems installing.
After everything, 'make test' generated this output
>linux-v6k6:~/koha-3.00.00 # 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.t .................. ok
t/Barcodes_PrinterConfig.t .. ok
t/Bookfund.t ................ ok
t/Bookseller.t .............. ok
t/Boolean.t ................. ok
t/Branch.t .................. 1/1
# Failed test 'use C4::Branch;'
# at t/Branch.t line 12.
# Tried to use 'C4::Branch'.
# Error: Can't locate ZOOM.pm in @INC (@INC contains: /root/koha-3.00.00/blib/PERL_MODULE_DIR /root/koha-3.00.00/blib/arch /usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Context.pm line 84.
# BEGIN failed--compilation aborted at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Context.pm line 84.
# Compilation failed in require at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Branch.pm line 21.
# BEGIN failed--compilation aborted at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Branch.pm line 21.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Looks like you failed 1 test of 1.
t/Branch.t .................. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/Calendar.t ................ ok
t/Charset.t ................. ok
t/Debug.t ................... # BEFORE use: $debug is not defined
# BEFORE use: $cgi_debug is not defined
t/Debug.t ................... 1/3 # AFTER use: $debug is 0
# AFTER use: $cgi_debug is 0
# Done.
t/Debug.t ................... ok
t/dummy.t ................... ok
t/Input.t ................... 1/1
# Failed test 'use C4::Input;'
# at t/Input.t line 12.
# Tried to use 'C4::Input'.
# Error: Can't locate ZOOM.pm in @INC (@INC contains: /root/koha-3.00.00/blib/PERL_MODULE_DIR /root/koha-3.00.00/blib/arch /usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Context.pm line 84.
# BEGIN failed--compilation aborted at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Context.pm line 84.
# Compilation failed in require at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Input.pm line 23.
# BEGIN failed--compilation aborted at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Input.pm line 23.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Looks like you failed 1 test of 1.
t/Input.t ................... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/Koha.t .................... Can't locate ZOOM.pm in @INC (@INC contains: /root/koha-3.00.00/blib/PERL_MODULE_DIR /root/koha-3.00.00/blib/arch /usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Context.pm line 84.
BEGIN failed--compilation aborted at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Context.pm line 84.
Compilation failed in require at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Koha.pm line 22.
BEGIN failed--compilation aborted at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Koha.pm line 22.
Compilation failed in require at t/Koha.t line 3.
BEGIN failed--compilation aborted at t/Koha.t line 3.
t/Koha.t .................... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
t/Languages.t ............... 1/1
# Failed test 'use C4::Languages;'
# at t/Languages.t line 12.
# Tried to use 'C4::Languages'.
# Error: Can't locate ZOOM.pm in @INC (@INC contains: /root/koha-3.00.00/blib/PERL_MODULE_DIR /root/koha-3.00.00/blib/arch /usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Context.pm line 84.
# BEGIN failed--compilation aborted at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Context.pm line 84.
# Compilation failed in require at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Languages.pm line 25.
# BEGIN failed--compilation aborted at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Languages.pm line 25.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Looks like you failed 1 test of 1.
t/Languages.t ............... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/Maintainance.t ............ 1/1
# Failed test 'use C4::Maintainance;'
# at t/Maintainance.t line 12.
# Tried to use 'C4::Maintainance'.
# Error: Can't locate ZOOM.pm in @INC (@INC contains: /root/koha-3.00.00/blib/PERL_MODULE_DIR /root/koha-3.00.00/blib/arch /usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Context.pm line 84.
# BEGIN failed--compilation aborted at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Context.pm line 84.
# Compilation failed in require at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Maintainance.pm line 24.
# BEGIN failed--compilation aborted at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Maintainance.pm line 24.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Looks like you failed 1 test of 1.
t/Maintainance.t ............ Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/Output.t .................. 1/1
# Failed test 'use C4::Output;'
# at t/Output.t line 9.
# Tried to use 'C4::Output'.
# Error: Can't locate ZOOM.pm in @INC (@INC contains: /root/koha-3.00.00/blib/PERL_MODULE_DIR /root/koha-3.00.00/blib/arch /usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Context.pm line 84.
# BEGIN failed--compilation aborted at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Context.pm line 84.
# Compilation failed in require at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Output.pm line 30.
# BEGIN failed--compilation aborted at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Output.pm line 30.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Looks like you failed 1 test of 1.
t/Output.t .................. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/Record.t .................. ok
t/Review.t .................. 1/1
# Failed test 'use C4::Review;'
# at t/Review.t line 12.
# Tried to use 'C4::Review'.
# Error: Can't locate ZOOM.pm in @INC (@INC contains: /root/koha-3.00.00/blib/PERL_MODULE_DIR /root/koha-3.00.00/blib/arch /usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Context.pm line 84.
# BEGIN failed--compilation aborted at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Context.pm line 84.
# Compilation failed in require at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Review.pm line 21.
# BEGIN failed--compilation aborted at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Review.pm line 21.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Looks like you failed 1 test of 1.
t/Review.t .................. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
t/Scrubber.t ................ 1/10
# Failed test 'use C4::Scrubber;'
# at t/Scrubber.t line 10.
# Tried to use 'C4::Scrubber'.
# Error: Can't locate ZOOM.pm in @INC (@INC contains: /root/koha-3.00.00/t /root/koha-3.00.00/blib/PERL_MODULE_DIR /root/koha-3.00.00/blib/arch /usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Context.pm line 84.
# BEGIN failed--compilation aborted at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Context.pm line 84.
# Compilation failed in require at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Scrubber.pm line 22.
# BEGIN failed--compilation aborted at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Scrubber.pm line 22.
# Compilation failed in require at (eval 6) line 2.
# BEGIN failed--compilation aborted at (eval 6) line 2.
# 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 ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 255 just after 1.
t/Scrubber.t ................ Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 10/10 subtests
t/Stats.t ................... 1/1
# Failed test 'use C4::Stats;'
# at t/Stats.t line 12.
# Tried to use 'C4::Stats'.
# Error: Can't locate ZOOM.pm in @INC (@INC contains: /root/koha-3.00.00/blib/PERL_MODULE_DIR /root/koha-3.00.00/blib/arch /usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Context.pm line 84.
# BEGIN failed--compilation aborted at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Context.pm line 84.
# Compilation failed in require at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Stats.pm line 23.
# BEGIN failed--compilation aborted at /root/koha-3.00.00/blib/PERL_MODULE_DIR/C4/Stats.pm line 23.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Looks like you failed 1 test of 1.
t/Stats.t ................... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
Test Summary Report
-------------------
t/Branch.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/Input.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/Koha.t (Wstat: 512 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 2
Parse errors: Bad plan. You planned 2 tests but ran 1.
t/Languages.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/Maintainance.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/Output.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/Review.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
t/Scrubber.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: Bad plan. You planned 10 tests but ran 1.
t/Stats.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=19, Tests=37, 1 wallclock secs ( 0.06 usr 0.02 sys + 0.97 cusr 0.09 csys = 1.14 CPU)
Result: FAIL
Failed 9/19 test programs. 9/37 subtests failed.
make: *** [test_dynamic] Error 1
After going through the '.pm' files (scripts giving errors), i realized that most of the scripts has to use 'ZOOM' and 'C4::Context' modules
Faculty
AITI-KACE
PMB State House
Accra
Tel: +233-21-679542
Mobile: +233 24 6742719
email: nathans at aiti-kace.com.gh
http://www.aiti-kace.com.gh
-------------------------------------------------------------------------------
Never mistake motion for action. ~ Ernest Hermingway(1899-1961)
More information about the Koha-patches
mailing list