From owner-freebsd-questions Mon Jul 15 13:13:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52DD937B400 for ; Mon, 15 Jul 2002 13:13:46 -0700 (PDT) Received: from goose.mail.pas.earthlink.net (goose.mail.pas.earthlink.net [207.217.120.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C8CB43E4A for ; Mon, 15 Jul 2002 13:13:45 -0700 (PDT) (envelope-from parv@pair.com) Received: from sdn-ar-008dcwashp190.dialsprint.net ([63.178.91.230] helo=moo.holy.cow) by goose.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17UCDe-0000Te-00; Mon, 15 Jul 2002 13:13:29 -0700 Received: by moo.holy.cow (Postfix, from userid 1001) id 039E250E1A; Mon, 15 Jul 2002 16:14:57 -0400 (EDT) Date: Mon, 15 Jul 2002 16:14:57 -0400 From: parv To: thrawn@linux.nu Cc: freebsd-questions@freebsd.org Subject: Re: XFree86 ports problem when trying to build package Message-ID: <20020715201457.GA55699@moo.holy.cow> Mail-Followup-To: thrawn@linux.nu, freebsd-questions@freebsd.org References: <20020715140725.A76325@thrawn.birch.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020715140725.A76325@thrawn.birch.se> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG in message <20020715140725.A76325@thrawn.birch.se>, wrote thrawn@linux.nu thusly... > > I get this error when i try to build x11/XFree86-4 as an port: > > thrawn/usr/ports/x11/XFree86-4# make package 2:02PM ... > ===> XFree86-4.2.0_1,1 is already installed - perhaps an older version? > If so, you may wish to ``make deinstall'' and install > this port again by ``make reinstall'' to upgrade it properly. > If you really wish to overwrite the old port of XFree86-4.2.0_1,1 > without deleting it first, set the variable "FORCE_PKG_REGISTER" ^ ^ ^ ^ ^ ^ ^ ^ ^ > in your environment or the "make install" command line. > *** Error code 1 > > I have the port installed but how do I get rid of the complains > that it is all ready installed? I just want to build it to a > package. Do I have to do something special if the port is all > ready installed? note the bit about "FORCE_PKG_REGISTER". it's used to force the installation on already installed port. so, as th message says, either make it environment variable; in sh-like shelles, it's done via... FORCE_PKG_REGISTER=yes export FORCE_PKG_REGISTER ...or spcify it on the command line, like... # make -DFORCE_PKG_REGISTER install -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message