Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Sep 1999 13:19:43 -0500 (CDT)
From:      drxyzzy@mediaone.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   misc/13575: can't install perl module as non root
Message-ID:  <199909041819.NAA01746@gamera.hws>

next in thread | raw e-mail | index | archive | help

>Number:         13575
>Category:       misc
>Synopsis:       perl Makefile.PL LIB=~/lib;make install fails
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep  4 11:20:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     hws
>Release:        FreeBSD 3.2-RELEASE i386
>Organization:
>Environment:

FreeBSD-3.2-RELEASE and the stock Perl 5.005_03.
Module Storable.pm (version Storable-0.6@4.tar.gz)

>Description:

It should be possible to install a standard Perl module without
root privileges. This is documented in the Perl Cookbook and works
as advertised in OpenBSD-2.5 (recent snap) which also bundles Perl
5.005_03, but it fails with FreeBSD.

>How-To-Repeat:

Login as non superuser.
mkdir ~/lib
tar -xvzf Storable-0.6@4.tar.gz
cd Storable-0.6@4
# LIB value should allow non-root install to local dir
perl Makefile.PL LIB=~/lib
make
make test
make install

"make test" succeeds. "make install" fails with the following error:

mkdir /usr/local/lib/perl5/5.00503: Permission denied at /usr/libdata/perl/5.00503/ExtUtils/Install.pm line 57
*** Error code 2

>Fix:
	
	


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909041819.NAA01746>