> Is it OK to "chown -R admin.admin /usr/lib/perl5"?

Yes, this should be fine.  The basic idea is that the modules are put in
your path (I believe) so this should be OK.  I've done this (as a hack)
on one of my virtual servers -- for this same reason -- and it works
fine.  I'd also like to know if there is a more "correct" way of doing
this, but this should work OK.

Dan

-----Original Message-----
From: Ben Kennish [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 27, 2001 7:37 AM
To: [EMAIL PROTECTED]
Subject: Perl Modules wont install


Dear all,

Because the 'admin' user doesn't have write access to /usr/lib/perl5 and
below (or above depending on how you view a file system tree,) (s)he
currently cant install any Perl modules with the usual....

perl Configure.PL
make
make install

The last step fails with something like...

---------------------------
Warning: You do not have permissions to install into
/usr/lib/perl5/site_perl/5.005/i386-linux at
/usr/lib/perl5/5.00503/ExtUtils/Install.pm line 61.
mkdir /usr/lib/perl5/site_perl/5.005/String: Permission denied at
/usr/lib/perl5/5.00503/ExtUtils/Install.pm line 114
make: *** [pure_site_install] Error 2
---------------------------

Is it OK to "chown -R admin.admin /usr/lib/perl5"?
Or should the modules be installed in "/usr/local/lib/perl5"?
In the second case, how do I get Perl to install modules in
"/usr/local/lib/perl5/.." when the admin user
does a "make install" (without them having to explicitly specify the
directory each time if possible)?

Thanks in advance,



Ben Kennish
[EMAIL PROTECTED]
www.fubra.com

------------------------- The freeVSD Support List
--------------------------
Subscribe:
mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe:
mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
------------------------------------------------------------------------
-----
------------------------- The freeVSD Support List --------------------------
Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------

Reply via email to