From owner-freebsd-questions@FreeBSD.ORG Fri Dec 8 20:43:00 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1669216A416 for ; Fri, 8 Dec 2006 20:43:00 +0000 (UTC) (envelope-from lane@joeandlane.com) Received: from elasmtp-dupuy.atl.sa.earthlink.net (elasmtp-dupuy.atl.sa.earthlink.net [209.86.89.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id A83E643CA6 for ; Fri, 8 Dec 2006 20:41:59 +0000 (GMT) (envelope-from lane@joeandlane.com) Received: from [66.47.111.183] (helo=joeandlane.com) by elasmtp-dupuy.atl.sa.earthlink.net with asmtp (Exim 4.34) id 1GsmYa-00008A-38 for freebsd-questions@freebsd.org; Fri, 08 Dec 2006 15:42:56 -0500 Received: from joeandlane.com (localhost.localnet.local [127.0.0.1]) by joeandlane.com (8.13.8/8.13.1) with ESMTP id kB8KjY2u069343 for ; Fri, 8 Dec 2006 14:45:34 -0600 (CST) (envelope-from lane@joeandlane.com) Received: from localhost (localhost [[UNIX: localhost]]) by joeandlane.com (8.13.8/8.13.1/Submit) id kB8KjXXi069325 for freebsd-questions@freebsd.org; Fri, 8 Dec 2006 14:45:33 -0600 (CST) (envelope-from lane@joeandlane.com) X-Authentication-Warning: joeandlane.com: lholcombe set sender to lane@joeandlane.com using -f From: Lane To: freebsd-questions@freebsd.org Date: Fri, 8 Dec 2006 14:45:33 -0600 User-Agent: KMail/1.9.4 References: <4579C3D8.4050307@g-noc.net> In-Reply-To: <4579C3D8.4050307@g-noc.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612081445.33618.lane@joeandlane.com> X-CD-SOLUTIONS-MailScanner-Information: Please contact the ISP for more information X-CD-SOLUTIONS-MailScanner: Found to be clean X-CD-SOLUTIONS-MailScanner-From: lane@joeandlane.com X-ELNK-Trace: e56a4b6ca9bdfda11aa676d7e74259b7b3291a7d08dfec797e32eb31110c60c4b89b19c7ce72fe49350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 66.47.111.183 Subject: Re: How to install the same port twice but at different locations? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Dec 2006 20:43:00 -0000 On Friday 08 December 2006 13:58, Alexis Dorais-Joncas wrote: > Hi all, > > Subject says it all. I would like to install the package phpMyAdmin on > two different locations on my server. Is this doable? If so, how? > > I'm using FreeBSD g-noc.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu > Nov 3 09:36:13 UTC 2005 > root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386 with ports > updated daily with cvsup. > > Right now, after I do : > cd /usr/ports/databases/phpmyadmin > sudo make PREFIX=/xxx/yyy install > > I get : > pkg_info|grep Admin > phpMyAdmin-2.9.1.1 A set of PHP-scripts to manage MySQL over the web > > And when I try to install it again but using a different PREFIX, I get > this : > ===> Checking if databases/phpmyadmin already installed > ===> phpMyAdmin-2.9.1.1 is already installed > You may wish to ``make deinstall'' and install this port again > > Using FORCE_PKG_REGISTER unregisters the first installation, so its no > good for this I guess. > > Thanks in advance, > Alexis > _______________________________________________ Alexis, Read through the porters' handbook, http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/. You are interested primarily in PREFIX and DESTDIR, but all of the text up to that point is enlightening. lane