I have a problem during the DateTime installation:
perl install-module.pl DateTime
Checking for CPAN (v1.81) ok: found v1.96
Checking for YAML (any) ok: found v0.72
CPAN: Storable loaded ok (v2.15)
Going to read '/root/.cpan/Metadata'
Database was generated on Mon, 11 Apr 2011 11:27:21 GMT
Installing DateTime version 0.66...
Running install for module 'DateTime'
Running make for D/DR/DROLSKY/DateTime-0.66.tar.gz
CPAN: Digest::SHA loaded ok (v5.61)
CPAN: Compress::Zlib loaded ok (v1.35)
Checksum for
/root/.cpan/source/authors/id/D/DR/DROLSKY/DateTime-0.66.tar.gz ok
DateTime-0.66
[...]
/bin/tar: Read 9728 bytes from -
DateTime-0.66/t/release-pp-42duration-class.t
CPAN: File::Temp loaded ok (v0.16)
CPAN: Time::HiRes loaded ok (v1.86)
CPAN.pm: Going to build D/DR/DROLSKY/DateTime-0.66.tar.gz
Can't locate Module/Build.pm in @INC (@INC contains:
/srv/www/htdocs/bugzilla/lib/x86_64-linux-thread-multi
/srv/www/htdocs/bugzilla/lib
/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8
/usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at Build.PL
line 5.
BEGIN failed--compilation aborted at Build.PL line 5.
Warning: No success on command[/usr/bin/perl Build.PL ]
DROLSKY/DateTime-0.66.tar.gz
/usr/bin/perl Build.PL -- NOT OK
Skipping test because of notest pragma
Running Build install
Make had some problems, won't install
Could not read metadata file. Falling back to other methods to determine
prerequisites
For tips to solve the problem, I would be grateful.
Greetings,
i.A. Mirco Dunker
LUNAR GmbH
Entwicklung
Java-Entwicklung
New-York-Ring 6
22297 Hamburg
Tel.:
+49 40 6377 - 3147
Fax:
+49 40 6377 - 43317
Mobil:
+49 0151 15027921
mailto:mirco....@edeka.de
EDEKA LUNAR GmbH, Hamburg, eingetragen beim Amtsgericht Hamburg HRB 113314
Geschäftsführer: Dr. Michael Wulst, Christoph Diekmeyer
Ein Unternehmen der EDEKA ZENTRALE AG & Co. KG
---------------------------------------------------------------------------------------------------------------------------------------------------
HINWEIS: Diese Nachricht ist vertraulich und nur für den Adressaten
bestimmt. Sollten Sie irrtümlich diese
Nachricht erhalten haben, bitten wir um Ihre Mitteilung per E-Mail oder
unter der oben angegebenen Telefonnummer.
NOTICE: This message is confidential and may be read, copied, disseminated
or otherwise used only by the intended recipient.
Should you have received this message in error, please contact us
immediately by return e-mail or by telephone at the number above.
DateTime uses Module::Build in its build process, but you don't have
it installed. The quick fix is to manually tell CPAN to install
Module::Build first.
I'm a bit surprised that this is happening, though. DateTime properly
declares its requirement for Module::Build (in META.{yml,json}), and you
apparently have the latest version of the CPAN module, which is meant
to process that declaration. Did you specially configure CPAN to not
follow prerequisites, or something like that?
-zefram
The problem is probably in "install-module.pl" that may not correctly
handle dependencies. Where does this tool comes from?
indeed, this was an dependency problem. I do not know what has caused it
because all other dependencies were installed correctly. So I installed
manually the dependency Modul::Build wich caused the problem. After that
everything works fine.
Greetings,
Mirco