From owner-freebsd-stable Wed Apr 21 12:12:56 1999 Delivered-To: freebsd-stable@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 5BC9E158DC; Wed, 21 Apr 1999 12:11:08 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id MAA18105; Wed, 21 Apr 1999 12:08:36 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Wed, 21 Apr 1999 12:08:35 -0700 (PDT) From: Doug White To: Yusuf Goolamabbas Cc: freebsd-questions@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: Re: Difficult to install Perl modules in private space in FreeBSD-3.1 In-Reply-To: <14109.32324.989629.244345@yusufg.portal2.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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