HTML::Hyphenate unter perl 5.14.2: Argument "6.57_05" isn't numeric in numeric ge (>=) at Makefile.PL line 5.

28/05/2013 - 03:18 von Georg Pfeiffer | Report spam
Hallo,

hat schon mal jemand HTML::Hyphenate (v.0.5) unter Perl 5.14 zu laufen
bekommen? Bislang (unter Perl 5.8) liefs bei mir klaglos, allein bei dem
Versuch, es unter 5.14 neu zu installieren sagt mir das Makefile:

$ perl Makefile.PL
Argument "6.57_05" isn't numeric in numeric ge (>=) at Makefile.PL line 5.
Writing Makefile for HTML::Hyphenate
Writing MYMETA.yml

und make test liefert lauter Fehler (Ausgabe am Ende). Der ge-Fehler ist –
mit anderen Modulen – mehrfach berichtet, aber ich habe noch keinen
Lösungshinweis gefunden und bin total ratlos.

Gruß
Georg


$ make test
PERL_DL_NONLAZY=1 /home/usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_base.t ... 2/16
# Failed test 'use HTML::Hyphenate;'
# at t/00_base.t line 18.
# Tried to use 'HTML::Hyphenate'.
# Error: Unknown type: 'integer' at /home/gp/lib/perl/HTML-
Hyphenate-0.05/blib/lib/HTML/Hyphenate.pm line 84
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
# Testing HTML::Hyphenate 0.05

# Failed test 'new() died'
# at t/00_base.t line 21.
# Error was: Can't locate object method "new" via package
"HTML::Hyphenate" at /usr/share/perl/5.14/Test/More.pm line 668.

# Failed test 'HTML::Hyphenate->can('html')'
# at t/00_base.t line 30.
# HTML::Hyphenate->can('html') failed

# Failed test 'HTML::Hyphenate->can('style')'
# at t/00_base.t line 30.
# HTML::Hyphenate->can('style') failed

# Failed test 'HTML::Hyphenate->can('min_length')'
# at t/00_base.t line 30.
# HTML::Hyphenate->can('min_length') failed

# Failed test 'HTML::Hyphenate->can('min_pre')'
# at t/00_base.t line 30.
# HTML::Hyphenate->can('min_pre') failed

# Failed test 'HTML::Hyphenate->can('min_post')'
# at t/00_base.t line 30.
# HTML::Hyphenate->can('min_post') failed

# Failed test 'HTML::Hyphenate->can('output_xml')'
# at t/00_base.t line 30.
# HTML::Hyphenate->can('output_xml') failed

# Failed test 'HTML::Hyphenate->can('default_lang')'
# at t/00_base.t line 30.
# HTML::Hyphenate->can('default_lang') failed

# Failed test 'HTML::Hyphenate->can('default_included')'
# at t/00_base.t line 30.
# HTML::Hyphenate->can('default_included') failed

# Failed test 'HTML::Hyphenate->can('classes_included')'
# at t/00_base.t line 30.
# HTML::Hyphenate->can('classes_included') failed

# Failed test 'HTML::Hyphenate->can('classes_excluded')'
# at t/00_base.t line 30.
# HTML::Hyphenate->can('classes_excluded') failed

# Failed test 'HTML::Hyphenate->can('hyphenated')'
# at t/00_base.t line 30.
# HTML::Hyphenate->can('hyphenated') failed
# Looks like you failed 13 tests of 16.
t/00_base.t ... Dubious, test returned 13 (wstat 3328, 0xd00)
Failed 13/16 subtests
(less 1 skipped subtest: 2 okay)
t/00_signature.t .. skipped: Set the environment variable TEST_SIGNATURE
to enable this test.
t/01_default.t Unknown type: 'integer' at /home/gp/lib/perl/HTML-
Hyphenate-0.05/blib/lib/HTML/Hyphenate.pm line 84
Compilation failed in require at t/01_default.t line 126.
BEGIN failed--compilation aborted at t/01_default.t line 126.
t/01_default.t Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/02_classes.t Unknown type: 'integer' at /home/gp/lib/perl/HTML-
Hyphenate-0.05/blib/lib/HTML/Hyphenate.pm line 84
Compilation failed in require at t/02_classes.t line 116.
BEGIN failed--compilation aborted at t/02_classes.t line 116.
t/02_classes.t Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/03_lang.t ... Unknown type: 'integer' at /home/gp/lib/perl/HTML-
Hyphenate-0.05/blib/lib/HTML/Hyphenate.pm line 84
Compilation failed in require at t/03_lang.t line 340.
BEGIN failed--compilation aborted at t/03_lang.t line 340.
t/03_lang.t ... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/09_pod.t ok
t/10_pod-coverage.t ... ok
t/11_test-coverage.t .. skipped: Test::TestCoverage required for testing
test coverage
t/12_manifest.t ... skipped: Test::CheckManifest required for testing
test coverage
t/13_critic.t . skipped: Author test. Set $ENV{TEST_AUTHOR} to a
true value to run.
t/14_kwalitee.t ... skipped: Test::Kwalitee not installed; skipping
t/15_spell.t .. skipped: Author test. Set $ENV{TEST_AUTHOR} to a
true value to run.
t/rt.t Unknown type: 'integer' at /home/gp/lib/perl/HTML-
Hyphenate-0.05/blib/lib/HTML/Hyphenate.pm line 84
Compilation failed in require at t/rt.t line 12.
BEGIN failed--compilation aborted at t/rt.t line 12.
t/rt.t 1/3 # Looks like you planned 3 tests but ran 1.
# Looks like your test exited with 2 just after 1.
t/rt.t Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/3 subtests

Test Summary Report
-
t/00_base.t (Wstat: 3328 Tests: 16 Failed: 13)
Failed tests: 2-3, 5-15
Non-zero exit status: 13
t/01_default.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/02_classes.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/03_lang.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/rt.t (Wstat: 512 Tests: 1 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 3 tests but ran 1.
Files, Tests!, 9 wallclock secs ( 0.25 usr 0.05 sys + 5.53 cusr
0.57 csys = 6.40 CPU)
Result: FAIL
Failed 5/13 test programs. 13/21 subtests failed.
make: *** [test_dynamic] Fehler 2
 

Lesen sie die antworten

#1 Bjoern Hoehrmann
28/05/2013 - 10:03 | Warnen spam
* Georg Pfeiffer wrote in de.comp.lang.perl.misc:
hat schon mal jemand HTML::Hyphenate (v.0.5) unter Perl 5.14 zu laufen
bekommen? Bislang (unter Perl 5.8) liefs bei mir klaglos, allein bei dem
Versuch, es unter 5.14 neu zu installieren sagt mir das Makefile:

$ perl Makefile.PL
Argument "6.57_05" isn't numeric in numeric ge (>=) at Makefile.PL line 5.



Dann hast du vermutlich ExtUtils::MakeMaker v6.57_05 installiert. Die
Konvention ist, dass Versionen mit Unterstrich nur für Testumgebungen
geeignet sind. Ich würde empfehlen eine andere Version zu installieren.

$ make test
PERL_DL_NONLAZY=1 /home/usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_base.t ... 2/16
# Failed test 'use HTML::Hyphenate;'
# at t/00_base.t line 18.
# Tried to use 'HTML::Hyphenate'.
# Error: Unknown type: 'integer' at /home/gp/lib/perl/HTML-
Hyphenate-0.05/blib/lib/HTML/Hyphenate.pm line 84



Hier würde ich eine inkompatible Class::Meta::Express Version vermuten.
Björn Höhrmann · mailto: · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/

Ähnliche fragen