added requirement of Archive::Tar and Compress::Zlib
This commit is contained in:
parent
a7b67170b9
commit
55d995456d
3 changed files with 36 additions and 0 deletions
|
|
@ -19,6 +19,14 @@ save you many hours of grief.
|
|||
|
||||
sitename = www.mycompany.com
|
||||
|
||||
* You'll need to add two new Perl modules on some platforms. They are
|
||||
Compress::Zlib and Archive::Tar.
|
||||
|
||||
perl -MCPAN -e shell
|
||||
install Archive::Tar
|
||||
install Compress:Zlib
|
||||
exit
|
||||
|
||||
|
||||
5.2.0
|
||||
--------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ QnD INSTALL INSTRUCTIONS:
|
|||
Digest::MD5
|
||||
Date::Calc
|
||||
HTML::Parser
|
||||
Archive::Tar
|
||||
Compress::Zlib
|
||||
Image::Magick (optional)
|
||||
Cache::FileCache (optional)
|
||||
|
||||
|
|
|
|||
|
|
@ -135,6 +135,32 @@ if (eval { require HTML::Parser }) {
|
|||
}
|
||||
}
|
||||
|
||||
print "Archive::Tar module ...................... ";
|
||||
if (eval { require Archive::Tar }) {
|
||||
print "OK\n";
|
||||
} else {
|
||||
if ($< == 0 && $os eq "Linuxish") {
|
||||
print "Attempting to install...\n";
|
||||
CPAN::Shell->install("Archive::Tar");
|
||||
} else {
|
||||
print "Please install.\n";
|
||||
$prereq = 0;
|
||||
}
|
||||
}
|
||||
|
||||
print "Compress::Zlib module .................... ";
|
||||
if (eval { require Compress::Zlib }) {
|
||||
print "OK\n";
|
||||
} else {
|
||||
if ($< == 0 && $os eq "Linuxish") {
|
||||
print "Attempting to install...\n";
|
||||
CPAN::Shell->install("Compress::Zlib");
|
||||
} else {
|
||||
print "Please install.\n";
|
||||
$prereq = 0;
|
||||
}
|
||||
}
|
||||
|
||||
print "Net::SMTP module ......................... ";
|
||||
if (eval { require Net::SMTP }) {
|
||||
print "OK\n";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue