Re: problems building perl modules, path question




Quoth Ron Bergin <rkb@xxxxxxxxxx>:

Try doing:

$ sudo bash
[pass your login credentials]

# perl -MCPAN -e shell

Note the difference between the $ prompt and the # prompt.

It would be better to avoid performing the Makefile.PL and make steps as
root, if possible. Since CPAN (at least recent versions) has support for
using sudo for make install, it would be better to take advantage of it.

Ben

.



Relevant Pages