CPAN Fehler

Bash, Shell, PHP, Python, Perl, CGI
adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA

CPAN Fehler

Post by adjustman »

Hallo, ich brauche für ein Logscript das Perl-Modul "Number::Format". Ich wollte das per CPAN installieren, Fehlanzeige. make test wird mit zuvielen Fehlermeldungen beendet, also make install nicht ausgeführt. Weiss jemand nen Rat? Danke.
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten

Re: CPAN Fehler

Post by captaincrunch »

Mit genauen Fehlermeldungen könnten hier ein paar Leute sicherlich eher weiterhelfen ... ;)
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA

Re: CPAN Fehler

Post by adjustman »

ja, ok, wird lang. :wink:

Code: Select all

cpan> install Number::Format
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Fri, 15 Aug 2003 23:45:00 GMT
Running install for module Number::Format
Running make for W/WR/WRW/Number-Format-1.45.tar.gz
CPAN: MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /root/.cpan/sources/authors/id/W/WR/WRW/Number-Format-1.45.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Number-Format-1.45/
Number-Format-1.45/README
Number-Format-1.45/Format.pm
Number-Format-1.45/MANIFEST
Number-Format-1.45/CHANGES
Number-Format-1.45/t/
Number-Format-1.45/t/format_negative.t
Number-Format-1.45/t/format_picture.t
Number-Format-1.45/t/format_number.t
Number-Format-1.45/t/locale.t
Number-Format-1.45/t/format_price.t
Number-Format-1.45/t/unformat_number.t
Number-Format-1.45/t/round.t
Number-Format-1.45/t/format_bytes.t
Number-Format-1.45/t/object.t
Number-Format-1.45/Makefile.PL
Number-Format-1.45/TODO
Removing previously used /root/.cpan/build/Number-Format-1.45

  CPAN.pm: Going to build W/WR/WRW/Number-Format-1.45.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Number::Format
cp Format.pm blib/lib/Number/Format.pm
Manifying blib/man3/Number::Format.3pm
  /usr/bin/make  -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1 -e 'use Test::Harness qwt
t/format_bytes......ok 1/6Number::Format: {thousands_sep} and {decimal_point} may not be equal
 at t/format_bytes.t line 8
t/format_bytes......dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-6
        Failed 5/6 tests, 16.67% okay
t/format_negative...ok 2/7Number::Format: {thousands_sep} and {decimal_point} may not be equal
 at t/format_negative.t line 27
t/format_negative...dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 3-7
        Failed 5/7 tests, 28.57% okay
t/format_number.....ok 1/9Number::Format: {thousands_sep} and {decimal_point} may not be equal
 at t/format_number.t line 22
t/format_number.....dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-9
        Failed 8/9 tests, 11.11% okay
t/format_picture....ok 1/13Number::Format: {thousands_sep} and {decimal_point} may not be equal
 at t/format_picture.t line 25
t/format_picture....dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-13
        Failed 12/13 tests, 7.69% okay
t/format_price......ok 1/6Number::Format: {thousands_sep} and {decimal_point} may not be equal
 at t/format_price.t line 22
t/format_price......dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-6
        Failed 5/6 tests, 16.67% okay
t/locale............FAILED test 3
        Failed 1/3 tests, 66.67% okay
t/object............ok
t/round.............ok
t/unformat_number...ok 1/8Number::Format: {thousands_sep} and {decimal_point} may not be equal
 at t/unformat_number.t line 22
t/unformat_number...dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-8
        Failed 7/8 tests, 12.50% okay
Failed Test         Status Wstat Total Fail  Failed  List of Failed
--------------------------------------------------------------------------------
t/format_bytes.t         255 65280     6    5  83.33%  2-6
t/format_negative.t      255 65280     7    5  71.43%  3-7
t/format_number.t        255 65280     9    8  88.89%  2-9
t/format_picture.t       255 65280    13   12  92.31%  2-13
t/format_price.t         255 65280     6    5  83.33%  2-6
t/locale.t                             3    1  33.33%  3
t/unformat_number.t      255 65280     8    7  87.50%  2-8
Failed 7/9 test scripts, 22.22% okay. 43/64 subtests failed, 32.81% okay.
make: *** [test_dynamic] Fehler 255
  /usr/bin/make test -- NOT OK
Running make install
  make test had returned bad status, won't install without force

cpan>
majortermi
Userprojekt
Userprojekt
Posts: 916
Joined: 2002-06-17 16:09

Re: CPAN Fehler

Post by majortermi »

Schau mal im Source-Verzeichnis des Moduls, ob es da nicht ein ausführlicheres Log gibt (das detailliert auf die Fehlerursache eingeht).
Erst nachlesen, dann nachdenken, dann nachfragen... :)
Warum man sich an diese Reihenfolge halten sollte...
adjustman
Posts: 1132
Joined: 2003-03-26 23:29
Location: SA

Re: CPAN Fehler

Post by adjustman »

hab nachgesehen. Gibt kein Log. Keine Fehler zu sehen. ??