Ich möchte gerne Sys::Mmap bei Perl installieren weil ich das für meine Software brauche.
Ich habe folgende Kommandos ausgeführt:
Code: Alles auswählen
perl -MCPAN -e shell
install CPAN
exit
perl -MCPAN -e shell
install YAML PHP::Serialization Module::Load X10::ActiveHome
install Sys::Mmap
Doch die Installation schlägt fehl mit folgender Meldung:
Code: Alles auswählen
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/mmap.............ok
t/munmap_errors....
t/munmap_errors....NOK 4/14# Failed test 'Unmapped strings die'
# at t/munmap_errors.t line 31.
# got: 'munmap failed! errno 22 Das Argument ist ungültig
# '
# expected: 'munmap failed! errno 22 Invalid argument
# '
t/munmap_errors....NOK 5/14# Failed test 'Unmapped strings die'
# at t/munmap_errors.t line 31.
# got: 'munmap failed! errno 22 Das Argument ist ungültig
# '
# expected: 'munmap failed! errno 22 Invalid argument
# '
t/munmap_errors....NOK 6/14# Failed test 'Unmapped strings die'
# at t/munmap_errors.t line 31.
# got: 'munmap failed! errno 22 Das Argument ist ungültig
# '
# expected: 'munmap failed! errno 22 Invalid argument
# '
t/munmap_errors....NOK 7/14# Failed test 'Unmapped strings die'
# at t/munmap_errors.t line 31.
# got: 'munmap failed! errno 22 Das Argument ist ungültig
# '
# expected: 'munmap failed! errno 22 Invalid argument
# '
# Looks like you failed 4 tests of 14.
t/munmap_errors....dubious
Test returned status 4 (wstat 1024, 0x400)
DIED. FAILED tests 4-7
Failed 4/14 tests, 71.43% okay
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/munmap_errors.t 4 1024 14 4 4-7
Failed 1/2 test scripts. 4/18 subtests failed.
Files=2, Tests=18, 0 wallclock secs ( 0.03 cusr + 0.02 csys = 0.05 CPU)
Failed 1/2 test programs. 4/18 subtests failed.
make: *** [test_dynamic] Fehler 4
TODDR/Sys-Mmap-0.14.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports TODDR/Sys-Mmap-0.14.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
TODDR/Sys-Mmap-0.14.tar.gz : make_test NO
cpan[17]>
Ich habe schon im Netz gesucht und allesmögliche ausprobiert, doch komme zu keinem positiven Ergebnis!
Ich würde mich freuen wenn ich einen Tip bekommen könnte, wie ich das Problem angehen, bzw lösen kann.
MfG