On Tue, Mar 13, 2012 at 01:48:44PM +0000, Walid Haider wrote: > Hi Kevin, > > Thanks for the response. > > Tried cpan Module::Build and got this:
Unfortunately, you cut off the interesting part about what failed. Can you show the output that comes before the summary report so we can tell if Module-Metadata has a bug you need to report upstream or if it's a local issue. -kevin > Test Summary Report > ------------------- > t/metadata.t (Wstat: 65280 Tests: 1 Failed: 1) > Failed test: 1 > Non-zero exit status: 255 > Parse errors: Bad plan. You planned 116 tests but ran 1. > t/version.t (Wstat: 512 Tests: 0 Failed: 0) > Non-zero exit status: 2 > Parse errors: No plan found in TAP output > Files=2, Tests=1, 5 wallclock secs ( 0.01 usr 0.01 sys + 0.07 cusr 2.40 > csys = 2.49 CPU) > Result: FAIL > Failed 2/2 test programs. 1/1 subtests failed. > make: *** [test_dynamic] Error 2 > DAGOLDEN/Module-Metadata-1.000009.tar.gz > /usr/bin/make test -- NOT OK > //hint// to see the cpan-testers results for installing this module, try: > reports DAGOLDEN/Module-Metadata-1.000009.tar.gz > Running make install > make test had returned bad status, won't install without force > Running install for module 'version' > Running make for J/JP/JPEACOCK/version-0.96.tar.gz > Has already been unwrapped into directory > /root/.cpan/build/version-0.96-4Zvpfw > Has already been made > Running make test > Has already been tested successfully > Running make install > Already done > Running make for L/LE/LEONT/Module-Build-0.40.tar.gz > Has already been unwrapped into directory > /root/.cpan/build/Module-Build-0.40-JShO8A > > CPAN.pm: Building L/LE/LEONT/Module-Build-0.40.tar.gz > > Warning: Prerequisite 'Module::Metadata => 1.000002' for > 'LEONT/Module-Build-0.40.tar.gz' failed when processing > 'DAGOLDEN/Module-Metadata-1.000009.tar.gz' with 'make_test => NO'. > Continuing, but chances to succeed are limited. > CPAN: Time::HiRes loaded ok (v1.9719) > Warning: Prerequisite 'version => 0.87' for 'LEONT/Module-Build-0.40.tar.gz' > already built but the result looks suspicious. Skipping another build > attempt, to prevent looping endlessly. > /usr/bin/perl Build --makefile_env_macros 1 > Can't locate Module/Metadata.pm in @INC (@INC contains: t/lib t/bundled lib > /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi > /usr/local/lib/perl5/site_perl/5.10.0 > /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl > /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 > /usr/lib/perl5/site_perl .) at lib/Module/Build/ModuleInfo.pm line 10. > Compilation failed in require at lib/Module/Build/Base.pm line 23. > BEGIN failed--compilation aborted at lib/Module/Build/Base.pm line 23. > Compilation failed in require at lib/Module/Build.pm line 15. > BEGIN failed--compilation aborted at lib/Module/Build.pm line 15. > Compilation failed in require at Build line 42. > BEGIN failed--compilation aborted at Build line 42. > make: *** [all] Error 2 > LEONT/Module-Build-0.40.tar.gz > /usr/bin/make -- NOT OK > Running make test > Can't test without successful make > Running make install > Make had returned bad status, install seems impossible > [root@rt-test .cpan]# > > Thanks, > Walid > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Kevin Falcone > Sent: segunda-feira, 5 de Março de 2012 16:35 > To: [email protected] > Subject: Re: [rt-users] (Installing RT 4.0.5) Fixdeps unable to make > HTML::Mason > > On Mon, Mar 05, 2012 at 10:01:44AM +0000, Walid Haider wrote: > > >> That sounds pretty broken. > > >> What's in /root/.cpan/build ? > > You are absolutely right, I went ahead and removed the build directory > > before answering your question. I'm sorry. > > > > >You can also always manually download HTML::Mason from something like > > >http://search.cpan.org/dist/HTML-Mason > > >untar it and perl Makefile.PL and see if you get a better error message by > > >doing it manually. > > Regarding this point, I tried what you suggested and this is the error > > message I am getting: > > > > [root@rt-test HTML-Mason-1.48]# perl Makefile.PL Can't locate > > Module/Build/Compat.pm in @INC (@INC contains: inc > > /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi > > /usr/local/lib/perl5/site_perl/5.10.0 > > /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi > > /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl > > /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 > > /usr/lib/perl5/site_perl .) at Makefile.PL line 4. > > BEGIN failed--compilation aborted at Makefile.PL line 4. > > I bet your Module::Build is too old and your CPAN.pm is too old to notice > that your Module::Build is too old. > > Try > > cpan Module::Build > cpan HTML::Mason > > -kevin
pgpn8pNNdlrnR.pgp
Description: PGP signature
