Installing Perl Module Template - Please help!

paulinjm

Registered
Jul 7, 2005
3
0
151
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::Dumper (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:



[email protected] [~]# i /Template/

-bash: i: command not found

[email protected] [~]# clear

[email protected] [~]# /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/02packages.details.txt.gz

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

Fetching with Net::FTP:

ftp://cpan.cnnet.upr.edu/modules/02packages.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/02packages.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/02packages.details.txt.gz

--12:56:25-- ftp://cpan.cnnet.upr.edu/modules/02packages.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/02packages.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.

[email protected] [~]#







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

trparky

Well-Known Member
Apr 23, 2003
184
1
168
Try /scripts/perlinstaller {module}