> I am getting same error when using 'make install' :
> 
> Warning: You do not have permissions to install into
/usr/perl5/site_perl/5.005/sun4-solaris at
/usr/perl5/5.00503/ExtUtils/Install.pm line 61.
> mkdir /usr/perl5/site_perl/5.005/XML: Permission denied at
/usr/perl5/5.00503/ExtUtils/Install.pm line 114
> 
> bottom posted full details:
> 

[snip]

> 
> $$$>perl Makefile.PL PREFIX=/export/home2/jayaraj/JXML
> Do you want to install 'xml_pp' (XML pretty printer)? [y] n
> Do you want to install 'xml_grep' (XML grep - grep XML files using
XML::Twig's subset of XPath)? [y] n
> Do you want to install 'xml_spellcheck' (spellcheck XML files skipping
tags)? [y] n
> Writing Makefile for XML::Twig

Originally I was thinking it might be the age of your Perl that was
causing the problem but the docs don't seem to suggest anything different:

http://perldoc.com/perl5.005_03/lib/ExtUtils/MakeMaker.html#PREFIX-and-LIB-attribute

You might try the 'LIB' switch instead of (or in addition to) the
'PREFIX'.  

[snip]

> Configuration:
> 
> perl: 5.00503
> OS: solaris - sun4-solaris
> XML::Parser              : 2.31
> expat                    : 1.95.5
> Scalar::Util             : <not available>
> WeakRef                  : <not available>
> Encode                   : <not available>
> Text::Iconv              : <not available>
> Unicode::Map8            : <not available>
> LWP                      : <not available>
> HTML::Entities           : <not available>
> Tie::IxHash              : <not available>
> XML::XPath               : <not available>
> Test                     : 1.122
> Test::Pod                : <not available>
> XML::Simple              : <not available>
> XML::Handler::YAWriter   : <not available>
> XML::SAX::Writer         : <not available>
> IO::Scalar               : <not available>
> 
> 

[snip]

> Warning: You do not have permissions to install into
/usr/perl5/site_perl/5.005/sun4-solaris at
/usr/perl5/5.00503/ExtUtils/Install.pm line 61.
> mkdir /usr/perl5/site_perl/5.005/XML: Permission denied at
/usr/perl5/5.00503/ExtUtils/Install.pm line 114
> *** Error code 2
> make: Fatal error: Command failed for target `pure_site_install'
> [EMAIL PROTECTED]</export/home2/jayaraj/JXML/XML-Twig-3.14>
> 
> 

Don't know why the prefix wouldn't be honored.  If the 'LIB' suggestion
doesn't work can you post the "# --- MakeMaker constants section:"
section of the 'Makefile'.... If all else fails you should be able to
hack the install directories you need directly into the Makefile.

http://danconia.org

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to