Re: No write access to Perl

Zheng Yuan (zyuan@acsu.buffalo.edu)
Sun, 4 Apr 1999 12:44:46 -0400

*** From dbi-users -- To unsubscribe, see the end of this message. ***

You have to login as root to install perl modules to the perl standard lib. If you
can not login as root, then you can try install the modules in a separate
directory. Do the following:

perl Makefile.pl LIB=/your_specified_dir

then try make and make install. The module will be installed in
/your_specified_dir.

When you need to use the module, make sure inlcude its path by include
following line in your perl script:

use lib '/your_specified_dir';

or
#! /usr/bin/perl -I/your_specified_dir

Good luck,

Jenn.
> *** From dbi-users -- To unsubscribe, see the end of this message. ***
>
> Hi,
>
> I have the following problem when I run make install (all the prior steps
> as written in the readme worked fine) I get the following error: Warning:
> You do not have permissions to install into /usr/local/lib/perl5/site_p
> erl/i386-freebsd at /usr/local/lib/perl5/ExtUtils/Install.pm line 58.
> Cannot forceunlink
> /usr/local/lib/perl5/site_perl/i386-freebsd/./auto/DBI/DBIXS. h:
> Permission denied at /usr/local/lib/perl5/File/Find.pm line 135 *** Error
> code 13
>
> Am I correct in assuming this is because I don't (?) have write access to
> the Perl files? If so, what can I do to install these modules? I need them
> for another script I am installing (W3T). Is there a way to check if this
> module is already installed on my server?
>
> Thanks for any help,
> /----------------------------------\
> Amitai Rottem@ibm.net
>
>
>
>
> --------------------------------------------------------------------------
> ---- To unsubscribe from this list, please visit http://www.fugue.com/dbi
> If you are without web access, or if you are having trouble with the web
> page, please send mail to dbi-request@fugue.com. Please try to use the
> web page first - it will take a long time for your request to be processed
> by hand.
> --------------------------------------------------------------------------
> ----

------------------------------------------------------------------------------
To unsubscribe from this list, please visit http://www.fugue.com/dbi
If you are without web access, or if you are having trouble with the web page,
please send mail to dbi-request@fugue.com. Please try to use the web
page first - it will take a long time for your request to be processed by hand.
------------------------------------------------------------------------------