Closed
Bug 1244012
Opened 9 years ago
Closed 9 years ago
Graphical modules do not install
Categories
(Bugzilla :: Installation & Upgrading, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: cdbm1967, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36
Steps to reproduce:
Platform: Red Hat Enterprise Linux Server release 6.7 (Santiago)
1. Download https://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-5.0.2.tar.gz
2. Run setup.
3. checksetup.pl
Actual results:
Following components consistently come up as missing in spite of being installed:
Checking for Chart (v2.4.1) not found
Checking for Template-GD (any) not found
Checking for GDTextUtil (any) not found
Checking for GDGraph (any) not found
Executing following looks as if installation was successful (but it wasn't):
Chart: /usr/bin/perl install-module.pl Chart::Lines
Template-GD: /usr/bin/perl install-module.pl Template::Plugin::GD::Image
GDTextUtil: /usr/bin/perl install-module.pl GD::Text
GDGraph: /usr/bin/perl install-module.pl GD::Graph
#-> /usr/bin/perl install-module.pl Chart::Lines
Checking for CPAN (v1.81) ok: found v2.10
Checking for YAML (any) ok: found v1.15
Checking for ExtUtils-MakeMaker (v6.31) ok: found v7.1
CPAN: Storable loaded ok (v2.20)
Reading '/root/.cpan/Metadata'
Database was generated on Fri, 29 Jan 2016 04:41:02 GMT
Installing Chart::Lines version 2.004010...
CPAN: Module::CoreList loaded ok (v2.18)
Chart::Lines is up to date (2.4.10).
#-> /usr/bin/perl install-module.pl Template::Plugin::GD::Image
Checking for CPAN (v1.81) ok: found v2.10
Checking for YAML (any) ok: found v1.15
Checking for ExtUtils-MakeMaker (v6.31) ok: found v7.1
CPAN: Storable loaded ok (v2.20)
Reading '/root/.cpan/Metadata'
Database was generated on Fri, 29 Jan 2016 04:41:02 GMT
Installing Template::Plugin::GD::Image version 1.56...
CPAN: Module::CoreList loaded ok (v2.18)
Template::Plugin::GD::Image is up to date (1.56).
/usr/bin/perl install-module.pl GD::Text
Checking for CPAN (v1.81) ok: found v2.10
Checking for YAML (any) ok: found v1.15
Checking for ExtUtils-MakeMaker (v6.31) ok: found v7.1
CPAN: Storable loaded ok (v2.20)
Reading '/root/.cpan/Metadata'
Database was generated on Fri, 29 Jan 2016 04:41:02 GMT
Installing GD::Text version 0.86...
CPAN: Module::CoreList loaded ok (v2.18)
GD::Text is up to date (0.86).
/usr/bin/perl install-module.pl GD::Graph
Checking for CPAN (v1.81) ok: found v2.10
Checking for YAML (any) ok: found v1.15
Checking for ExtUtils-MakeMaker (v6.31) ok: found v7.1
CPAN: Storable loaded ok (v2.20)
Reading '/root/.cpan/Metadata'
Database was generated on Fri, 29 Jan 2016 04:41:02 GMT
Installing GD::Graph version 1.52...
CPAN: Module::CoreList loaded ok (v2.18)
GD::Graph is up to date (1.52).
Running /usr/bin/perl install-module.pl --all does not produce any error. However, when running checksetup.pl the same set of modules are presented as missing (leaving out the modules described above):
Reading ./localconfig...
Checking for DBD-mysql (v4.001) ok: found v4.013
Checking for MySQL (v5.0.15) ok: found v5.1.73
Removing existing compiled templates...
Precompiling templates...done.
Fixing file permissions...
Checking for GraphViz (any) ok
Deriving regex group memberships...
checksetup.pl complete.
When in bugzilla, no graphs can be generated as following error message appears:
The Graphical Reports feature is not available in this Bugzilla. If you would like to enable this feature, please run checksetup.pl to see how to install the necessary requirements for this feature.
Expected results:
Graphics should be available.
Comment 1•9 years ago
|
||
This means that CPAN already installed these modules once, and this information is stored in the CPAN cache. So when you try to install them again, CPAN simply tells you that it already installed them ("is up to date"), and doesn't try to reinstall them. Deleting the CPAN cache would fix your problem (~/.cpan/).
The Perl modules required by Bugzilla are already available in RHEL packages, so you should use yum to install these modules, and only use install-module.pl if RHEL has a too old version of a module.
If you have more question, please visit https://www.bugzilla.org/support for help.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•