Closed
Bug 585633
Opened 15 years ago
Closed 15 years ago
checksetup.pl detects wrong version of perl modules
Categories
(Bugzilla :: Installation & Upgrading, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jka, Unassigned)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100504 SeaMonkey/2.0.5
Build Identifier: 3.6.2
When running checksetup.pl --check-setup, the script is detecting older versions of perl modules, even though the required version is already installed.
When checksetup.pl is run in version 3.6.1, the proper versions are seen.
Without this script running properly, version 3.6.2 will not install.
Reproducible: Always
Steps to Reproduce:
1. Run checksetup.pl --check-setup
2. Install modules missing
3. Run checksetup.pl --check-setup again
Actual Results:
Modules installed in step 2 above are not detected by checksetup.pl
Expected Results:
These modules should be detected.
# ./checksetup.pl --check-modules
* This is Bugzilla 3.6.2 on perl 5.10.0
* Running on Linux 2.6.26-2-amd64 #1 SMP Tue Jan 12 22:12:20 UTC 2010
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.22
Checking for DateTime (v0.28) ok: found v0.42
Checking for DateTime-TimeZone (v0.71) ok: found v0.7701
Checking for DBI (v1.41) ok: found v1.605
Checking for Template-Toolkit (v2.22) found v2.19
Checking for Email-Send (v2.00) ok: found v2.192
Checking for Email-MIME (v1.861) ok: found v1.861
Checking for Email-MIME-Encodings (v1.313) found v1.311
Checking for Email-MIME-Modifier (v1.442) ok: found v1.442
Checking for URI (any) ok: found v1.35
Checking available perl DBD modules...
Checking for DBD-Pg (v1.45) not found
Checking for DBD-mysql (v4.00) ok: found v4.007
Checking for DBD-Oracle (v1.19) not found
The following Perl modules are optional:
Checking for GD (v1.20) ok: found v2.39
Checking for Chart (v2.1) ok: found v2.4.1
Checking for Template-GD (any) ok: found v1.56
Checking for GDTextUtil (any) ok: found v0.86
Checking for GDGraph (any) ok: found v1.44
Checking for XML-Twig (any) ok: found v3.32
Checking for MIME-tools (v5.406) ok: found v5.427
Checking for libwww-perl (any) ok: found v5.813
Checking for PatchReader (v0.9.4) ok: found v0.9.5
Checking for perl-ldap (any) ok: found v0.36
Checking for Authen-SASL (any) not found
Checking for RadiusPerl (any) not found
Checking for SOAP-Lite (v0.710.06) ok: found v0.710.08
Checking for JSON-RPC (any) not found
Checking for Test-Taint (any) not found
Checking for HTML-Parser (v3.40) ok: found v3.56
Checking for HTML-Scrubber (any) ok: found v0.08
Checking for Email-MIME-Attachment-Stripper (any) ok: found v1.315
Checking for Email-Reply (any) ok: found v1.202
Checking for TheSchwartz (any) not found
Checking for Daemon-Generic (any) not found
Checking for mod_perl (v1.999022) ok: found v2.000004
***********************************************************************
* REQUIRED MODULES *
***********************************************************************
* Bugzilla requires you to install some Perl modules which are either *
* missing from your system, or the version on your system is too old. *
* See below for commands to install these modules. *
***********************************************************************
* OPTIONAL MODULES *
***********************************************************************
* Certain Perl modules are not required by Bugzilla, but by *
* installing the latest version you gain access to additional *
* features. *
* *
* The optional modules you do not have installed are listed below, *
* with the name of the feature they enable. Below that table are the *
* commands to install each module. *
***********************************************************************
* MODULE NAME * ENABLES FEATURE(S) *
***********************************************************************
* Authen-SASL * SMTP Authentication *
* RadiusPerl * RADIUS Authentication *
* JSON-RPC * JSON-RPC Interface *
* Test-Taint * JSON-RPC Interface, XML-RPC Interface *
* TheSchwartz * Mail Queueing *
* Daemon-Generic * Mail Queueing *
***********************************************************************
COMMANDS TO INSTALL OPTIONAL MODULES:
Authen-SASL: /usr/bin/perl install-module.pl Authen::SASL
RadiusPerl: /usr/bin/perl install-module.pl Authen::Radius
JSON-RPC: /usr/bin/perl install-module.pl JSON::RPC
Test-Taint: /usr/bin/perl install-module.pl Test::Taint
TheSchwartz: /usr/bin/perl install-module.pl TheSchwartz
Daemon-Generic: /usr/bin/perl install-module.pl Daemon::Generic
COMMANDS TO INSTALL REQUIRED MODULES (You *must* run all these commands
and then re-run this script):
/usr/bin/perl install-module.pl Template
/usr/bin/perl install-module.pl Email::MIME::Encodings
To attempt an automatic install of every required and optional module
with one command, do:
/usr/bin/perl install-module.pl --all
*** Installation aborted. Read the messages above. ***
# /usr/bin/perl install-module.pl Template
Checking for CPAN (v1.81) ok: found v1.92
Checking for YAML (any) ok: found v0.71
CPAN: Storable loaded ok (v2.18)
Going to read /root/.cpan/Metadata
Database was generated on Mon, 09 Aug 2010 14:31:20 GMT
Going to read /root/.cpan/build/
............................................................................DONE
Found 24 old builds, restored the state of 24
Installing Template version 2.22...
Running install for module 'Template'
Running make for A/AB/ABW/Template-Toolkit-2.22.tar.gz
Has already been unwrapped into directory /root/.cpan/build/Template-Toolkit-2.22-j7x3gs
Has already been made
Skipping test because of notest pragma
Running make install
Already done
#
Comment 1•15 years ago
|
||
(In reply to comment #0)
> /root/.cpan/build/Template-Toolkit-2.22-j7x3gs
> Has already been made
> Skipping test because of notest pragma
> Running make install
> Already done
You already installed Template-Toolkit once, and so CPAN doesn't try to install it again. First delete your /root/.cpan/ directory, then try installing it again. This should fix your problem.
Version: unspecified → 3.6.2
OK... this did the trick. However, it doesn't necessarily explain why checksetup.pl from version 3.6.1 detected the new version of Template-Toolkit, etc.
Comment 3•15 years ago
|
||
Because you didn't install Template-Toolkit before. The problem is not checksetup.pl detecting the correct module or not. The problem is cpan *thinking* that the module is already installed.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•