Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can't locate Module/Runtime.pm in

1,438 views
Skip to first unread message

Greg Machin

unread,
Jan 17, 2012, 5:23:10 PM1/17/12
to support-...@lists.mozilla.org
Hi.

I have a new install of Bugzilla 4.0.1 , on Ubuntu 8.04, there are a number of other bugzilla installs of 4.x and 3.x all working fine. But where set up by someone else.

But I'm getting this :

Can't locate Module/Runtime.pm in @INC (@INC contains: . lib/x86_64-linux-gnu-thread-multi lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at lib/Class/Load.pm line 14.
BEGIN failed--compilation aborted at lib/Class/Load.pm line 14.
Compilation failed in require at lib/DateTime/TimeZone/Local.pm line 9.
BEGIN failed--compilation aborted at lib/DateTime/TimeZone/Local.pm line 9.
Compilation failed in require at lib/DateTime/TimeZone.pm line 13.
BEGIN failed--compilation aborted at lib/DateTime/TimeZone.pm line 13.
Compilation failed in require at /usr/lib/perl5/DateTime.pm line 53.
BEGIN failed--compilation aborted at /usr/lib/perl5/DateTime.pm line 53.
Compilation failed in require at Bugzilla/Util.pm line 53.
BEGIN failed--compilation aborted at Bugzilla/Util.pm line 53.
Compilation failed in require at Bugzilla/Error.pm line 33.
BEGIN failed--compilation aborted at Bugzilla/Error.pm line 33.
Compilation failed in require at Bugzilla/Install/Filesystem.pm line 31.
BEGIN failed--compilation aborted at Bugzilla/Install/Filesystem.pm line 31.
Compilation failed in require at Bugzilla/Config.pm line 38.
BEGIN failed--compilation aborted at Bugzilla/Config.pm line 38.
Compilation failed in require at Bugzilla.pm line 38.
BEGIN failed--compilation aborted at Bugzilla.pm line 38.
Compilation failed in require at /var/www/telstra-mps/index.cgi line 34.
BEGIN failed--compilation aborted at /var/www/telstra-mps/index.cgi line 34.

The output from the checksetup.pl indicates DateTime-TimeZone is missing , but when it try and install it is says it's there.

root@endace-desktop:/var/www/telstra-mps# ./checksetup.pl
* This is Bugzilla 4.0.1 on perl 5.8.8
* Running on Linux 2.6.24-19-generic #1 SMP Wed Aug 20 17:53:40 UTC 2008

Checking perl modules...
Checking for CGI.pm (v3.51) ok: found v3.53
Checking for Digest-SHA (any) ok: found v5.70
Checking for TimeDate (v2.21) ok: found v2.22
Checking for DateTime (v0.28) ok: found v0.41
Checking for DateTime-TimeZone (v0.71) not found
Checking for DBI (v1.41) ok: found v1.607
Checking for Template-Toolkit (v2.22) ok: found v2.22
Checking for Email-Send (v2.00) ok: found v2.192
Checking for Email-MIME (v1.904) ok: found v1.910
Checking for URI (any) ok: found v1.59
Checking for List-MoreUtils (v0.22) ok: found v0.33

Checking available perl DBD modules...
Checking for DBD-Pg (v1.45) not found
Checking for DBD-mysql (v4.00) ok: found v4.008
Checking for DBD-Oracle (v1.19) not found

