Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 1999 12:08:35 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Yusuf Goolamabbas <yusufg@outblaze.com>
Cc:        freebsd-questions@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG
Subject:   Re: Difficult to install Perl modules in private space in FreeBSD-3.1
Message-ID:  <Pine.BSF.4.03.9904211207090.27954-100000@resnet.uoregon.edu>
In-Reply-To: <14109.32324.989629.244345@yusufg.portal2.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 21 Apr 1999, Yusuf Goolamabbas wrote:

> Hi, I believe this problem could be caused by the way perl5 is setup
> whilst being installed in the system.
> 
> I have a FreeBSD-3.1-STABLE machine and I downloaded CGI.pm-2.50 from
> CPAN

CGI.pm v. 2.42 ships with they system, btw.

> I ran the following command to compile and install the module in my
> home directory.
> 
> perl Makefile.PL PREFIX=$HOME
> I did a make
> and a make install and was suprised to see that the system was trying
> to install into /usr/libdata/perl instead of in my home dir
> 
> The Makefile generated is given in attachment 1
> 
> I did a similar thing on a Linux machine and the resulting attachment
> is given in attachmetn no 2. Not the use of the PREFIX variable
> 
> Am I doing something wrong or is there another way to install Perl
> modules in private namespaces

Probably not through make install, but it's just copying a file anyway.
Fish CGI.pm out of the build dir and install where you like.

You might check that the Makefile.PL given isn't trying to grok where the
perl libs lie by itself.

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9904211207090.27954-100000>