If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Perl and the DBI > CPAN Installation error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-13-07, 01:52
mzvohra mzvohra is offline
Registered User
 
Join Date: Apr 2007
Posts: 3
CPAN Installation error

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.). 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_perl/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/vendor_perl/5.6.1 /usr/perl5/vendor_perl .) at Makefile.PL line 5.
BEGIN failed--compilation aborted at Makefile.PL line 5.

Regards,

zvohra
Reply With Quote
  #2 (permalink)  
Old 06-13-07, 02:03
sco08y sco08y is offline
Registered User
 
Join Date: Oct 2002
Location: Baghdad, Iraq
Posts: 697
i know Makemaker and I installed and installed the module it fails when i make it.

The "it" that fails is confusing me. Are you saying that you installed Makemaker and that the installation of CPAN fails or that you couldn't install Makemaker?

Anyhow, verify that:

You actually need to install CPAN. Try running "cpan".

You're trying to install CPAN to the right version / copy of Perl. Many systems have multiple versions of Perl installed in all different places. perl -v helps here.

Your PERL5LIB or PERLLIB is set correctly, if needed. See perldoc perlrun.

You are running with enough permissions, i.e. you don't need to run su or something. If you're trying to install a module to a /usr copy of perl, you probably need to be the admin.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On