For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > June 2007 > write permissions installing XML-SAX-Expat-0.38 locally









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author write permissions installing XML-SAX-Expat-0.38 locally
julia

2007-06-09, 10:00 pm

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?

julia

2007-06-09, 10:00 pm

On Jun 9, 7:44 am, julia <juliab...@worldnet.att.net> 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
>
>
> 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.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com