in reply to Re^2: Lingua::Identify Installation Error
in thread Lingua::Identify Installation Error

What happens if you do
$ perl -MModule::Build -e1
Where is Module::Build installed? What's your @INC?

Replies are listed 'Best First'.
Re^4: Lingua::Identify Installation Error
by listanand (Sexton) on Jun 03, 2010 at 19:47 UTC
    Can't locate Module/Build.pm in @INC (@INC contains: /home/andy/perl5/ +lib/perl5/x86_64-linux-gnu-thread-multi /home/andy/perl5/lib/perl5 /e +tc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/li +b/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/l +ocal/lib/site_perl .). BEGIN failed--compilation aborted.
      And the answer to the second question?
        @INC is identical to the one inside the parentheses above. Thanks.
Re^4: Lingua::Identify Installation Error
by listanand (Sexton) on Jun 03, 2010 at 20:29 UTC
    Ah I see. For some reason CPAN installed Module::Build inside /home/andy/perl5/lib/perl5/site_perl. That is not there in @INC though....

    What can I do next?

    Edit: I tried to manually install Module::Build into ~/perl5. I used

    perl Makefile.PL PREFIX=/home/andy/perl5/ make make test make install
    Now my Module::Build went inside /home/andy/perl5/share/perl/5.8.8/.