[Koha] A Little Help with Perl/CPAN

Thomas Ronayne ronayne.thomas at gmail.com
Mon Mar 4 02:51:49 NZDT 2013


I'm brand new with Koha and am having trouble with Perl/CPAN; attempting 
installation of Business::ISBN (among others, frankly I am no fan of Perl)

Executing with

    cpan install Business::ISBN

results in

    Reading '/root/.cpan/Metadata'
       Database was generated on Sat, 02 Mar 2013 11:41:03 GMT
    Running install for module 'Business::ISBN'
    Running make for B/BD/BDFOY/Business-ISBN-2.05.tar.gz
    Checksum for
    /root/.cpan/sources/authors/id/B/BD/BDFOY/Business-ISBN-2.05.tar.gz ok

       CPAN.pm: Building B/BD/BDFOY/Business-ISBN-2.05.tar.gz

    Checking if your kit is complete...
    Looks good
    Writing Makefile for Business::ISBN
    Writing MYMETA.yml and MYMETA.json
    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.3
    Manifying blib/man3/ISBN13.3
    Manifying blib/man3/ISBN.3
       BDFOY/Business-ISBN-2.05.tar.gz
       /usr/bin/make -- OK
    Running make test
    /usr/bin/perl5.16.1 "-MTest::Manifest" "-e" "run_t_manifest(0,
    'blib/lib', 'blib/arch',  )"
    t/load.t ................. ok
    t/pod.t .................. ok
    t/pod_coverage.t ......... ok
    t/constants.t ............ defined(%hash) is deprecated at
    t/constants.t line 9.
         (Maybe you should just omit the defined()?)
    t/constants.t ............ ok
    t/interface.t ............ ok
    t/albania.t .............. ok
    t/isbn10.t ............... 1/?
    #   Failed test 'Bad group code [9997022576] is invalid'
    #   at t/isbn10.t line 101.
    #          got: '-1'
    #     expected: '-2'
    #
    # Checking ISBNs... (this may take a bit)
    t/isbn10.t ............... 38/? #
    # Checking bad ISBNs... (this should be fast)
    # Looks like you failed 1 test of 39.
    t/isbn10.t ............... Dubious, test returned 1 (wstat 256, 0x100)
    Failed 1/39 subtests
    t/isbn13.t ............... 1/?
    #   Failed test 'Bad group code [978-9997022576] is invalid'
    #   at t/isbn13.t line 130.
    #          got: '-1'
    #     expected: '-2'
    #
    # Checking ISBN13s... (this may take a bit)
    #
    # Checking bad ISBN13s... (this should be fast)
    # Looks like you failed 1 test of 41.
    t/isbn13.t ............... Dubious, test returned 1 (wstat 256, 0x100)
    Failed 1/41 subtests
    t/valid_isbn_checksum.t .. ok
    t/xisbn10.t .............. ok
    t/png_barcode.t .......... skipped: GD is missing GD::Font->Small.
    Can't continue.
    t/rt/27107.t ............. ok
    t/rt/28843.t ............. ok
    t/rt/29089.t ............. #
    # Checking ISBN13s... (this may take a bit)
    t/rt/29089.t ............. ok
    t/rt/29292.t ............. ok

    Test Summary Report
    -------------------
    t/isbn10.t             (Wstat: 256 Tests: 39 Failed: 1)
       Failed test:  33
       Non-zero exit status: 1
    t/isbn13.t             (Wstat: 256 Tests: 41 Failed: 1)
       Failed test:  35
       Non-zero exit status: 1
    Files=15, Tests=149, 12 wallclock secs ( 0.05 usr  0.02 sys + 6.88
    cusr  0.07 csys =  7.02 CPU)
    Result: FAIL
    Failed 2/15 test programs. 2/149 subtests failed.
    make: *** [test_dynamic] Error 255
       BDFOY/Business-ISBN-2.05.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.05.tar.gz
    Running make install
       make test had returned bad status, won't install without force

Any ideas of what to do?

Thanks.

-- 
A riddle, wrapped in a mystery, inside an enigma but that's my story and I'm stickin' to it.



More information about the Koha mailing list