perl build.PL create an error

K

kwan

error modules installation
==========================================
Error message for Perl Build.PL
--------------------------
[root@popple HTML-Mason-1.36]# perl Build.PL
Can't locate Module/Build.pm in @INC (@INC contains: inc /usr/lib64/
perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/
site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/
5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/
x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/
perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/
site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/
vendor_perl/
5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.7/
x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.6/x86_64-
linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.5/x86_64-linux-
thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/
vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/
vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/
x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at inc/Mason/
Build.pm line 6.
BEGIN failed--compilation aborted at inc/Mason/Build.pm line 6.
Compilation failed in require at Build.PL line 7.
BEGIN failed--compilation aborted at Build.PL line 7.
=================================================================
Perl -MCPAN -e shell
CPAN> install HTML::Mason
 
S

Skye Shaw!@#$

error modules installation
==========================================
Error message for Perl Build.PL

<snip @INC dump>

[sshaw@localhost HTML-Mason-1.36]# grep -n -B5 Module::Build Build.PL
47-
48-my $build = Mason::Build->new
49- ( module_name => 'HTML::Mason',
50- requires => \%prereq,
51- build_requires => { 'HTML::Entities' => 0,
52: 'Module::Build' => 0.26,

As you can see, Module::Build is required for HTML::Mason's install.
Perl -MCPAN -e shell
CPAN> install HTML::Mason

This should have installed it for you. Maybe the install failed?
 
K

kwan

error modules installation
==========================================
Error message for Perl Build.PL

<snip @INC dump>

[sshaw@localhost HTML-Mason-1.36]# grep -n -B5 Module::Build Build.PL
47-
48-my $build = Mason::Build->new
49- ( module_name => 'HTML::Mason',
50- requires => \%prereq,
51- build_requires => { 'HTML::Entities' => 0,
52: 'Module::Build' => 0.26,

As you can see, Module::Build is required for HTML::Mason's install.
Perl -MCPAN -e shell
CPAN> install HTML::Mason

This should have installed it for you. Maybe the install failed?

Thank for the points.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,955
Messages
2,570,117
Members
46,705
Latest member
v_darius

Latest Threads

Top