Closed
Bug 600578
Opened 15 years ago
Closed 15 years ago
checksetup.pl reports modules missing when they are present
Categories
(Bugzilla :: Installation & Upgrading, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: BugZilla.to.Davies, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
Build Identifier: BugZilla 3.6.2
Having installed CGI and Template-Toolkit on an existing installation of ActiveState Perl 5.10, checksetup still reports that they don't exist and won't proceed. I sought the wisdom of PerlMonks at http://www.perlmonks.org/?node_id=862602. Tests I was advised to run are documented there, as is a workaround suggested by Ikegami, which worked for me, namely running the command as
perl -MCGI -MTemplate checksetup.pl
Reproducible: Always
Steps to Reproduce:
Happens every time ON MY MACHINE - maybe not on yours :-)
1. Follow instructions on https://wiki.mozilla.org/Bugzilla:Win32Install up to "Configure Bugzilla "
2. perl checksetup.pl
3. Start shaving yaks
Actual Results:
Checking perl modules...
Version string '-1, set by base.pm' contains invalid data; ignoring: '-1, set by
base.pm' at Bugzilla/Install/Requirements.pm line 545.
Checking for CGI.pm (v3.33) not found
Expected Results:
Z:\BugZilla>perl -MCGI -MTemplate checksetup.pl
* This is Bugzilla 3.6.2 on perl 5.10.0
* Running on WinXP/.Net Build 2600 (Service Pack 2)
Checking perl modules...
Checking for CGI.pm (v3.33) ok: found v3.49
Checking for Digest-SHA (any) ok: found v5.45
Checking for TimeDate (v2.21) ok: found v2.24
Checking for DateTime (v0.28) ok: found v0.63
Checking for DateTime-TimeZone (v0.79) ok: found v1.21
Checking for DBI (v1.41) ok: found v1.613
Checking for Template-Toolkit (v2.22) ok: found v2.22
Reporter | ||
Updated•15 years ago
|
Version: unspecified → 3.6.2
![]() |
||
Comment 1•15 years ago
|
||
(In reply to comment #0)
> Version string '-1, set by base.pm' contains invalid data; ignoring: '-1, set
> by
> base.pm' at Bugzilla/Install/Requirements.pm line 545.
-1 here means that Template and CGI have a missing dependency. So these modules are indeed installed, but cannot work correctly without these dependencies.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Comment 2•15 years ago
|
||
John: To be clearer here, Bugzilla does not do what ikegami thinks Bugzilla does. It simply attempts to load the module, just like "-M" would do in your situation. My suspicion is that something is wrong with your Perl installation, although I'm not sure what. Perhaps it's just some general problem with the build of ActiveState Perl you're using. There are newer 5.10.x builds--perhaps uninstalling, removing everything in C:\Perl, and re-installing a newer build will help you.
If you continue to have trouble, though, probably the best thing to do is to ask the support list, described here:
http://www.bugzilla.org/support/
![]() |
||
Comment 3•15 years ago
|
||
(In reply to comment #2)
> My suspicion is that something is wrong with your Perl installation,
> although I'm not sure what.
Easy (this happened to me often enough to know the problem by heart): when PPM downloads several packages, and one of them is inaccessible (e.g. because the versions do not match), it immediately stops downloading remaining packages, and starts installing the ones already downloaded. What happens is that these packages are downloaded in a pretty random order, and so dependencies may not have been downloaded before the failure and PPM doesn't even notice that it forgot to install dependencies first.
You need to log in
before you can comment on or make changes to this bug.
Description
•