Aller au contenu

Pb Installation Module Perl Sur Ds209+Ii


Arq52

Messages recommandés

Posté(e)

Bonjour à tous,

Je n'arrive pas à installer le module perl WWW::Mechanize.

Ca c'est la version courte, la version détaillée :

J'ai intallé IPKG en suivant ceci, puis Installation des différents paquets nécessaires pour le shell cpan (unzip, make, ncftp...)

, ceux pour du "développement" par :


   ipkg install optware-devel

    ipkg install gcc

   
puis sans vraiment savoir si j'en avais besoin :

   cd /opt/share/libtool/libltdl

   ./configure --prefix=/opt

   
Au final, j'ai tout ça d'installé :

   apr - 1.3.5-1 - Apache Portable Runtime library

   apr-util - 1.3.7-1 - Apache Portable Runtime utilities library

   autoconf - 2.63-1 - Creating scripts to configure source code packages using templates

   automake - 1.10-2 - Creates GNU standards-compliant Makefiles from template files

   bash - 3.2.33-1 - A bourne style shell

   binutils - 2.17-2 - The GNU assembler and linker and related tools

   bison - 2.3-2 - a general-purpose parser generator that converts an annotated context-free grammar into an LALR(1) or GLR parser for that gramm

   bzip2 - 1.0.5-1 - Very high-quality data compression program

   coreutils - 7.4-1 - Bunch of heavyweight *nix core utilities

   cyrus-sasl-libs - 2.1.22-2 - Provides client or server side authentication (see RFC 2222).

   diffutils - 2.8.1-6 - contains gnu diff, cmp, sdiff and diff3 to display differences between and among text files

   e2fslibs - 1.40.3-5 - Ext2 Filesystem Libraries

   expat - 2.0.1-1 - XML Parser library

   file - 5.01-1 - Ubiquitous file identification utility.

   findutils - 4.2.32-1 - File finding utilities

   flex - 2.5.35-1 - Generates programs that perform pattern-matching on text.

   gawk - 3.1.6-1 - Gnu AWK interpreter

   gcc - 3.4.6-5 - The GNU Compiler Collection.

   gdbm - 1.8.3-2 - GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines.

   gnupg - 2.0.11-2 - GNU privacy guard - a free PGP replacement.

   groff - 1.19.2-2 - front-end for the groff document formatting system

   gzip - 1.2.4a-3 - GNU Zip data compression program

   libc-dev - 2.3.4-5 - libc development files.

   libcurl - 7.19.5-1 - Curl is a command line tool for transferring files with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FI

   libdb - 4.2.52-3 - Berkeley DB Libraries

   libgcrypt - 1.4.4-2 - GNU cryptography libray, needed by gnutls

   libgpg-error - 1.7-1 - Error handling library for libgcrypt

   libksba - 1.0.3-1 - Libksba is a CMS and X.509 access library.

   libnsl - 2.3.4-4 - Network Services Library

   libpth - 2.0.7-2 - Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling fo

   libstdc++ - 6.0.3-6 - Standard C++ library, needed for dynamically linked C++ programs

   libtool - 1.5.26-1 - Library tools.

   libusb - 0.1.12-1 - Library for interfacing to the USB subsystem.

   libxml2 - 2.7.3-1 - Libxml2 is the XML C parser and toolkit developed for the Gnome project.

   lynx - 2.8.6-1 - A text browser for the World Wide Web

   m4 - 1.4.13-1 - gnu macro processor and compiler front end

   make - 3.81-2 - examines files and runs commands necessary for compilation

   ncftp - 3.2.2-1 - Nice command line FTP client

   ncurses - 5.7-1 - NCurses libraries

   ncursesw - 5.7-1 - NCurses libraries with wide char support.

   neon - 0.28.4-1 - an HTTP and WebDAV client library, with a C interface

   openldap-libs - 2.3.43-1 - Open Lightweight Directory Access Protocol

   openssl - 0.9.8k-1 - Openssl provides the ssl implementation in libraries libcrypto and libssl, and is needed by many other applications and librari

   optware-devel - 6.8-9 - This is a meta package that bundles all the packages required for optware native development.

   patch - 2.5.9-3 - applies a diff to produce a patched file

   perl - 5.8.8-20 - Practical Extraction and Report Language.

   pinentry - 0.7.5-2 - Describe pinentry here.

   pkgconfig - 0.15.0-1 - Package configuration tool

   pygrenouille - 1.13b-syno - grenouille pour syno

   python - 2.5-1 - This is a package that sets up the default python.

   python25 - 2.5.4-2 - Python is an interpreted, interactive, object-oriented programming language.

   readline - 6.0-1 - The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are

   rsync - 3.0.6-1 - fast remote file copy program (like rcp)

   sed - 4.2-1 - Stream editor.

   sqlite - 3.6.14.2-1 - SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine.

   svn - 1.6.2-1 - a compelling replacement for CVS

   tar - 1.22-2 - heavyweight version of the Tape ARchiver

   unzip - 5.52-3 - A (de)compression library for the ZIP format

   wget-ssl - 1.11.4-1 - A network utility to retrieve files from the Web

   zlib - 1.2.3-3 - zlib is a library implementing the 'deflate' compression system.

   
sous root, j'ouvre je shell cpan :
perl -MCPAN -e 'shell'
je réponds aux questions de configuration puis je lance
cpan> install WWW::Mechanize
Et c'est parti pour le téléchargement des dépendances, tests... Dans le terminal, j'ai toutes sortes de messages d'erreur :

  ...

  Can't locate URI/URL.pm in @INC (@INC contains: /root/.cpan/build/WWW-Mechanize-1.54/blib/lib /root/.cpan/build/WWW-Mechanize-1.54/blib/arch /usr/lib/perl5/5.8.6/PPC_853X /usr/lib/perl5/5.8.6/PPC_853X /usr/lib/perl5/5.8.6 /usr/lib/perl5/site_perl/5.8.6/PPC_853X /usr/lib/perl5/site_perl/5.8.6/PPC_853X /usr/lib/perl---5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.6/PPC_853X /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl . /usr/lib/perl5/5.8.6/PPC_853X /usr/lib/perl5/5.8.6 /usr/lib/perl5/site_perl/5.8.6/PPC_853X /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl) at /root/.cpan/build/WWW-Mechanize-1.54/blib/lib/WWW/Mechanize/Link.pm line 97

  ...

  # BEGIN failed--compilation aborted at (eval 4) line 2.

  Can't locate object method "new" via package "WWW::Mechanize" at t/live/encoding.t line 26.

  ...

  
Et ça se termine mal :

   Failed 46/50 test scripts, 8.00% okay. 454/479 subtests failed, 5.22% okay.

   make: *** [test_dynamic] Error 2

     /opt/bin/make test -- NOT OK

   Running make install

     make test had returned bad status, Content-Disposition: form-data; name="pare won't install without force

   

Merci d'avance pour votre aide

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.