Attempt to reload DateTime.pm aborted.
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 checksetup.pl line 102.
I have been struggling with this for a day or so and am finally fed up;
I've downloaded the stable version, the CVS version and the bzr version
with the same result.
The platform specifics: Linux fubar 2.6.37.6 #3 SMP Sat Apr 9 22:49:32
CDT 2011 x86_64 Intel(R) Core(TM)2 Duo CPU E7600 @ 3.06GHz GenuineIntel
GNU/Linux, the operating system is Slackware 64-bit, release 13.37.
Anybody have any idea what the heck to do with this *&^^$&*# Perl stuff
to get Bugzilla back in business?
Thanks.
You may have several different 'DateTime.pm' files on your machine.
The command 'locate' may be the best way to discover this for sure.
73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB 12F8 0CE1 4AAC A0E2 6627)
--
http://vereshagin.org
or a compilation problem in DateTime.pm which is higly unlikely
http://search.cpan.org/~jesse/perl-5.14.0/pod/perldiag.pod (search the error in this doc)
I believe you have installed the DateTime module correctly, and was not interrupted during installation.
You could mention the Bugzilla versions that you have tried so that others could share their experience.
~raghu
Thanks.
_______________________________________________
support-bugzilla mailing list
support-...@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put support-...@lists.mozilla.org in the To: field when you reply.
Any comments or statements made in this email are not necessarily those of Tavant Technologies.
The information transmitted is intended only for the person or entity to which it is addressed and may
contain confidential and/or privileged material. If you have received this in error, please contact the
sender and delete the material from any computer. All e-mails sent from or to Tavant Technologies
may be subject to our monitoring procedures.
Try:
rm -rf lib/*
./install-module.pl Module::Build
./install-module.pl --all
-Max
--
Max Kanat-Alexander
Chief Architect, Community Lead, and Release Manager
Bugzilla Project
http://www.bugzilla.org/
fubar-root-/var/www/htdocs/bugzilla: find / -type f -name 'DateTime.pm'
/usr/lib64/perl5/site_perl/5.12.3/x86_64-linux-thread-multi/DateTime.pm
Hmm.
OK, thank you, did that (all was well that ended) and...
fubar-root-/var/www/htdocs/bugzilla: r checksetup
checksetup.pl --modules
Unknown option: modules
* This is Bugzilla 4.1.2+ on perl 5.12.3
* Running on Linux 2.6.37.6 #3 SMP Sat Apr 9 22:49:32 CDT 2011
Checking perl modules...
Checking for CGI.pm (v3.51) ok: found v3.54
Checking for Digest-SHA (any) ok: found v5.47
Checking for TimeDate (v2.21) ok: found v2.24
Checking for DateTime (v0.28) ok: found v0.70
Checking for DateTime-TimeZone (v0.71) ok: found v1.34
Checking for DBI (v1.41) ok: found v1.616
Checking for Template-Toolkit (v2.22) ok: found v2.22
Checking for Email-Send (v2.00) ok: found v2.198
Checking for Email-MIME (v1.904) ok: found v1.907
Checking for URI (v1.37) ok: found v1.58
Checking for List-MoreUtils (v0.22) ok: found v0.30
Checking for Math-Random-Secure (v0.05) ok: found v0.06
Checking available perl DBD modules...
Checking for DBD-Pg (v1.45) ok: found v2.18.1
Checking for DBD-mysql (v4.001) ok: found v4.018
Checking for DBD-SQLite (v1.29) ok: found v1.31
Checking for DBD-Oracle (v1.19) not found
The following Perl modules are optional:
Checking for GD (v1.20) ok: found v2.46
Checking for Chart (v2.1) ok: found v2.4.2
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.38
Checking for MIME-tools (v5.406) ok: found v5.502
Checking for libwww-perl (any) ok: found v6.02
Checking for PatchReader (v0.9.6) ok: found v0.9.6
Checking for perl-ldap (any) ok: found v0.4001
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.712
Checking for JSON-RPC (any) ok: found v0.96
Checking for JSON-XS (v2.0) ok: found v2.3
Use of uninitialized value in open at
lib/x86_64-linux-thread-multi/Test/Taint.pm line 334, <DATA> line 522.
Checking for Test-Taint (any) ok: found v1.04
Checking for HTML-Parser (v3.40) ok: found v3.68
Checking for HTML-Scrubber (any) ok: found v0.09
Checking for Encode (v2.21) ok: found v2.39
Checking for Encode-Detect (any) not found
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
Checking for Daemon-Generic (any) ok: found v0.71
Checking for mod_perl (v1.999022) not found
Checking for Apache-SizeLimit (v0.93) not found
Checking for mod_headers (any) ok
Checking for mod_expires (any) ok
Checking for mod_env (any) ok
***********************************************************************
* 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) *
***********************************************************************
* Encode-Detect * Automatic charset detection for text attachments *
* mod_perl * mod_perl *
* Apache-SizeLimit * mod_perl *
***********************************************************************
COMMANDS TO INSTALL OPTIONAL MODULES:
Encode-Detect: /usr/bin/perl5.12.3 install-module.pl Encode::Detect
mod_perl: /usr/bin/perl5.12.3 install-module.pl mod_perl2
Apache-SizeLimit: /usr/bin/perl5.12.3 install-module.pl
Apache2::SizeLimit
To attempt an automatic install of every required and optional module
with one command, do:
/usr/bin/perl5.12.3 install-module.pl --all
Attempt to reload DateTime.pm aborted.
Compilation failed in require at Bugzilla/Util.pm line 53, <DATA>
line 522.
BEGIN failed--compilation aborted at Bugzilla/Util.pm line 53,
<DATA> line 522.
Compilation failed in require at Bugzilla/Error.pm line 33, <DATA>
line 522.
BEGIN failed--compilation aborted at Bugzilla/Error.pm line 33,
<DATA> line 522.
Compilation failed in require at Bugzilla/Install/Filesystem.pm line
31, <DATA> line 522.
BEGIN failed--compilation aborted at Bugzilla/Install/Filesystem.pm
line 31, <DATA> line 522.
Compilation failed in require at Bugzilla/Config.pm line 38, <DATA>
line 522.
BEGIN failed--compilation aborted at Bugzilla/Config.pm line 38,
<DATA> line 522.
Compilation failed in require at Bugzilla.pm line 38, <DATA> line 522.
BEGIN failed--compilation aborted at Bugzilla.pm line 38, <DATA>
line 522.
Compilation failed in require at checksetup.pl line 102, <DATA> line
522.
Sigh.
The DateTime.pm file that is present on the machine is found in
/usr/lib64/perl5/site_perl/5.12.3/x86_64-linux-thread-multi/DateTime.pm
(the standard location in Slackware 64-bit systems) and one would think
that Perl knows where to find it, eh? Or do I have to fiddle with
symbolic links or something for Bugzilla to be able to find things.
Or am I just barking up the wrong tree here.
Ah ha. Your Slackware package did not install DateTime correctly. Try this:
perl -MDateTime -e1
You will see an error that tells you you are missing some module.
fubar-root-/root: perl -MDateTime -e1
Can't locate Math/Round.pm in @INC (@INC contains:
/usr/lib64/perl5/site_perl/5.12.3/x86_64-linux-thread-multi
/usr/lib64/perl5/site_perl/5.12.3
/usr/lib64/perl5/vendor_perl/5.12.3/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.12.3
/usr/lib64/perl5/5.12.3/x86_64-linux-thread-multi
/usr/lib64/perl5/5.12.3 /usr/lib64/perl5/site_perl
/usr/lib64/perl5/vendor_perl .) at
/usr/lib64/perl5/site_perl/5.12.3/x86_64-linux-thread-multi/DateTime.pm
line 13.
BEGIN failed--compilation aborted at
/usr/lib64/perl5/site_perl/5.12.3/x86_64-linux-thread-multi/DateTime.pm
line 13.
Compilation failed in require.
BEGIN failed--compilation aborted.
and danged if I know what to do about it! If you could, I'd really
appreciate a hint; do I need to recompile Perl from source with some
option turned on that isn't (Slackware provides all the source and the
the package building tools to build from scratch if there's something
missing); is there some CPAN command to take care of the problem?
I know absolutely nothing about Perl -- the only use I have for it is
Bugzilla -- and I'd be grateful for a hint.
Thanks.
You need to install Math::Round. Since you installed DateTime globally
in your Slackware install, you should probably install Math::Round
globally as well. Perhaps:
cpan install Math::Round
Slackware 64-bit 13.37 does not include more than a base set of modules
in Perl; searching around, I found a list of modules that looked
reasonable (bear in mind that I know less than zero about Perl) and I
removed and reinstalled Perl (just to get back to ground zero) then
initialized CPAN and installed the following modules
* LWP (so it would shut up about LWP missing)
* MD5
* Time::HiRes
* Bundle::CPAN
* DBI
* DBD::mysql
* LWP::UserAgent
* Crypt::SSLeay
* Net::SSleay
* XML::Parser
* Date::ICal
* Mail::Sender
One of the above did install /DateTime/ and /Math::Round/ (which had
been missing previously). Don't know if the others are needed, frankly
don't give a hoot, they're there and they don't seem to bother anybody.
Then I went through /checkinstall.pl --check-modules/ and, one-by-one,
installed each missing module as reported by /checkinstall.pl/.
At the end of that process, /checkinstall.pl/ ran without problems, I
added the data base password to /localconfig/ and, wonder of wonders! up
and runnin'.
All is well that ends.
Thanks to all who contributed hints.
我也遇到这样的量,求解