On Tue, 20 Feb 2007 11:41:41 -0500, Moon, John wrote:
> Looking for help installing modules to a "local" library... 

You've got multiple problems below.

> Below are several attempts.
> 
> Any suggestions or links to "How to..." will be greatly appreciated.
> 
> SUN83-PRODWEB>pwd
> /opt/common/html/billing/cgi-bin/Library/Class-Accessor-0.30
> SUN83-PRODWEB>ls
> Changes      MANIFEST     Makefile     README       lib
> INSTALL      META.yml     Makefile.PL  examples     t

This is an unwrapped source tarball.  What is it doing in a hierarchy
labelled (a) html, (b) cgi-bin, and (c) Library?  That's at best confusing.

> SUN83-PRODWEB>perl Makefile.PL
> LIB=/opt/common/html/billing/cgi-bin/Library
> Writing Makefile for Class::Accessor

People almost always use PREFIX instead of LIB.  I see you tried that
later.  And you're trying to install to a parent of the directory holding
your source.  That's a bad idea.  You're going to have a source directory
stuck in your installation tree.  At best that wastes lookup time.

> SUN83-PRODWEB>/usr/ccs/bin/make

Do you know that's the right make?  You want to use the one that was used
to build your perl.  You could run into problems otherwise.

> mkdir blib/lib: Permission denied at
> /usr/local/lib/perl5/5.8.5/ExtUtils/Command.pm line 186 *** Error code
> 255
> make: Fatal error: Command failed for target `blib/lib/Class/.exists'
> SUN83-PRODWEB>

So you don't have permission to write to the directory you're in.  (You
haven't even reached the installation step.)

As Mumia W. suggested, use CPAN.pm in the local installation mode.  Then
these issues will disappear.

-- 
Peter Scott
http://www.perlmedic.com/
http://www.perldebugged.com/


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


Reply via email to