uskidsknow has asked for the wisdom of the Perl Monks concerning the following question:

Hi I am new to perl and am working a tool that i am going to have to write in perl. i have built a linus box (Fedora) and put the latest release of active state perl on it. I have downloaded a cpan module. when i come to install it it throws the error i have detailed below (cant locate @INC). can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/local/lib/perl5/site_perl .) at Makefile.PL line 3. BEGIN failed--compilation aborted at Makefile.PL line 3. root@XXXXX Win32-EventLog-0.076# Hope you can help! Thanks

Replies are listed 'Best First'.
Re: cant locate @INC
by CountZero (Bishop) on Mar 15, 2009 at 17:54 UTC
    Were you trying to build Win32::EventLog? If so, it is unlikely that this module can be build on Fedora Linux, it is Windows-only.

    If you were trying to build another module, which one?

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Re: cant locate @INC
by Anonymous Monk on Mar 15, 2009 at 23:25 UTC
    can't locate ExtUtils/MakeMaker.pm in @INC
    ExtUtils::MakeMaker is a core perl module, it should come with every perl.