perl build.PL create an error

Discussion in 'Perl Misc' started by kwan, Jun 19, 2007.

  1. kwan

    kwan Guest

    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
     
    kwan, Jun 19, 2007
    #1
    1. Advertising

  2. On Jun 18, 11:02 pm, kwan <> wrote:
    > 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/


    <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?
     
    Skye Shaw!@#$, Jun 19, 2007
    #2
    1. Advertising

  3. kwan

    kwan Guest

    On Jun 19, 1:34 am, "Skye Shaw!@#$" <> wrote:
    > On Jun 18, 11:02 pm, kwan <> wrote:
    >
    > > 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/

    >
    > <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.
     
    kwan, Jun 20, 2007
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Vagif Abilov
    Replies:
    2
    Views:
    600
    Vagif Abilov
    Jul 7, 2004
  2. Pedro Mir
    Replies:
    2
    Views:
    462
    Winista
    Jun 20, 2006
  3. Nicolas Lehuen
    Replies:
    3
    Views:
    748
    Nicolas Lehuen
    Jan 28, 2004
  4. Toon Knapen
    Replies:
    2
    Views:
    381
    Toon Knapen
    May 17, 2006
  5. Guest
    Replies:
    6
    Views:
    14,326
    Sravani
    May 19, 2012
Loading...

Share This Page