Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    3

    Default Installing Perl Module Template - Please help!

    I can’t seem to get “Template” perl module installed on my VPS.



    Checking perl modules ...
    Checking for AppConfig (v1.52) ok: found v1.56
    Checking for CGI (v2.93) ok: found v3.10
    Checking for Data:umper (any) ok: found v2.121
    Checking for Date::Format (v2.21) ok: found v2.22
    Checking for DBI (v1.36) ok: found v1.48
    Checking for DBD::mysql (v2.1010) ok: found v3.0000
    Checking for File::Spec (v0.82) ok: found v3.09
    Checking for File::Temp (any) ok: found v0.14
    Checking for Template (v2.08) not found
    Checking for Text::Wrap (v2001.0131) ok: found v2001.09291

    The following Perl modules are optional:
    Checking for GD (v1.20) ok: found v2.19
    Checking for Chart::Base (v1.0) ok: found v2.3
    Checking for XML::Parser (any) ok: found v2.34
    Checking for GD::Graph (any) ok: found v1.43
    Checking for GD::Text::Align (any) ok: found v1.18
    Checking for PatchReader (v0.9.4) ok: found v0.9.5



    Bugzilla requires some Perl modules which are either missing from your
    system, or the version on your system is too old.
    They can be installed by running (as root) the following:
    /usr/bin/perl -MCPAN -e 'install "Template"'
    Minimum version required: 2.08



    When I run the above command, I get the following:



    root@vps [~]# i /Template/

    -bash: i: command not found

    root@vps [~]# clear

    root@vps [~]# /usr/bin/perl -MCPAN -e 'install "Template"'

    CPAN: Storable loaded ok

    Going to read /root/.cpan/Metadata

    Warning: Found only 0 objects in /root/.cpan/Metadata

    CPAN: LWP::UserAgent loaded ok

    Fetching with LWP:

    ftp://cpan.cnnet.upr.edu/authors/01mailrc.txt.gz

    LWP failed with code[404] message[Can't chdir to authors]

    Fetching with Net::FTP:

    ftp://cpan.cnnet.upr.edu/authors/01mailrc.txt.gz

    Couldn't cwd authors at /usr/lib/perl5/5.8.4/CPAN.pm line 2260.



    Trying with "/usr/bin/lynx -source" to get

    ftp://cpan.cnnet.upr.edu/authors/01mailrc.txt.gz



    Looking up cpan.cnnet.upr.edu

    cpan.cnnet.upr.edu

    Making FTP connection to cpan.cnnet.upr.edu

    Can't Access `ftp://cpan.cnnet.upr.edu/authors/01mailrc.txt.gz'

    Alert!: Unable to access document.



    lynx: Can't access startfile



    System call "/usr/bin/lynx -source "ftp://cpan.cnnet.upr.edu/authors/01mailrc.txt.gz" > /root/.cpan/sources/authors/01mailrc.txt"

    returned status 1 (wstat 256)

    Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't exist



    Trying with "/usr/bin/wget -O -" to get

    ftp://cpan.cnnet.upr.edu/authors/01mailrc.txt.gz

    --12:56:12-- ftp://cpan.cnnet.upr.edu/authors/01mailrc.txt.gz

    => `-'

    Resolving cpan.cnnet.upr.edu... 136.145.187.12

    Connecting to cpan.cnnet.upr.edu[136.145.187.12]:21... connected.

    Logging in as anonymous ... Logged in!

    ==> SYST ... done. ==> PWD ... done.

    ==> TYPE I ... done. ==> CWD /authors ...

    No such directory `authors'.





    System call "/usr/bin/wget -O - "ftp://cpan.cnnet.upr.edu/authors/01mailrc.txt.gz" > /root/.cpan/sources/authors/01mailrc.txt"

    returned status 1 (wstat 256)

    Warning: expected file [/root/.cpan/sources/authors/01mailrc.txt.gz] doesn't exist

    Issuing "/usr/bin/ftp -n"

    Local directory now /root/.cpan/sources/authors

    Failed to change directory.

    Failed to open file.

    Bad luck... Still failed!

    Can't access URL ftp://cpan.cnnet.upr.edu/authors/01mailrc.txt.gz.



    Please check, if the URLs I found in your configuration file

    (ftp://cpan.cnnet.upr.edu/) are valid. The urllist can be edited. E.g. with

    'o conf urllist push ftp://myurl/'



    Could not fetch authors/01mailrc.txt.gz

    Fetching with LWP:

    ftp://cpan.cnnet.upr.edu/modules/02p...details.txt.gz

    LWP failed with code[404] message[Can't chdir to modules]

    Fetching with Net::FTP:

    ftp://cpan.cnnet.upr.edu/modules/02p...details.txt.gz

    Couldn't cwd modules at /usr/lib/perl5/5.8.4/CPAN.pm line 2260.



    Trying with "/usr/bin/lynx -source" to get

    ftp://cpan.cnnet.upr.edu/modules/02p...details.txt.gz



    Looking up cpan.cnnet.upr.edu

    cpan.cnnet.upr.edu

    Making FTP connection to cpan.cnnet.upr.edu

    Can't Access `ftp://cpan.cnnet.upr.edu/modules/02packages.details.txt.gz'

    Alert!: Unable to access document.



    lynx: Can't access startfile



    System call "/usr/bin/lynx -source "ftp://cpan.cnnet.upr.edu/modules/02packages.details.txt.gz" > /root/.cpan/sources/modules/02packages.details.txt"

    returned status 1 (wstat 256)

    Warning: expected file [/root/.cpan/sources/modules/02packages.details.txt.gz] doesn't exist



    Trying with "/usr/bin/wget -O -" to get

    ftp://cpan.cnnet.upr.edu/modules/02p...details.txt.gz

    --12:56:25-- ftp://cpan.cnnet.upr.edu/modules/02p...details.txt.gz

    => `-'

    Resolving cpan.cnnet.upr.edu... 136.145.187.12

    Connecting to cpan.cnnet.upr.edu[136.145.187.12]:21... connected.

    Logging in as anonymous ... Logged in!

    ==> SYST ... done. ==> PWD ... done.

    ==> TYPE I ... done. ==> CWD /modules ...

    No such directory `modules'.





    System call "/usr/bin/wget -O - "ftp://cpan.cnnet.upr.edu/modules/02packages.details.txt.gz" > /root/.cpan/sources/modules/02packages.details.txt"

    returned status 1 (wstat 256)

    Warning: expected file [/root/.cpan/sources/modules/02packages.details.txt.gz] doesn't exist

    Issuing "/usr/bin/ftp -n"

    Local directory now /root/.cpan/sources/modules

    Failed to change directory.

    Failed to open file.

    Bad luck... Still failed!

    Can't access URL ftp://cpan.cnnet.upr.edu/modules/02p...details.txt.gz.



    Please check, if the URLs I found in your configuration file

    (ftp://cpan.cnnet.upr.edu/) are valid. The urllist can be edited. E.g. with

    'o conf urllist push ftp://myurl/'



    Could not fetch modules/02packages.details.txt.gz

    Fetching with LWP:

    ftp://cpan.cnnet.upr.edu/modules/03modlist.data.gz

    LWP failed with code[404] message[Can't chdir to modules]

    Fetching with Net::FTP:

    ftp://cpan.cnnet.upr.edu/modules/03modlist.data.gz

    Couldn't cwd modules at /usr/lib/perl5/5.8.4/CPAN.pm line 2260.



    Trying with "/usr/bin/lynx -source" to get

    ftp://cpan.cnnet.upr.edu/modules/03modlist.data.gz



    Looking up cpan.cnnet.upr.edu

    cpan.cnnet.upr.edu

    Making FTP connection to cpan.cnnet.upr.edu

    Can't Access `ftp://cpan.cnnet.upr.edu/modules/03modlist.data.gz'

    Alert!: Unable to access document.



    lynx: Can't access startfile



    System call "/usr/bin/lynx -source "ftp://cpan.cnnet.upr.edu/modules/03modlist.data.gz" > /root/.cpan/sources/modules/03modlist.data"

    returned status 1 (wstat 256)

    Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz] doesn't exist



    Trying with "/usr/bin/wget -O -" to get

    ftp://cpan.cnnet.upr.edu/modules/03modlist.data.gz

    --12:56:37-- ftp://cpan.cnnet.upr.edu/modules/03modlist.data.gz

    => `-'

    Resolving cpan.cnnet.upr.edu... 136.145.187.12

    Connecting to cpan.cnnet.upr.edu[136.145.187.12]:21... connected.

    Logging in as anonymous ... Logged in!

    ==> SYST ... done. ==> PWD ... done.

    ==> TYPE I ... done. ==> CWD /modules ...

    No such directory `modules'.





    System call "/usr/bin/wget -O - "ftp://cpan.cnnet.upr.edu/modules/03modlist.data.gz" > /root/.cpan/sources/modules/03modlist.data"

    returned status 1 (wstat 256)

    Warning: expected file [/root/.cpan/sources/modules/03modlist.data.gz] doesn't exist

    Issuing "/usr/bin/ftp -n"

    Local directory now /root/.cpan/sources/modules

    Failed to change directory.

    Failed to open file.

    Bad luck... Still failed!

    Can't access URL ftp://cpan.cnnet.upr.edu/modules/03modlist.data.gz.



    Please check, if the URLs I found in your configuration file

    (ftp://cpan.cnnet.upr.edu/) are valid. The urllist can be edited. E.g. with

    'o conf urllist push ftp://myurl/'



    Could not fetch modules/03modlist.data.gz

    Going to write /root/.cpan/Metadata

    Warning: Cannot install Template, don't know what it is.

    Try the command



    i /Template/



    to find objects with matching identifiers.

    root@vps [~]#







    When I try to install via the WHM, it never completes due to the script expecting responses during the installation of it.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge trparky's Avatar
    Join Date
    Apr 2003
    Posts
    190

    Default

    Try /scripts/perlinstaller {module}
    Tom Parkison – Rochen Ltd. – tom@rochen.com
    - Reseller Plans & Multiple Domain Solutions
    - http://www.rochen.com

  3. #3
    Registered User
    Join Date
    Jul 2005
    Posts
    3

    Default

    Thanks so much!

Similar Threads & Tags
Similar threads

  1. Installing additional Perl modules to help with module creation
    By higherlogic in forum cPanel Developers
    Replies: 1
    Last Post: 01-26-2011, 05:43 PM
  2. Error installing perl module Mail::SPF
    By jbatson in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-03-2010, 05:09 PM
  3. Problem installing a Perl module: Lchown
    By duranduran in forum New User Questions
    Replies: 1
    Last Post: 11-14-2009, 01:19 AM
  4. Perl module ClamAv not installing
    By ShannonS in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-09-2006, 11:48 AM
  5. Installing Image::magick Perl module
    By EMS in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 06-01-2005, 04:56 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube