write permissions installing XML-SAX-Expat-0.38 locally

write permissions installing XML-SAX-Expat-0.38 locally

am 09.06.2007 16:44:54 von Julia

I'm trying to install XML-SAX-Expat-0.38 into a local area (non-
standard - no root permission), but I'm getting a permissions
problem. I've looked at the FAQ and other resources. I've set the
PREFIX and LIB values at the command line. I've tried editing the
Makefile.PL to include a "use lib" line, but I'm still getting a
permission problem when I execute make install.

It's trying to write to /dsw/perl-5.8.7/lib/site_perl/5.8.7/XML/SAX/
ParserDetails.ini

>From directory: /home/bell/bin/perl/Modules/XML-SAX-Expat-0.38, I'm
executing the following 4 commands:
perl Makefile.PL PREFIX=/home/bell/bin/perl/Modules/XML-SAX-Expat-0.38
LIB=/home/bell/bin/perl/Modules/XML-SAX-Expat-0.38 (some warnings
about Clock skew, but no obvious errors)
make
make test
make install

During make test is actually says "All tests successful."
During make install I get the following warning:

Cannot write to /dsw/perl-5.8.7/lib/site_perl/5.8.7/XML/SAX/
ParserDetails.ini: Permission denied at /dsw/perl-5.8.7/lib/site_perl/
5.8.7/XML/SAX.pm line 191.
make: *** [install_sax_expat] Error 13

Suggestions?

Re: write permissions installing XML-SAX-Expat-0.38 locally

am 09.06.2007 20:40:24 von Julia

On Jun 9, 7:44 am, julia wrote:
> I'm trying to install XML-SAX-Expat-0.38 into a local area (non-
> standard - no root permission), but I'm getting a permissions
> problem. I've looked at the FAQ and other resources. I've set the
> PREFIX and LIB values at the command line. I've tried editing the
> Makefile.PL to include a "use lib" line, but I'm still getting a
> permission problem when I execute make install.
>
> It's trying to write to /dsw/perl-5.8.7/lib/site_perl/5.8.7/XML/SAX/
> ParserDetails.ini
>
> >From directory: /home/bell/bin/perl/Modules/XML-SAX-Expat-0.38, I'm
>
> executing the following 4 commands:
> perl Makefile.PL PREFIX=/home/bell/bin/perl/Modules/XML-SAX-Expat-0.38
> LIB=/home/bell/bin/perl/Modules/XML-SAX-Expat-0.38 (some warnings
> about Clock skew, but no obvious errors)
> make
> make test
> make install
>
> During make test is actually says "All tests successful."
> During make install I get the following warning:
>
> Cannot write to /dsw/perl-5.8.7/lib/site_perl/5.8.7/XML/SAX/
> ParserDetails.ini: Permission denied at /dsw/perl-5.8.7/lib/site_perl/
> 5.8.7/XML/SAX.pm line 191.
> make: *** [install_sax_expat] Error 13
>
> Suggestions?

I've learned that I don't need to run "make install" if I'm using it
locally, so that solves that problem, but now I have another one of
trying to get it to be used. I will post that question under the
appropriate (different) title.