Forum général.cherche-logiciel Net::Libdnet

Posté par  .
Étiquettes : aucune
0
23
mai
2007

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.
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
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
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.
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
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-18
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.
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
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-12
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.
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
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
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.
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
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
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.
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
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
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.
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
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
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.
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
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
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.
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
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
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.
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
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-14
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
  • # Boulet

    Posté par  . Évalué à 2.

    Rahhh j'ai fait mon boulet ... je viens de me rendre compte que je n'avais pas choisis le bon forum. Désolé :s
    • [^] # Re: Boulet

      Posté par  . Évalué à 2.

      Tu devrais lancer la commande "cpan" qui te guidera pour télécharger, compiler et installer les modules Perl très facilement. Il faut savoir que certain modules ont réellement un nombre important de dépendances ; l'outil "cpan" s'occupera de tout pour toi.

      Avant d'utiliser cette solution, vérifie qu'il n'existe pas un paquet installant le module désiré dans les dépots de ta distribution.
      • [^] # Re: Boulet

        Posté par  . Évalué à 2.

        J'a testé avec cpan en premier lieu, et j'avais exactement ces erreurs. J'ai donc téléchargé le module directement pour le compiler moi même, voir s'il y avait une différence, mais non, toujours les mêmes erreurs..

        Et je n'ai pas trouvé de paquet contenant ce module pour ma distribution (RHEL4)
        • [^] # Re: Boulet

          Posté par  (site web personnel) . Évalué à 2.

          libdnet.1: cannot open shared object file: No such file or directory

          C'est plutôt le fichier libdnet.1 qui est introuvable, chez moi il est est dans /usr/lib/.
          Fais un ls -l /usr/lib/libdnet* pour voir !
          Si tu ne le trouves pas essai de le localiser et/ou de reinstaller la libdnet.

Suivre le flux des commentaires

Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.