[Koha] Trouble with Business::ISBN for Lenny

harry wykman harrybw at iinet.net.au
Fri Oct 31 16:18:03 NZDT 2008


Hello,

I am trying to install koha3 on Debian 'lenny' using the instructions 
for 'sarge'.

I know that this is a problem straight up but it was the best strategy I 
could come up with given no other resources that I could find.

All has worked well to this point.  I ran:

# perl -MCPAN -e 'install Business::ISBN'

and got the following output:

CPAN: Storable loaded ok (v2.18)
Going to read /root/.cpan/Metadata
  Database was generated on Thu, 30 Oct 2008 22:26:50 GMT
Running install for module 'Business::ISBN'
CPAN: Data::Dumper loaded ok (v2.121_14)
'YAML' not installed, falling back to Data::Dumper and Storable to read 
prefs '/root/.cpan/prefs'
Running make for B/BD/BDFOY/Business-ISBN-2.04.tar.gz
CPAN: Digest::SHA loaded ok (v5.45)
CPAN: Compress::Zlib loaded ok (v2.008)
Checksum for 
/root/.cpan/sources/authors/id/B/BD/BDFOY/Business-ISBN-2.04.tar.gz ok
Business-ISBN-2.04/
Business-ISBN-2.04/bad-isbn13s.txt
Business-ISBN-2.04/bad-isbns.txt
Business-ISBN-2.04/Changes
Business-ISBN-2.04/examples/
Business-ISBN-2.04/examples/README
Business-ISBN-2.04/isbn13s.txt
Business-ISBN-2.04/isbns.txt
Business-ISBN-2.04/lib/
Business-ISBN-2.04/lib/ISBN.pm
Business-ISBN-2.04/lib/ISBN10.pm
Business-ISBN-2.04/lib/ISBN13.pm
Business-ISBN-2.04/LICENSE
Business-ISBN-2.04/Makefile.PL
Business-ISBN-2.04/MANIFEST
Business-ISBN-2.04/META.yml
Business-ISBN-2.04/README
Business-ISBN-2.04/scripts/
Business-ISBN-2.04/scripts/get_isbn_data.pl
Business-ISBN-2.04/t/
Business-ISBN-2.04/t/albania.t
Business-ISBN-2.04/t/constants.t
Business-ISBN-2.04/t/interface.t
Business-ISBN-2.04/t/isbn10.t
Business-ISBN-2.04/t/isbn13.t
Business-ISBN-2.04/t/load.t
Business-ISBN-2.04/t/png_barcode.t
Business-ISBN-2.04/t/pod.t
Business-ISBN-2.04/t/pod_coverage.t
Business-ISBN-2.04/t/rt/
Business-ISBN-2.04/t/rt/27107.t
Business-ISBN-2.04/t/rt/28843.t
Business-ISBN-2.04/t/rt/29089.t
Business-ISBN-2.04/t/rt/29292.t
Business-ISBN-2.04/t/test_manifest
Business-ISBN-2.04/t/valid_isbn_checksum.t
Business-ISBN-2.04/t/xisbn10.t
CPAN: File::Temp loaded ok (v0.18)
Warning (usually harmless): 'YAML' not installed, will not store 
persistent state

  CPAN.pm: Going to build B/BD/BDFOY/Business-ISBN-2.04.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Business::ISBN
Could not read '/root/.cpan/build/Business-ISBN-2.04-LqgiB9/META.yml'. 
Falling back to other methods to determine prerequisites
cp lib/ISBN10.pm blib/lib/Business/ISBN10.pm
cp lib/ISBN13.pm blib/lib/Business/ISBN13.pm
cp lib/ISBN.pm blib/lib/Business/ISBN.pm
Manifying blib/man3/ISBN10.3pm
Manifying blib/man3/ISBN13.3pm
Manifying blib/man3/ISBN.3pm
  BDFOY/Business-ISBN-2.04.tar.gz
  /usr/bin/make -- OK
Warning (usually harmless): 'YAML' not installed, will not store 
persistent state
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" 
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/albania................ok                                                 
 
t/constants..............ok                                                 
 
t/interface..............ok                                                 
 
t/isbn10.................ok 
1/0#                                             
# Checking ISBNs... (this may take a bit)
t/isbn10.................ok 
38/0#                                            
# Checking bad ISBNs... (this should be fast)
t/isbn10.................ok                                                 
 
t/isbn13.................ok 
1/0#                                             
# Checking ISBN13s... (this may take a bit)
#
# Checking bad ISBN13s... (this should be fast)
t/isbn13.................ok                                                 
 
t/load...................ok                                                 
 
t/png_barcode............NOK 
5/8                                             
#   Failed test 'PNG defined for 0596527241'
#   at t/png_barcode.t line 31.
# Eval error for 0596527241: Can't locate object method "Small" via 
package "GD::Font" (perhaps you forgot to load "GD::Font"?) at 
/usr/local/share/perl/5.10.0/GD/Barcode/EAN13.pm line 153.
t/png_barcode............NOK 
8/8                                             
#   Failed test 'PNG defined for 9780596527242'
#   at t/png_barcode.t line 31.
# Eval error for 9780596527242: Can't locate object method "Small" via 
package "GD::Font" (perhaps you forgot to load "GD::Font"?) at 
/usr/local/share/perl/5.10.0/GD/Barcode/EAN13.pm line 153.
# Looks like you failed 2 tests of 8.
t/png_barcode............dubious                                            
 
    Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 5, 8
    Failed 2/8 tests, 75.00% okay
t/pod....................skipped
        all skipped: Test::Pod 1.00 required for testing POD
t/pod_coverage...........ok                                                 
 
t/valid_isbn_checksum....ok                                                 
 
t/xisbn10................ok 1/13You need LWP::Simple to use xisbn() at 
t/xisbn10.t line 58
You need LWP::Simple to use xisbn() at t/xisbn10.t line 65
You need LWP::Simple to use xisbn() at t/xisbn10.t line 58
You need LWP::Simple to use xisbn() at t/xisbn10.t line 65
t/xisbn10................ok                                                 
 
Failed Test     Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/png_barcode.t    2   512     8    2  5 8
1 test skipped.
Failed 1/11 test scripts. 2/139 subtests failed.
Files=11, Tests=139, 41 wallclock secs (40.29 cusr +  0.20 csys = 40.49 CPU)
Failed 1/11 test programs. 2/139 subtests failed.
make: *** [test_dynamic] Error 255
  BDFOY/Business-ISBN-2.04.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports BDFOY/Business-ISBN-2.04.tar.gz
Warning (usually harmless): 'YAML' not installed, will not store 
persistent state
Running make install
  make test had returned bad status, won't install without force


Any help would be appreciated.

Thanks,

Harry



More information about the Koha mailing list