Closed
Bug 244195
Opened 21 years ago
Closed 21 years ago
checksetup.pl fails even though correct perl modules are installed
Categories
(Bugzilla :: Installation & Upgrading, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: locksley_1999, Assigned: zach)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130
Checksetup.pl fails with the following message:
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:
perl -MCPAN -e 'install "File::Spec"'
Minimum version required: 0.82
perl -MCPAN -e 'install "DBD::mysql"'
Minimum version required: 1.2209
perl -MCPAN -e 'install "AppConfig"'
Minimum version required: 1.52
perl -MCPAN -e 'install "DBI"'
Minimum version required: 1.13
Here are the versions of modules I have installed:
AppConfig -- 1.56
CGI -- 3.05
CPAN -- 1.76_01
Compress::Zlib -- 1.33
Cwd -- 2.17
DBD::mysql -- 2.9003
DBI -- 1.42
Data::ShowTable -- undef
File::Spec -- 0.87
MIME::Base64 -- 3.01
Net::Telnet -- 3.03
Perl -- 5.8.4
Template -- 2.13
Term::ReadKey -- 2.21
Term::ReadLine -- 1.01
Test -- 1.25
Test::Harness -- 2.40
Test::Simple -- 0.47
TimeDate -- ???
Reproducible: Always
Steps to Reproduce:
1. perl -MCPAN -e 'install "Bundle::Bugzilla"' [all modules are up to date]
2. ./checksetup.pl
Actual Results:
checksetup.pl crashed, see details.
Expected Results:
Continued the installation as the perl modules required were installed with
revisions greater or equal to those required by the installer.
Redhat 7.2.
I uninstalled all perl modules and reinstalled them again, but there was no effect.
Comment 1•21 years ago
|
||
They're installed, but not installed correctly. This is a tech support thing,
not a bug, if the following doesn't solve it, please post on
mozilla-webtools@mozilla.org. (see http://www.bugzilla.org/discussion.html )
Since you're on RedHat, and I've seen this happen a LOT on RedHat, I'm going to
guess it's a permissions issue. The default umask on RedHat is too strict, and
if you didn't run "umask 22" prior to running CPAN, many of the perl modules
will install in such a way that they're only accessible to root.
If that's what happened, this should fix it:
find /usr/lib/perl5 -perm -u+x -exec chmod go+x {} \;
find /usr/lib/perl5 -perm -u+r -exec chmod go+r {} \;
Also, RedHat's binary package for Perl installs at a different place than Perl
does by default if you install it from source. If you've installed Perl from
source at any point, it's quite possible you have two copies of Perl on the
system, and checksetup.pl is using a different one than you installed the
modules on. Try "which perl" and see if it matches what's on the #! line at the
top of checksetup.pl. You can install modules on a specific perl by specifying
the full path to perl when you invoke CPAN.
If neither of those suggestions solves it, please post on mozilla-webtools.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Version: 2.16.5 → unspecified
Updated•21 years ago
|
Version: unspecified → 2.16.5
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•