|
|
#1 |
|
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! |
|
|
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|