On 11 Oct 2007, at 18:23, Bill Moseley wrote:
In general, I prefer to run make and make test as a normal user and
then sudo make install, but sudo cpan sure is easy. But, that's
hardly a complete test of code.
Grab the latest CPAN, set these two options:
make_install_make_command [sudo make]
mbuild_install_build_command [sudo ./Build]
Then chown your ~/.cpan to yourself (because if you've been doing
sudo cpan some of the files will be owned by root)
$ sudo chown -R me:me ~/.cpan
and stop running CPAN as root. It'll then do make, make test, sudo
make install or the ./Build equivalents.
That doesn't stop make install doing something hoopy as root of course.
--
Andy Armstrong, Hexten