[Koha] Problem on the Installation of Perl Modules

bariki.kamara at out.ac.tz bariki.kamara at out.ac.tz
Thu May 13 01:04:51 NZST 2010


> Hi Bariki,
>
> On Wed, May 12, 2010 at 4:18 AM,  <bariki.kamara at out.ac.tz> wrote:
>> Hi Chris,
>>
>> I succeed changing to the directory
>> /home/kohaadmin/.cpan/build/Net-Z3950-ZOOM-1.25-UME4CW by running the
>> command sudo chmod, so when Am trying to do as you directed me, running
>> the command sudo make clean, Am getting the following result below
>>
>> kohaadmin at library:~/.cpan/build/Net-Z3950-ZOOM-1.25-UME4CW$ sudo make
>> clean
>> make: *** No rule to make target `clean'.  Stop.
>>
>> Can you assist on that.
>
> You can disregard that message and simply:
>
> sudo make
> sudo make test
>
> and if there are no failed tests then do
>
> sudo make install
>
> If you get errors, feel free to post them.
>
> Kind Regards,
> Chris
>
Hi Chris,
After running the sudo make test, the following errors appear;


kohaadmin at library:~/.cpan/build/Net-Z3950-ZOOM-1.25-UME4CW$ sudo 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.t .... 5/23
#   Failed test 'connection to 'z3950.indexdata.com/gils''
#   at t/1-Net-Z3950-ZOOM.t line 28.
t/1-Net-Z3950-ZOOM.t .... 20/23 # Looks like you failed 1 test of 23.
t/1-Net-Z3950-ZOOM.t .... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/23 subtests
t/10-options.t .......... ok
t/11-option-callback.t .. ok
t/12-query.t ............ 17/41 Use of uninitialized value in subroutine
entry at
/home/kohaadmin/.cpan/build/Net-Z3950-ZOOM-1.25-UME4CW/blib/lib/Net/Z3950/ZOOM.pm
line 161.
Net::Z3950::ZOOM::record_get_binary: rec is not of type ZOOM_record at
/home/kohaadmin/.cpan/build/Net-Z3950-ZOOM-1.25-UME4CW/blib/lib/Net/Z3950/ZOOM.pm
line 161.
# Looks like you planned 41 tests but only ran 17.
# Looks like your test died just after 17.
t/12-query.t ............ Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 24/41 subtests
t/13-resultset.t ........ 2/24
#   Failed test 'connection to 'z3950.indexdata.com/gils''
#   at t/13-resultset.t line 16.

#   Failed test 'found 2 records'
#   at t/13-resultset.t line 22.
Use of uninitialized value in subroutine entry at t/13-resultset.t line 31.
Net::Z3950::ZOOM::record_error: rec is not of type ZOOM_record at
t/13-resultset.t line 31.
# Looks like you planned 24 tests but only ran 5.
# Looks like you failed 2 tests of 5 run.
# Looks like your test died just after 5.
t/13-resultset.t ........ Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 21/24 subtests
t/14-sorting.t .......... ok
t/15-scan.t ............. ok
t/16-packages.t ......... 32/39
#   Failed test 'record update 2 failed 10007 'Timeout' ()'
#   at t/16-packages.t line 161.

#   Failed test 'database 'punpabrwav' has 0 records (expected 2)'
#   at t/16-packages.t line 179.

#   Failed test 'database drop 'punpabrwav' expected 235 but succeeded'
#   at t/16-packages.t line 136.
# Looks like you failed 3 tests of 39.
t/16-packages.t ......... Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/39 subtests
t/17-logging.t .......... ok
t/18-charset.t .......... 2/9
#   Failed test 'connection to 'z3950.loc.gov:7090/voyager''
#   at t/18-charset.t line 17.

#   Failed test 'search for '@attr 1=7 3879093520''
#   at t/18-charset.t line 25.

#   Failed test 'found 0 records (expected 1)'
#   at t/18-charset.t line 28.

#   Failed test 'got first record'
#   at t/18-charset.t line 31.
Use of uninitialized value in subroutine entry at
/home/kohaadmin/.cpan/build/Net-Z3950-ZOOM-1.25-UME4CW/blib/lib/Net/Z3950/ZOOM.pm
line 161.
Net::Z3950::ZOOM::record_get_binary: rec is not of type ZOOM_record at
/home/kohaadmin/.cpan/build/Net-Z3950-ZOOM-1.25-UME4CW/blib/lib/Net/Z3950/ZOOM.pm
line 161.
# Looks like you planned 9 tests but only ran 5.
# Looks like you failed 4 tests of 5 run.
# Looks like your test died just after 5.
t/18-charset.t .......... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 8/9 subtests
t/19-events.t ........... ok
t/2-ZOOM.t .............. ok
t/20-options.t .......... ok
t/21-option-callback.t .. ok
t/22-query.t ............ ok
t/23-resultset.t ........ 7/24 ZOOM error 10007 "Timeout" from diag-set
'ZOOM'# Looks like you planned 24 tests but only ran 7.
# Looks like your test died just after 7.
t/23-resultset.t ........ Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 17/24 subtests
t/24-sorting.t .......... ok
t/25-scan.t ............. ok
t/26-packages.t ......... ok
t/27-logging.t .......... ok
t/28-charset.t .......... ok
t/29-events.t ........... 8/23
#   Failed test 'event is 10 (end), expected 1 (connect)'
#   at t/29-events.t line 77.
impossible at t/29-events.t line 69.
# Looks like you planned 23 tests but only ran 8.
# Looks like you failed 1 test of 8 run.
# Looks like your test died just after 8.
t/29-events.t ........... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 16/23 subtests

Test Summary Report
-------------------
t/1-Net-Z3950-ZOOM.t  (Wstat: 256 Tests: 23 Failed: 1)
  Failed test:  5
  Non-zero exit status: 1
t/12-query.t          (Wstat: 65280 Tests: 17 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 41 tests but ran 17.
t/13-resultset.t      (Wstat: 65280 Tests: 5 Failed: 2)
  Failed tests:  2, 4
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 24 tests but ran 5.
t/16-packages.t       (Wstat: 768 Tests: 39 Failed: 3)
  Failed tests:  32, 35, 38
  Non-zero exit status: 3
t/18-charset.t        (Wstat: 65280 Tests: 5 Failed: 4)
  Failed tests:  2-5
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 9 tests but ran 5.
t/23-resultset.t      (Wstat: 65280 Tests: 7 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 24 tests but ran 7.
t/29-events.t         (Wstat: 65280 Tests: 8 Failed: 1)
  Failed test:  8
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 23 tests but ran 8.
Files=22, Tests=633, 549 wallclock secs ( 0.13 usr  0.05 sys +  0.85 cusr 
0.18 csys =  1.21 CPU)
Result: FAIL
Failed 7/22 test programs. 11/633 subtests failed.
make: *** [test_dynamic] Error 255

What might be the problem.

Regards,
Bariki G. Kamara


---------------------- CONFIDENTIALITY NOTICE --------------------------------

PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS E-MAIL

This email is intended only for the person to whom it is addressed and may
contain confidential information and may be legally privileged. If you are
not the intended recipient, you are notified that you may not use,
distribute or copy this document in any manner whatsoever. Kindly also
notify the sender by email and/or delete this e-mail. Any views or opinions
expressed in this e-mail are those of the sender and do not necessarily
coincide with those of the Open University of Tanzania.

--------------------THE OPEN UNIVERSITY OF TANZANIA--------------------------



More information about the Koha mailing list