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

Attachment: pgpbS3Y5K4jen.pgp
Description: PGP signature

--------
RT Training Sessions (http://bestpractical.com/services/training.html)
* Boston — March 5 & 6, 2012

Reply via email to