in reply to Why permission required while installing certain CPAN module locally?

Hi,

Generally when you install Perl modules as a normal use, You wont have any problems upto

perl Makefile.PL

make

but when you use

make install

you will get lot of Issues. Because that tries to copy or move files from local directory to /bin/ /usr/bin.

These are all some system related directories there the root user has the access.

If you get admin access there won't be much Issues.

"Keep pouring your ideas"
  • Comment on Re: Why permission required while installing certain CPAN module locally?

Replies are listed 'Best First'.
Re^2: Why permission required while installing certain CPAN module locally?
by vek (Prior) on Nov 02, 2005 at 07:23 UTC

    jesuashok, unless you specify otherwise when issuing the perl Makefile.PL command, pure Perl modules will not typically install anything in /bin or /usr/bin. Usually, modules will be installed in one of the directories specified in @inc. Have a peek at the Makefile.PL file in question to see if it has a specific install dir mentioned. Run a quick perl -V to see your current @inc.

    -- vek --