Liebe Perl-Community,
seit heute habe ich ein MacBook Pro mit OSX 10.6.8. Leider fehlt mir das Modul GD::Graph. Der Test
perl -e "use GD::Graph" gibt eine Fehlermeldung aus.
Jetzt habe ich versucht das Modul über die CPAN-Shell (
perl -MCPAN -e shell) durch
install GD::Graph zu installieren, was leider nicht geklappt hat.
Kann mir einer erklären, was ich falsch mache?
Vielen Dank schonmal!
Als Anhang noch die kilometerlange Ausgabe der CPAN-Shell:
Quotecpan[6]> install GD::Graph
Running install for module 'GD::Graph'
Running make for B/BW/BWARFIELD/GDGraph-1.44.tar.gz
Has already been unwrapped into directory /Users/benedikt/.cpan/build/GDGraph-1.44-HqYsDG
Has already been made
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/axestype.t .. Can't locate GD.pm in @INC (@INC contains: /Users/benedikt/.cpan/build/GDGraph-1.44-HqYsDG/blib/lib /Users/benedikt/.cpan/build/GDGraph-1.44-HqYsDG/blib/arch /Library/Perl/Updates/5.10.0/darwin-thread-multi-2level /Library/Perl/Updates/5.10.0 /System/Library/Perl/5.10.0/darwin-thread-multi-2level /System/Library/Perl/5.10.0 /Library/Perl/5.10.0/darwin-thread-multi-2level /Library/Perl/5.10.0 /Network/Library/Perl/5.10.0/darwin-thread-multi-2level /Network/Library/Perl/5.10.0 /Network/Library/Perl /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level /System/Library/Perl/Extras/5.10.0 .) at /Users/benedikt/.cpan/build/GDGraph-1.44-HqYsDG/blib/lib/GD/Graph.pm line 38.
BEGIN failed--compilation aborted at /Users/benedikt/.cpan/build/GDGraph-1.44-HqYsDG/blib/lib/GD/Graph.pm line 38.
Compilation failed in require at /Users/benedikt/.cpan/build/GDGraph-1.44-HqYsDG/blib/lib/GD/Graph/axestype.pm line 18.
BEGIN failed--compilation aborted at /Users/benedikt/.cpan/build/GDGraph-1.44-HqYsDG/blib/lib/GD/Graph/axestype.pm line 18.
Compilation failed in require at /Users/benedikt/.cpan/build/GDGraph-1.44-HqYsDG/blib/lib/GD/Graph/mixed.pm line 18.
BEGIN failed--compilation aborted at /Users/benedikt/.cpan/build/GDGraph-1.44-HqYsDG/blib/lib/GD/Graph/mixed.pm line 18.
Compilation failed in require at t/axestype.t line 11.
BEGIN failed--compilation aborted at t/axestype.t line 11.
t/axestype.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 13/13 subtests
t/bugfixes.t .. 1/33
# Failed test 'use GD::Graph;'
# at t/bugfixes.t line 6.
# Tried to use 'GD::Graph'.
# Error: Can't locate GD.pm in @INC (@INC contains: /Users/benedikt/.cpan/build/GDGraph-1.44-HqYsDG/blib/lib /Users/benedikt/.cpan/build/GDGraph-1.44-HqYsDG/blib/arch /Library/Perl/Updates/5.10.0/darwin-thread-multi-2level /Library/Perl/Updates/5.10.0 /System/Library/Perl/5.10.0/darwin-thread-multi-2level /System/Library/Perl/5.10.0 /Library/Perl/5.10.0/darwin-thread-multi-2level /Library/Perl/5.10.0 /Network/Library/Perl/5.10.0/darwin-thread-multi-2level /Network/Library/Perl/5.10.0 /Network/Library/Perl /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level /System/Library/Perl/Extras/5.10.0 .) at /Users/benedikt/.cpan/build/GDGraph-1.44-HqYsDG/blib/lib/GD/Graph.pm line 38.
# BEGIN failed--compilation aborted at /Users/benedikt/.cpan/build/GDGraph-1.44-HqYsDG/blib/lib/GD/Graph.pm line 38.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
Can't locate object method "new" via package "GD::Graph" at t/bugfixes.t line 8.
# Looks like you planned 33 tests but ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test exited with 255 just after 1.
t/bugfixes.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 33/33 subtests
t/colour.t .... ok
t/data.t ...... ok
t/error.t ..... ok
t/use.t ....... Can't locate GD.pm in @INC (@INC contains: /Users/benedikt/.cpan/build/GDGraph-1.44-HqYsDG/blib/lib /Users/benedikt/.cpan/build/GDGraph-1.44-HqYsDG/blib/arch /Library/Perl/Updates/5.10.0/darwin-thread-multi-2level /Library/Perl/Updates/5.10.0 /System/Library/Perl/5.10.0/darwin-thread-multi-2level /System/Library/Perl/5.10.0 /Library/Perl/5.10.0/darwin-thread-multi-2level /Library/Perl/5.10.0 /Network/Library/Perl/5.10.0/darwin-thread-multi-2level /Network/Library/Perl/5.10.0 /Network/Library/Perl /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level /System/Library/Perl/Extras/5.10.0 .) at /Users/benedikt/.cpan/build/GDGraph-1.44-HqYsDG/blib/lib/GD/Graph.pm line 38.
BEGIN failed--compilation aborted at /Users/benedikt/.cpan/build/GDGraph-1.44-HqYsDG/blib/lib/GD/Graph.pm line 38.
Compilation failed in require at t/use.t line 7.
BEGIN failed--compilation aborted at t/use.t line 7.
t/use.t ....... Dubious, test returned 2 (wstat 512, 0x200)
Failed 10/10 subtests
Test Summary Report
-------------------
t/axestype.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 13 tests but ran 0.
t/bugfixes.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: Bad plan. You planned 33 tests but ran 1.
t/use.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 10 tests but ran 0.
Files=6, Tests=63, 0 wallclock secs ( 0.04 usr 0.02 sys + 0.08 cusr 0.02 csys = 0.16 CPU)
Result: FAIL
Failed 3/6 test programs. 1/63 subtests failed.
make: *** [test_dynamic] Error 2
BWARFIELD/GDGraph-1.44.tar.gz
make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports BWARFIELD/GDGraph-1.44.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
BWARFIELD/GDGraph-1.44.tar.gz : make_test NO