Go Back   The macosxhints Forums > Working with OS X > OS X Developer



 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
Old 02-14-2012, 04:40 AM   #1
dr chris jones
Triple-A Player
 
Join Date: Mar 2004
Location: London, UK
Posts: 147
Lion, sudo and cpan

I've recently upgraded to Lion, and found that sudo doesn't work like it used to. Specifically, I now can't launch /usr/bin/cpan to install Perl modules. In Leopard/Snow Leopard, I used to do this under sudo in order that cpan would have the admin privileges required to perform make install. But now I get "sudo: cpan: command not found". Also, where I used to be able to launch cpan without sudo, I now can't do that either (getting a "Permission denied" error).

I've never tinkered with the sudoers file, or modified which apps can run under sudo - is this what I need to do to fix this? If so, can someone give me the heads up how to safely do that?

Before anyone suggests it - I don't want a second Perl installation, don't want to use Fink, homebrew, etc - I just want cpan to work again!
dr chris jones is offline   Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 01:38 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.