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

Hi,

I installed manually the CPAN and getting the errors as shown below, Please let me know what I am missing (i know Makemaker and I installed and installed the module it fails when i make it.). Actually, I need ftp module from cpan, or if someone know if i can use ftp without even installing cpan.Thanks in advance for any help.

# cd /CPAN-1.9101 # ls ChangeLog MANIFEST PAUSE2003.pub SIGNATURE lib ChangeLog.old MANIFEST.SKIP PAUSE2005.pub Todo scripts Changes META.yml PAUSE2007.pub distroprefs t Changes.old Makefile.PL README inc # perl Makefile.PL Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/perl5/ +5.6.1/lib/sun4-solaris-64int /usr/perl5/5.6.1/lib /usr/perl5/site_per +l/5.6.1/sun4-solaris-64int /usr/perl5/site_perl/5.6.1 /usr/perl5/site +_perl /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int /usr/perl5/vend +or_perl/5.6.1 /usr/perl5/vendor_perl .) at Makefile.PL line 5. BEGIN failed--compilation aborted at Makefile.PL line 5.
Regards,

rulesofthegames

Replies are listed 'Best First'.
Re: CPAN Installation error
by Joost (Canon) on May 21, 2007 at 23:35 UTC
    You've probably not installed the full perl distribution. If I'd had to guess, solaris splits up the perl distro into several packages, and you're on a system that only has the runtime part installed, but I don't have a solaris machine here to check.

    You might want to search for and install something like perl-dev or perl-devel (i.e. the perl development package).

    Also, depending on circumstances I would suggest you get a more recent version of perl. 5.6.1 is 6 years old by now, and if you want to do anything with unicode (or possibly threads) you need at least 5.8.0 but preferably 5.8.8 (the current stable version). Check http://www.sunfreeware.com/

      Thanks Joost for your reply, I was suspecting that too, but not sure. I will install new Perl and if there are any problems then i will post a new thread. Thanks again for your quick reply. Regards, rulesofthegames