Module installation and permissions

  • Thread starter Alexandre Jaquet
  • Start date
A

Alexandre Jaquet

Hi,

I need to install new module on my shell but I didn't have
a root account.

I've upload and decompress the module archive in my
home directory (/home/alexj/lib/Net-IRC)

Then I've type the following commands :

-bash-2.05b$ perl Makefile.PL PREFIX=~

Writing Makefile for Net::IRC
-bash-2.05b$ make
Manifying blib/man3/Net::IRC.3
Manifying blib/man3/Net::Connection.3
Manifying blib/man3/Net::DCC.3
Manifying blib/man3/Net::Event.3
-bash-2.05b$ make install
Warning: You do not have permissions to install into
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd at
/usr/libdata/perl/5.00503/ExtUtils/Install.pm line 62.
Installing /usr/local/lib/perl5/site_perl/5.005/Net/IRC.pm
mkdir /usr/local/lib/perl5/site_perl/5.005/Net/IRC: Permission denied at
/usr/libdata/perl/5.00503/ExtUtils/Install.pm line 120
*** Error code 2

Stop in /usr/home/alexj/lib/Net-IRC-0.74.
-bash-2.05b$


Then I've made another try with :

perl Makefile.PL PREFIX=/home/alexj/lib/Net-IRC-0.74/
Writing Makefile for Net::IRC
-bash-2.05b$ make
Manifying blib/man3/Net::IRC.3
Manifying blib/man3/Net::Connection.3
Manifying blib/man3/Net::DCC.3
Manifying blib/man3/Net::Event.3
-bash-2.05b$ make install
Warning: You do not have permissions to install into
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd at
/usr/libdata/perl/5.00503/ExtUtils/Install.pm line 62.
Installing /usr/local/lib/perl5/site_perl/5.005/Net/IRC.pm
mkdir /usr/local/lib/perl5/site_perl/5.005/Net/IRC: Permission denied at
/usr/libdata/perl/5.00503/ExtUtils/Install.pm line 120
*** Error code 2

Stop in /usr/home/alexj/lib/Net-IRC-0.74.
-bash-2.05b$

Any idea on how to install that :/

Thanks in advance.
 
M

Matt Garrish

Alexandre Jaquet said:
Hi,

I need to install new module on my shell but I didn't have
a root account.

I've upload and decompress the module archive in my
home directory (/home/alexj/lib/Net-IRC)

Most Web hosts won't allow IRC because it hogs bandwidth. My guess is you've
been told by your admin that they won't install the module, so now you're
trying to do it on your own. Am I close, or have you bypassed the admin
entirely in the hopes of sneaking it onto the system? I would suggest that
you just learn to live without it.

Matt
 
C

Charlton Wilbur

AJ> Hi, I need to install new module on my shell but I didn't have
AJ> a root account.

perldoc -q 'my own module'

Charlton
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,038
Latest member
OrderProperKetocapsules

Latest Threads

Top