blazar has asked for the wisdom of the Perl Monks concerning the following question:
I premise that I have configured the makepl_arg configuration variable suitably (not that it particularly matters with this particular problem, I suppose) to use CPAN for installing some modules in my home directory on a system I'm allowed as a user but on which I don't have root privileges. At a certain point I get this:
*** ExtUtils::AutoInstall configuration finished. *** Installing dependencies... *** You are not allowed to write to the directory '/home/blazar/.cpan/ +sources'; the installation may fail due to insufficient permissions. sudo: error while loading shared libraries: liblber-2.2.so.7: cannot o +pen shared object file: No such file or directory ==> Should we try to install the required module(s) anyway? [n]
The permissions for /home/blazar/.cpan/sources are as follows:
$ ls -ld /home/blazar/.cpan/sources drwxr-xr-x 4 blazar users 4096 Oct 7 2004 /home/blazar/.cpan/sources
What's going on? How can I get around it? I see sudo(8) mentioned above. Why is it? I gather I'm installing as a user, in userland. May that be the problem?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem installing module in my own home with CPAN.pm
by f00li5h (Chaplain) on Mar 29, 2007 at 09:22 UTC | |
|
Re: Problem installing module in my own home with CPAN.pm
by xdg (Monsignor) on Mar 29, 2007 at 11:47 UTC | |
by blazar (Canon) on Mar 29, 2007 at 12:59 UTC | |
by xdg (Monsignor) on Mar 29, 2007 at 13:10 UTC | |
by blazar (Canon) on Mar 29, 2007 at 13:59 UTC | |
|
Re: Problem installing module in my own home with CPAN.pm
by Herkum (Parson) on Mar 29, 2007 at 12:08 UTC |