The following Perl modules are optional:
Checking for GD (v1.20) ok: found v2.35
Checking for Chart (v2.1) ok: found v2.4.4
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.502
Checking for libwww-perl (any) ok: found v6.03
Checking for PatchReader (v0.9.4) ok: found v0.9.6
Checking for perl-ldap (any) ok: found v0.43
Checking for Authen-SASL (any) ok: found v2.15
Checking for RadiusPerl (any) ok: found v0.20
Checking for SOAP-Lite (v0.712) ok: found v0.714
Checking for JSON-RPC (any) ok: found v1.01
Checking for JSON-XS (v2.0) ok: found v2.32
Checking for Test-Taint (any) ok: found v1.04
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.316
Checking for Email-Reply (any) ok: found v1.202
Checking for TheSchwartz (any) ok: found v1.10
Subroutine File::Slurp::O_RDWR redefined at lib/File/Slurp.pm line 11
Subroutine File::Slurp::O_CREAT redefined at lib/File/Slurp.pm line 11
Subroutine File::Slurp::O_EXCL redefined at lib/File/Slurp.pm line 11
Checking for Daemon-Generic (any) ok: found v0.81
Checking for mod_perl (v1.999022) ok: found v2.000003
Checking for Apache-SizeLimit (v0.93) ok: found v0.96
Checking for Math-Random-Secure (v0.05) ok: found v0.06
WARNING: We could not check the configuration of Apache. This sometimes
happens when you are not running checksetup.pl as root. To see the
problem we ran into, run: /usr/sbin/apache2 -t -D DUMP_MODULES

***********************************************************************
* 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. *
***********************************************************************
COMMANDS TO INSTALL REQUIRED MODULES (You *must* run all these commands
and then re-run this script):

/usr/bin/perl install-module.pl DateTime::TimeZone

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. ***

root@endace-desktop:/var/www/telstra-mps# /usr/bin/perl install-module.pl DateTime::TimeZone
Checking for CPAN (v1.81) ok: found v1.98
Checking for YAML (any) ok: found v0.78
Checking for ExtUtils-MakeMaker (v6.31) ok: found v6.62
Reading '/root/.cpan/Metadata'
Database was generated on Mon, 16 Jan 2012 22:15:23 GMT
Installing DateTime::TimeZone version 1.42...
DateTime::TimeZone is up to date (1.42).
root@endace-desktop:/var/www/telstra-mps# /usr/bin/perl install-module.pl --all
Checking for CPAN (v1.81) ok: found v1.98
Checking for YAML (any) ok: found v0.78
Checking for ExtUtils-MakeMaker (v6.31) ok: found v6.62
Subroutine File::Slurp::O_RDWR redefined at /var/www/telstra-mps/lib/File/Slurp.pm line 11
Subroutine File::Slurp::O_CREAT redefined at /var/www/telstra-mps/lib/File/Slurp.pm line 11
Subroutine File::Slurp::O_EXCL redefined at /var/www/telstra-mps/lib/File/Slurp.pm line 11
WARNING: We could not check the configuration of Apache. This sometimes
happens when you are not running checksetup.pl as root. To see the
problem we ran into, run: /usr/sbin/apache2 -t -D DUMP_MODULES

Reading '/root/.cpan/Metadata'
Database was generated on Mon, 16 Jan 2012 22:15:23 GMT
Installing DateTime::TimeZone version 1.42...
DateTime::TimeZone is up to date (1.42).
root@endace-desktop:/var/www/telstra-mps#

I'm assuming that the error is related to the DateTime::TimeZone module confusion .. how do I resolve this ?

Thanks





--
Greg Machin
Senior Linux Systems Administrator - Endace

greg....@endace.com <mailto:greg....@endace.com>
DDI: +64 7 959 2643 Mob: +64 21 751 699
www.endace.com;<http://www.endace.com/> LinkedIn;<http://www.linkedin.com/companies/endace> follow us on Twitter<http://twitter.com/endace>

power to see all

This email (including any attachments) is intended to be read by the named recipient(s) only. If the email wasn't addressed to you, you mustn't use, distribute or copy any part of it. If you've received it in error please delete it (along with any attachments) and inform us of the error. Emails aren't secure and can't be guaranteed to be error free as they can be intercepted, amended, lost or destroyed. It's your responsibility to check this email and any attachments for viruses. These risks are deemed accepted by everyone that communicates with us by email.

harda....@gmail.com

unread,
Aug 19, 2013, 7:50:13 AM8/19/13
to
this work for me:
$ perl install-module.pl Params::Util
$ perl install-module.pl Module::Runtime

Rgds
0 new messages