Hi, Does anyone know what's wrong with my system? It is a RedHat-7.2. Manually installed the following perlmodules: HTML::Template Test::Simple (for Test::More) Set::Scalar Unfortunately MARC::Record cannot install.... [root@localhost MARC-Record-1.15]# perl Makefile.PL Writing Makefile for MARC::Record [root@localhost MARC-Record-1.15]# make cp pl/marcdump blib/script/marcdump /usr/bin/perl -I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 -MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/marcdump cp pl/marclint blib/script/marclint /usr/bin/perl -I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 -MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/marclint Manifying blib/man3/MARC::Doc::Tutorial.3pm Manifying blib/man3/MARC::File::MicroLIF.3pm Manifying blib/man3/MARC::File.3pm Manifying blib/man3/MARC::Lint.3pm Manifying blib/man1/marcdump.1 Manifying blib/man1/marclint.1 Manifying blib/man3/MARC::Field.3pm Manifying blib/man3/MARC::File::USMARC.3pm Manifying blib/man3/MARC::Batch.3pm Manifying blib/man3/MARC::Record.3pm [root@localhost MARC-Record-1.15]# make test PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/00.load........ok t/00.version.....ok t/10.camel.......NOK 27# Failed test (t/10.camel.t at line 102) # got: undef # expected: 'Larry Wall, Tom Christiansen & Jon Orwant.' # Looks like you failed 1 tests of 27. t/10.camel.......dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 27 Failed 1/27 tests, 96.30% okay t/20.clone.......ok t/50.batch.......NOK 3# Failed test (t/50.batch.t at line 25) # got: '0' # expected: '10' t/50.batch.......ok 5/136Field MAR must have at least one subfield at blib/lib/MARC/Record.pm line 535 # Looks like you planned 136 tests but only ran 5. # Looks like your test died just after 5. t/50.batch.......dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 3, 6-136 Failed 132/136 tests, 2.94% okay t/60.insert......NOK 4# Failed test (t/60.insert.t at line 18) # Record object creation isn't defined Can't call method "field" on an undefined value at t/60.insert.t line 20. # Looks like you planned 12 tests but only ran 4. # Looks like your test died just after 4. t/60.insert......dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 4-12 Failed 9/12 tests, 25.00% okay t/60.update......NOK 4# Failed test (t/60.update.t at line 23) # new 245 isn't a reference Can't call method "update" without a package or object reference at t/60.update.t line 25. # Looks like you planned 10 tests but only ran 4. # Looks like your test died just after 4. t/60.update......dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 4-10 Failed 7/10 tests, 30.00% okay t/61.append......NOK 4# Failed test (t/61.append.t at line 18) # Record object creation isn't defined Can't call method "field" on an undefined value at t/61.append.t line 20. # Looks like you planned 7 tests but only ran 4. # Looks like your test died just after 4. t/61.append......dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 4-7 Failed 4/7 tests, 42.86% okay t/61.replace.....NOK 5# Failed test (t/61.replace.t at line 22) # The object isn't a reference t/61.replace.....ok 6/8Can't call method "replace_with" without a package or object reference at t/61.replace.t line 30. # Looks like you planned 8 tests but only ran 6. # Looks like your test died just after 6. t/61.replace.....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 5, 7-8 Failed 3/8 tests, 62.50% okay t/62.before......NOK 4# Failed test (t/62.before.t at line 18) # Record object creation isn't defined Can't call method "field" on an undefined value at t/62.before.t line 20. # Looks like you planned 7 tests but only ran 4. # Looks like your test died just after 4. t/62.before......dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 4-7 Failed 4/7 tests, 42.86% okay t/63.after.......NOK 4# Failed test (t/63.after.t at line 18) # Record object creation isn't defined Can't call method "field" on an undefined value at t/63.after.t line 20. # Looks like you planned 7 tests but only ran 4. # Looks like your test died just after 4. t/63.after.......dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 4-7 Failed 4/7 tests, 42.86% okay t/64.create......ok t/66.grouped.....NOK 4# Failed test (t/66.grouped.t at line 18) # Record object creation isn't defined t/66.grouped.....ok 5/6Can't call method "insert_grouped_field" on an undefined value at t/66.grouped.t line 23. # Looks like you planned 6 tests but only ran 5. # Looks like your test died just after 5. t/66.grouped.....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 4, 6 Failed 2/6 tests, 66.67% okay t/70.croak.......ok t/75.warnings....NOK 2# Failed test (t/75.warnings.t at line 22) # got: '1' # expected: '2' t/75.warnings....NOK 3# Failed test (t/75.warnings.t at line 23) # got: '0' # expected: '2' t/75.warnings....NOK 4# Failed test (t/75.warnings.t at line 41) # got: '12' # expected: '6' t/75.warnings....ok 5/5# Looks like you failed 3 tests of 5. t/75.warnings....dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 2-4 Failed 3/5 tests, 40.00% okay t/80.alphatag....NOK 16# Failed test (t/80.alphatag.t at line 82) # got: '00026 00025 ' # expected: '00124 00061 RAZ00150000010000170001511000300003212a123bTweak aGumble, Seth aFollett Library Resources' Field MAR must have at least one subfield at blib/lib/MARC/Record.pm line 535 # Looks like you planned 17 tests but only ran 16. # Looks like your test died just after 16. t/80.alphatag....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 16-17 Failed 2/17 tests, 88.24% okay t/99.pod.........skipped all skipped: Test::Pod required for testing POD Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/10.camel.t 1 256 27 1 3.70% 27 t/50.batch.t 255 65280 136 132 97.06% 3 6-136 t/60.insert.t 255 65280 12 9 75.00% 4-12 t/60.update.t 255 65280 10 7 70.00% 4-10 t/61.append.t 255 65280 7 4 57.14% 4-7 t/61.replace.t 255 65280 8 3 37.50% 5 7-8 t/62.before.t 255 65280 7 4 57.14% 4-7 t/63.after.t 255 65280 7 4 57.14% 4-7 t/66.grouped.t 255 65280 6 2 33.33% 4 6 t/75.warnings.t 3 768 5 3 60.00% 2-4 t/80.alphatag.t 255 65280 17 2 11.76% 16-17 1 test skipped. Failed 11/17 test scripts, 35.29% okay. 171/273 subtests failed, 37.36% okay. make: *** [test_dynamic] Błąd 11 [root@localhost MARC-Record-1.15]#
<quote who="Benedict">
Hi, Does anyone know what's wrong with my system? It is a RedHat-7.2. Manually installed the following perlmodules: HTML::Template Test::Simple (for Test::More) Set::Scalar
Unfortunately MARC::Record cannot install....
The problem is Perl 5.6.0 (pre-installed in 7.2), it's said to be the most buggy release. The 'make test' fails for MARC::Record in this version. You can find the rpm files for upgrading it to 5.6.1 in the following URL: https://rhn.redhat.com/errata/RHBA-2002-023.html I had the same problem which was solved by upgrading Perl with those rpm files. Regards, Saiful -- DRTC Bangalore, India. http://purl.org/net/saiful
participants (2)
-
Benedict -
Saiful Amin