From owner-freebsd-questions@FreeBSD.ORG Fri Dec 8 19:58:23 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 7B95A16A403 for ; Fri, 8 Dec 2006 19:58:23 +0000 (UTC) (envelope-from mailinglists+freebsd-questions@g-noc.net) Received: from g-noc.net (ip-209-172-57-244.reverse.privatedns.com [209.172.57.244]) by mx1.FreeBSD.org (Postfix) with ESMTP id E415943CB3 for ; Fri, 8 Dec 2006 19:57:20 +0000 (GMT) (envelope-from mailinglists+freebsd-questions@g-noc.net) Received: from [132.210.72.95] (houles5101.gel.usherb.ca [132.210.72.95]) (authenticated bits=0) by g-noc.net (8.13.4/8.13.4) with ESMTP id kB8JwFNX069344 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 8 Dec 2006 14:58:15 -0500 (EST) (envelope-from mailinglists+freebsd-questions@g-noc.net) Message-ID: <4579C3D8.4050307@g-noc.net> Date: Fri, 08 Dec 2006 14:58:16 -0500 From: Alexis Dorais-Joncas User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on g-noc.net Subject: 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 19:58:23 -0000 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