Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CPAN Issues

Status
Not open for further replies.

sshoot

IS-IT--Management
Joined
May 25, 2007
Messages
2
Location
US
I am really new to perl and I am trying to install modules from the command line using Cpan.

I cannot seem to get cpan to install the modules correctly,
cpan will spit out this error, and abort the installation process.

____
Running make install
mkdir /usr/local/man/man3: Permission denied at /System/Library/Perl/5.8.6/ExtUtils/Install.pm line 112
make: *** [pure_site_install] Error 255
/usr/bin/make install -- NOT OK
___

I tried running cpan in sudo mode but it still wouldn't work. I am at a loss and am not sure what to do about it.
any help is appreciated
 
Are you running this as root? It looks as though it doesn't have permission to write to /usr/local/man



-------------
Cuvou.com | The NEW Kirsle.net
 
I need to be root ?
I am trying to install the files from an administrator account. Am I supposed to be running cpan from root in the first place ?
 
um.. administrator account?? Are you on windows running active state perl? Use the built in PPM provided by active state.
 
Opps.. I didn't see that you were talking about sudo and such above.. I might have jumped the gun on that whole Windows thing?
 
One idea might be...

The perl function mkdir("/usr/local/man/man3"); would fail unless the directory /usr/local/man existed first. On my Linux system that directory doesn't exist, so that might what's wrong with yours too... trying to create a folder "man3" inside a folder "man", which doesn't exist?

-------------
Cuvou.com | The NEW Kirsle.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top