Re: problems building perl modules, path question



On Oct 28, 4:53 pm, mmccaws2 <mmcc...@xxxxxxxxxxx> wrote:
I've been having problems building modules from the perl -MCPAN -e
shell. Usually the error refers to not having permission to a perl
library. My os is HPUX 11i.

I am not the administrator for the box, but I use sudo to install the
modules.

so I start like: $ perl -MCPAN -e shell.0
Are you sure you're using sudo? Based on the command that you've
posted, I'd say that's highly unlikely.

login
then try to install a module like Net::SSH::Perl. The errors will say
do not have permission to a library that is installed on the box.

Question is - why would I not have permission to a perl library in a
perl directory? is this based on sudo, my perl installation, or my
path parameters?

Try doing:

$ sudo bash
[pass your login credentials]

# perl -MCPAN -e shell

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

.



Relevant Pages

  • Re: Cant Install Perl as Non-Root
    ... File::Find is trying to work out its cwd, which means it needs to be ... permission on /home? ... Is it possible for you to build perl in a ... newer version of Cwd that doesn't fail in the ...
    (comp.lang.perl.misc)
  • Re: Shebang not working
    ... I'm having trouble launching a Perl script with the shebang operator. ... Consistent with a permission of '-rwxrw-rw-'. ...
    (comp.lang.perl.misc)
  • problems building perl modules, path question
    ... I've been having problems building modules from the perl -MCPAN -e ... $ perl -MCPAN -e shell. ... do not have permission to a library that is installed on the box. ...
    (comp.lang.perl.misc)
  • Re: problems building perl modules, path question
    ... Usually the error refers to not having permission to a perl ... I am not the administrator for the box, but I use sudo to install the ... $ perl -MCPAN -e shell. ... do not have permission to a library that is installed on the box. ...
    (comp.lang.perl.misc)
  • Re: FREE Linux Shell Provider
    ... Perl, Python as well as many other Linux tools and programs, with ... permission to run 1 background process. ...
    (uk.adverts.computer)