URL: https://linuxfr.org/forums/general-cherche-logiciel/posts/netlibdnet Title: Net::Libdnet Authors: Toto Date: 2007年05月23日T11:58:23+02:00 Tags: Score: 0 Un des modules que j'installe à besoin de la classe Net::Libdnet entre autre. J'ai tenté de télécharger le module via le cpan (`cpan -i Net::Libdnet`) mais celui ci refuse de s'installer (tests échoués). Même en forcant l'installation cela ne marche pas. Si je comprends bien, la compilation se passe correctement, mais il n'arrive pas à charger le module Libdnet.so (le fichier existe pourtant bel et bien la ou il le cherche Voici les erreurs : [root@localhost]/tmp/Net-Libdnet-0.01# make cp Libdnet.pm blib/lib/Net/Libdnet.pm AutoSplitting blib/lib/Net/Libdnet.pm (blib/lib/auto/Net/Libdnet) /usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.5/ExtUtils/typemap Libdnet.xs > Libdnet.xsc && mv Libdnet.xsc Libdnet.c gcc -c -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" Libdnet.c Running Mkbootstrap for Net::Libdnet () chmod 644 Libdnet.bs rm -f blib/arch/auto/Net/Libdnet/Libdnet.so gcc -shared -L/usr/local/lib Libdnet.o -o blib/arch/auto/Net/Libdnet/Libdnet.so -ldnet chmod 755 blib/arch/auto/Net/Libdnet/Libdnet.so cp Libdnet.bs blib/arch/auto/Net/Libdnet/Libdnet.bs chmod 644 blib/arch/auto/Net/Libdnet/Libdnet.bs Manifying blib/man3/Net::Libdnet.3pm [root@localhost]/tmp/Net-Libdnet-0.01# make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01-module....Can't load '/tmp/Net-Libdnet-0.01/blib/arch/auto/Net/Libdnet/Libdnet.so' for module Net::Libdnet: libdnet.1: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230. £spaces£ £/spaces£at t/01-module.t line 7 Compilation failed in require at t/01-module.t line 7. BEGIN failed--compilation aborted at t/01-module.t line 7. dubious £spaces£ £/spaces£Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 1 £spaces£ £/spaces£Failed 1/1 tests, 0.00% okay t/02-addr......Can't load '/tmp/Net-Libdnet-0.01/blib/arch/auto/Net/Libdnet/Libdnet.so' for module Net::Libdnet: libdnet.1: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230. £spaces£ £/spaces£at t/02-addr.t line 7 Compilation failed in require at t/02-addr.t line 7. BEGIN failed--compilation aborted at t/02-addr.t line 7. dubious £spaces£ £/spaces£Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-18 £spaces£ £/spaces£Failed 18/18 tests, 0.00% okay t/03-arp.......Can't load '/tmp/Net-Libdnet-0.01/blib/arch/auto/Net/Libdnet/Libdnet.so' for module Net::Libdnet: libdnet.1: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230. £spaces£ £/spaces£at t/03-arp.t line 7 Compilation failed in require at t/03-arp.t line 7. BEGIN failed--compilation aborted at t/03-arp.t line 7. dubious £spaces£ £/spaces£Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-12 £spaces£ £/spaces£Failed 12/12 tests, 0.00% okay t/04-blob......Can't load '/tmp/Net-Libdnet-0.01/blib/arch/auto/Net/Libdnet/Libdnet.so' for module Net::Libdnet: libdnet.1: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230. £spaces£ £/spaces£at t/04-blob.t line 7 Compilation failed in require at t/04-blob.t line 7. BEGIN failed--compilation aborted at t/04-blob.t line 7. dubious £spaces£ £/spaces£Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 1 £spaces£ £/spaces£Failed 1/1 tests, 0.00% okay t/05-eth.......Can't load '/tmp/Net-Libdnet-0.01/blib/arch/auto/Net/Libdnet/Libdnet.so' for module Net::Libdnet: libdnet.1: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230. £spaces£ £/spaces£at t/05-eth.t line 7 Compilation failed in require at t/05-eth.t line 7. BEGIN failed--compilation aborted at t/05-eth.t line 7. dubious £spaces£ £/spaces£Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 1 £spaces£ £/spaces£Failed 1/1 tests, 0.00% okay t/06-fw........Can't load '/tmp/Net-Libdnet-0.01/blib/arch/auto/Net/Libdnet/Libdnet.so' for module Net::Libdnet: libdnet.1: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230. £spaces£ £/spaces£at t/06-fw.t line 7 Compilation failed in require at t/06-fw.t line 7. BEGIN failed--compilation aborted at t/06-fw.t line 7. dubious £spaces£ £/spaces£Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 1 £spaces£ £/spaces£Failed 1/1 tests, 0.00% okay t/07-intf......Can't load '/tmp/Net-Libdnet-0.01/blib/arch/auto/Net/Libdnet/Libdnet.so' for module Net::Libdnet: libdnet.1: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230. £spaces£ £/spaces£at t/07-intf.t line 7 Compilation failed in require at t/07-intf.t line 7. BEGIN failed--compilation aborted at t/07-intf.t line 7. dubious £spaces£ £/spaces£Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-9 £spaces£ £/spaces£Failed 9/9 tests, 0.00% okay t/08-ip........Can't load '/tmp/Net-Libdnet-0.01/blib/arch/auto/Net/Libdnet/Libdnet.so' for module Net::Libdnet: libdnet.1: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230. £spaces£ £/spaces£at t/08-ip.t line 7 Compilation failed in require at t/08-ip.t line 7. BEGIN failed--compilation aborted at t/08-ip.t line 7. dubious £spaces£ £/spaces£Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 1 £spaces£ £/spaces£Failed 1/1 tests, 0.00% okay t/09-rand......Can't load '/tmp/Net-Libdnet-0.01/blib/arch/auto/Net/Libdnet/Libdnet.so' for module Net::Libdnet: libdnet.1: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230. £spaces£ £/spaces£at t/09-rand.t line 7 Compilation failed in require at t/09-rand.t line 7. BEGIN failed--compilation aborted at t/09-rand.t line 7. dubious £spaces£ £/spaces£Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 1 £spaces£ £/spaces£Failed 1/1 tests, 0.00% okay t/10-route.....Can't load '/tmp/Net-Libdnet-0.01/blib/arch/auto/Net/Libdnet/Libdnet.so' for module Net::Libdnet: libdnet.1: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230. £spaces£ £/spaces£at t/10-route.t line 7 Compilation failed in require at t/10-route.t line 7. BEGIN failed--compilation aborted at t/10-route.t line 7. dubious £spaces£ £/spaces£Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-14 £spaces£ £/spaces£Failed 14/14 tests, 0.00% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/01-module.t 255 65280 1 2 1 t/02-addr.t 255 65280 18 36 1-18 t/03-arp.t 255 65280 12 24 1-12 t/04-blob.t 255 65280 1 2 1 t/05-eth.t 255 65280 1 2 1 t/06-fw.t 255 65280 1 2 1 t/07-intf.t 255 65280 9 18 1-9 t/08-ip.t 255 65280 1 2 1 t/09-rand.t 255 65280 1 2 1 t/10-route.t 255 65280 14 28 1-14 Failed 10/10 test scripts. 59/59 subtests failed. Files=10, Tests=59, 1 wallclock secs ( 1.17 cusr + 0.19 csys = 1.36 CPU) Failed 10/10 test programs. 59/59 subtests failed. make: *** [test_dynamic] Error 255 Merci

AltStyle によって変換されたページ (->オリジナル) /