Results 1 to 7 of 7

Thread: Error trying to install perl module

  1. #1
    Member
    Join Date
    Jan 2003
    Posts
    31

    Default Error trying to install perl module

    How do I fix this?
    Attempting to install URI

    spawn /scripts/perlinstaller URI
    Testing connection speed...(this could take a while)....Done
    Three usable mirrors located
    CPAN: Storable loaded ok
    Going to read /home/.cpan/Metadata
    Database was generated on Thu, 28 Oct 2004 03:11:19 GMT
    Running install for module URI
    Running make for G/GA/GAAS/URI-1.34.tar.gz
    LWP not available
    LWP not available
    LWP not available

    Trying with "/usr/bin/ncftpget" to get
    http://cpan.teleglobe.net/authors/id...RI-1.34.tar.gz
    NcFTPGet 3.1.6

    Usages:
    ncftpget [flags] remote-host local-dir remote-path-names... (mode 1)
    ncftpget -f login.cfg [flags] local-dir remote-path-names... (mode 2)
    ncftpget [flags] ftp://url.style.host/path/name (mode 3)
    ncftpget -c [flags] remote-host remote-path-name > stdout (mode 4)
    ncftpget -c [flags] ftp://url.style.host/path/name > stdout (mode 5)

    Flags:
    -u XX Use username XX instead of anonymous.
    -p XX Use password XX with the username.
    -P XX Use port number XX instead of the default FTP service port (21).
    -d XX Use the file XX for debug logging.
    -a Use ASCII transfer type instead of binary.
    -t XX Timeout after XX seconds.
    -v/-V Do (do not) use progress meters.
    -f XX Read the file XX for host, user, and password information.
    -A Append to local files, instead of overwriting them.
    -z/-Z Do (do not) not try to resume downloads (default: -z).
    -E Use regular (PORT) data connections.
    -F Use passive (PASV) data connections (default).
    --More--
    -DD Delete remote file after successfully downloading it.
    --More--
    -b Run in background (submit job to "ncftpbatch" and run).

  2. #2
    Member
    Join Date
    Jan 2003
    Posts
    31

    Default

    More............
    spawn /scripts/perlinstaller LWP
    Testing connection speed...(this could take a while)....Done
    Three usable mirrors located
    CPAN: Storable loaded ok
    Going to read /home/.cpan/Metadata
    Database was generated on Thu, 28 Oct 2004 03:11:19 GMT
    Running install for module LWP
    Running make for G/GA/GAAS/libwww-perl-5.800.tar.gz
    CPAN: Digest::MD5 loaded ok
    CPAN: Compress::Zlib loaded ok
    Checksum for /home/.cpan/sources/authors/id/G/GA/GAAS/libwww-perl-5.800.tar.gz ok
    Scanning cache /home/.cpan/build for sizes
    libwww-perl-5.800/
    libwww-perl-5.800/lib/
    libwww-perl-5.800/lib/HTTP/
    libwww-perl-5.800/lib/HTTP/Cookies.pm
    libwww-perl-5.800/lib/HTTP/Status.pm
    libwww-perl-5.800/lib/HTTP/Cookies/
    libwww-perl-5.800/lib/HTTP/Cookies/Netscape.pm
    libwww-perl-5.800/lib/HTTP/Cookies/Microsoft.pm
    libwww-perl-5.800/lib/HTTP/Request/
    libwww-perl-5.800/lib/HTTP/Request/Common.pm
    libwww-perl-5.800/lib/HTTP/Headers/
    libwww-perl-5.800/lib/HTTP/Headers/Auth.pm
    libwww-perl-5.800/lib/HTTP/Headers/ETag.pm
    libwww-perl-5.800/lib/HTTP/Headers/Util.pm
    libwww-perl-5.800/lib/HTTP/Request.pm
    libwww-perl-5.800/lib/HTTP/Response.pm
    libwww-perl-5.800/lib/HTTP/Date.pm
    libwww-perl-5.800/lib/HTTP/Daemon.pm
    libwww-perl-5.800/lib/HTTP/Message.pm
    libwww-perl-5.800/lib/HTTP/Negotiate.pm
    libwww-perl-5.800/lib/HTTP/Headers.pm
    libwww-perl-5.800/lib/LWP/
    libwww-perl-5.800/lib/LWP/Protocol/
    libwww-perl-5.800/lib/LWP/Protocol/nntp.pm
    libwww-perl-5.800/lib/LWP/Protocol/ftp.pm
    libwww-perl-5.800/lib/LWP/Protocol/mailto.pm
    libwww-perl-5.800/lib/LWP/Protocol/GHTTP.pm
    libwww-perl-5.800/lib/LWP/Protocol/nogo.pm
    libwww-perl-5.800/lib/LWP/Protocol/file.pm
    libwww-perl-5.800/lib/LWP/Protocol/loopback.pm
    libwww-perl-5.800/lib/LWP/Protocol/data.pm
    libwww-perl-5.800/lib/LWP/Protocol/https10.pm
    libwww-perl-5.800/lib/LWP/Protocol/http10.pm
    libwww-perl-5.800/lib/LWP/Protocol/https.pm
    libwww-perl-5.800/lib/LWP/Protocol/gopher.pm
    libwww-perl-5.800/lib/LWP/Protocol/cpan.pm
    libwww-perl-5.800/lib/LWP/Protocol/http.pm
    libwww-perl-5.800/lib/LWP/RobotUA.pm
    libwww-perl-5.800/lib/LWP/Authen/
    libwww-perl-5.800/lib/LWP/Authen/Ntlm.pm
    libwww-perl-5.800/lib/LWP/Authen/Digest.pm
    libwww-perl-5.800/lib/LWP/Authen/Basic.pm
    libwww-perl-5.800/lib/LWP/MemberMixin.pm
    libwww-perl-5.800/lib/LWP/media.types
    libwww-perl-5.800/lib/LWP/DebugFile.pm
    libwww-perl-5.800/lib/LWP/Debug.pm
    libwww-perl-5.800/lib/LWP/UserAgent.pm
    libwww-perl-5.800/lib/LWP/MediaTypes.pm
    libwww-perl-5.800/lib/LWP/Protocol.pm
    libwww-perl-5.800/lib/LWP/ConnCache.pm
    libwww-perl-5.800/lib/LWP/Simple.pm
    libwww-perl-5.800/lib/WWW/
    libwww-perl-5.800/lib/WWW/RobotRules/
    libwww-perl-5.800/lib/WWW/RobotRules/AnyDBM_File.pm
    libwww-perl-5.800/lib/WWW/RobotRules.pm
    libwww-perl-5.800/lib/File/
    libwww-perl-5.800/lib/File/Listing.pm
    libwww-perl-5.800/lib/Net/
    libwww-perl-5.800/lib/Net/HTTP/
    libwww-perl-5.800/lib/Net/HTTP/Methods.pm
    libwww-perl-5.800/lib/Net/HTTP/NB.pm
    libwww-perl-5.800/lib/Net/HTTP.pm
    libwww-perl-5.800/lib/Net/HTTPS.pm
    libwww-perl-5.800/lib/Bundle/
    libwww-perl-5.800/lib/Bundle/LWP.pm
    libwww-perl-5.800/lib/LWP.pm
    libwww-perl-5.800/lib/HTML/
    libwww-perl-5.800/lib/HTML/Form.pm
    libwww-perl-5.800/t/
    libwww-perl-5.800/t/base/
    libwww-perl-5.800/t/base/headers-util.t
    libwww-perl-5.800/t/base/status.t
    libwww-perl-5.800/t/base/cookies.t
    libwww-perl-5.800/t/base/headers-etag.t
    libwww-perl-5.800/t/base/http.t
    libwww-perl-5.800/t/base/date.t
    libwww-perl-5.800/t/base/listing.t
    libwww-perl-5.800/t/base/response.t
    libwww-perl-5.800/t/base/headers-auth.t
    libwww-perl-5.800/t/base/common-req.t
    libwww-perl-5.800/t/base/protocols.t
    libwww-perl-5.800/t/base/message.t
    libwww-perl-5.800/t/base/mediatypes.t
    libwww-perl-5.800/t/base/ua.t
    libwww-perl-5.800/t/base/headers.t
    libwww-perl-5.800/t/base/negotiate.t
    libwww-perl-5.800/t/base/message-old.t
    libwww-perl-5.800/t/base/message-parts.t
    libwww-perl-5.800/t/local/
    libwww-perl-5.800/t/local/get.t
    libwww-perl-5.800/t/local/autoload.t
    libwww-perl-5.800/t/local/http.t
    libwww-perl-5.800/t/local/http-get.t
    libwww-perl-5.800/t/local/autoload-get.t
    libwww-perl-5.800/t/local/protosub.t
    libwww-perl-5.800/t/live/
    libwww-perl-5.800/t/live/jigsaw-te.t
    libwww-perl-5.800/t/live/validator.t
    libwww-perl-5.800/t/live/jigsaw-md5-get.t
    libwww-perl-5.800/t/live/jigsaw-neg.t
    libwww-perl-5.800/t/live/jigsaw-auth-d.t
    libwww-perl-5.800/t/live/apache-listing.t
    libwww-perl-5.800/t/live/jigsaw-md5.t
    libwww-perl-5.800/t/live/jigsaw-neg-get.t
    libwww-perl-5.800/t/live/jigsaw-chunk.t
    libwww-perl-5.800/t/live/jigsaw-auth-b.t
    libwww-perl-5.800/t/live/activestate.t
    libwww-perl-5.800/t/net/
    libwww-perl-5.800/t/net/http-get.t
    libwww-perl-5.800/t/net/cgi-bin/
    libwww-perl-5.800/t/net/cgi-bin/nph-slowdata
    libwww-perl-5.800/t/net/cgi-bin/moved
    libwww-perl-5.800/t/net/cgi-bin/test
    libwww-perl-5.800/t/net/cgi-bin/slowread
    libwww-perl-5.800/t/net/cgi-bin/timeout
    libwww-perl-5.800/t/net/proxy.t
    libwww-perl-5.800/t/net/http-post.t
    libwww-perl-5.800/t/net/moved.t
    libwww-perl-5.800/t/net/http-timeout.t
    libwww-perl-5.800/t/net/config.pl.dist
    libwww-perl-5.800/t/net/mirror.t
    libwww-perl-5.800/t/robot/
    libwww-perl-5.800/t/robot/rules.t
    libwww-perl-5.800/t/robot/ua.t
    libwww-perl-5.800/t/robot/ua-get.t
    libwww-perl-5.800/t/robot/rules-dbm.t
    libwww-perl-5.800/t/README
    libwww-perl-5.800/t/html/
    libwww-perl-5.800/t/html/form-param.t
    libwww-perl-5.800/t/html/form.t
    libwww-perl-5.800/t/TEST
    libwww-perl-5.800/bin/
    libwww-perl-5.800/bin/lwp-rget
    libwww-perl-5.800/bin/lwp-mirror
    libwww-perl-5.800/bin/lwp-download
    libwww-perl-5.800/bin/lwp-request
    libwww-perl-5.800/Makefile.PL
    libwww-perl-5.800/lwptut.pod
    libwww-perl-5.800/MANIFEST
    libwww-perl-5.800/README.SSL
    libwww-perl-5.800/Changes
    libwww-perl-5.800/AUTHORS
    libwww-perl-5.800/README
    libwww-perl-5.800/lwpcook.pod
    Removing previously used /home/.cpan/build/libwww-perl-5.800

    CPAN.pm: Going to build G/GA/GAAS/libwww-perl-5.800.tar.gz


    This package comes with some sample programs that I can try
    to install in /usr/bin.

    Note that you can avoid these questions by passing
    the '-n' option to 'Makefile.PL'.

    Do you want to install lwp-request? [y]
    Do you want to install lwp-mirror? [y]
    Do you want to install lwp-rget? [y]
    Do you want to install lwp-download? [y]

    The lwp-request program will use the name it is invoked with to
    determine what HTTP method to use. I can set up alias for the most
    common HTTP methods. These alias are also installed in
    /usr/bin.

    Do you want to install the GET alias? [y]
    Do you want to install the HEAD alias? [y]
    Do you want to install the POST alias? [y]

    Checking for URI........... failed
    Can't locate URI.pm in @INC (@INC contains: /usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at Makefile.PL line 145, line 7.

    The URI module must be installed. WWW without URIs would not
    be that great :-)

    Checking for HTML::Parser.. ok
    Checking for MIME::Base64.. ok
    Checking for Net::FTP...... ok
    Checking for Digest::MD5 .. ok
    The missing modules can be obtained from CPAN. Visit
    to find a CPAN site near you.


    Checking if your kit is complete...
    Looks good
    Warning: prerequisite URI 1.10 not found.
    Writing Makefile for libwww-perl
    ---- Unsatisfied dependencies detected during [G/GA/GAAS/libwww-perl-5.800.tar.gz] -----
    URI
    Running make install
    Delayed until after prerequisites
    Running install for module URI
    Running make for G/GA/GAAS/URI-1.34.tar.gz
    LWP not available
    LWP not available
    LWP not available

    Trying with "/usr/bin/ncftpget" to get
    http://cpan.teleglobe.net/authors/id...RI-1.34.tar.gz
    NcFTPGet 3.1.6

    Usages:
    ncftpget [flags] remote-host local-dir remote-path-names... (mode 1)
    ncftpget -f login.cfg [flags] local-dir remote-path-names... (mode 2)
    ncftpget [flags] ftp://url.style.host/path/name (mode 3)
    ncftpget -c [flags] remote-host remote-path-name > stdout (mode 4)
    ncftpget -c [flags] ftp://url.style.host/path/name > stdout (mode 5)

    Flags:
    -u XX Use username XX instead of anonymous.
    -p XX Use password XX with the username.
    -P XX Use port number XX instead of the default FTP service port (21).
    -d XX Use the file XX for debug logging.
    -a Use ASCII transfer type instead of binary.
    -t XX Timeout after XX seconds.
    -v/-V Do (do not) use progress meters.
    -f XX Read the file XX for host, user, and password information.
    -A Append to local files, instead of overwriting them.
    -z/-Z Do (do not) not try to resume downloads (default: -z).
    -E Use regular (PORT) data connections.

  3. #3
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,496

    Default

    Looks like you're stuck in a "chicken or egg" situation with URI <-> LWP.

    I would suggest that you download http://cpan.teleglobe.net/authors/id...RI-1.34.tar.gz and install it manually, then try installing LWP.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  4. #4
    Member
    Join Date
    Jan 2003
    Posts
    31

    Default

    Warning: expected file [/home/.cpan/sources/authors/id/G/GA/GAAS/URI-1.34.tar.gz] doesn't exist



  5. #5
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,496

    Default

    Yes, that's because it couldn't be downloaded through cpan. As I said, you need to download it manually to the server from the link I posted, tar -xzf the package go into the created directory and follow the instructions on how to install it.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  6. #6
    Member
    Join Date
    Aug 2001
    Posts
    76

    Default

    I tried to install lwp module and also experienced the same issue.

  7. #7
    Member
    Join Date
    Dec 2001
    Posts
    1,558

    Default

    Quote Originally Posted by sodapopinski
    I tried to install lwp module and also experienced the same issue.
    Did you install LWP via WHM or the /scripts installer ? You probably need to install this module manually before the problem will resolve.
    Beau Henderson

Similar Threads

  1. [help] error install perl module
    By openpro in forum cPanel & WHM Discussions
    Replies: 6
    Last Post: 01-24-2011, 09:37 PM
  2. Install a perl module
    By shimmy in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 05-02-2006, 06:18 PM
  3. Perl Module Install Help Please!!!
    By [MuTe] in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 01-04-2006, 11:49 AM
  4. Install a Perl Module
    By 3-rx in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 03-19-2005, 05:49 PM
  5. install perl module?
    By ZachICU in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 06-22-2002, 08:52 AM