From owner-freebsd-questions@FreeBSD.ORG Wed Dec 15 09:12:46 2004 Return-Path: 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 E486516A4CE for ; Wed, 15 Dec 2004 09:12:46 +0000 (GMT) Received: from outbox.allstream.net (outbox.allstream.net [207.245.244.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95CE743D1F for ; Wed, 15 Dec 2004 09:12:46 +0000 (GMT) (envelope-from epilogue@allstream.net) Received: from localhost (mon-pq50-138.dial.allstream.net [216.123.140.10]) by outbox.allstream.net (Allstream MTA) with ESMTP id 3CAEC1EC51A; Wed, 15 Dec 2004 04:13:11 -0500 (EST) Date: Wed, 15 Dec 2004 04:12:24 -0500 From: epilogue To: Alexandr Message-ID: <20041215041224.43a0cd5f@localhost> In-Reply-To: <20041215105930.GA14622@alexandr.fdns.net> References: <20041215105930.GA14622@alexandr.fdns.net> X-Mailer: Sylpheed-Claws 0.9.13 (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: make package don't build package X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2004 09:12:47 -0000 On Wed, 15 Dec 2004 10:59:30 +0000 Alexandr wrote: > I run FreeBSD 5.3 > I free my ports tree and make this: > > cd /usr/ports/www/audio/mpg123/ > make package > > and get: > ===> Installing for mpg123-esound-0.59r_15 > ===> mpg123-esound-0.59r_15 depends on shared library: esd.2 - found > ===> Generating temporary packing list > ===> Checking if audio/mpg123 already installed > ===> mpg123-esound-0.59r_15 is already installed > 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 audio/mpg123 > without deleting it first, set the variable "FORCE_PKG_REGISTER" > in your environment or the "make install" command line. > *** Error code 1 hello alexandr, well, the message above is a _pretty_big_hint_. couple that with the description of the 'package' target as found in 'man ports'... Make a binary package for the port. The port will be installed if it has not already been. [snip] ...and you should have a pretty good idea about why 'make package' is not proceeding. > Stop in /usr/ports/audio/mpg123. > > I don't understand, in bsd.port.mk wrote > # package - Create a package from an _installed_ port. > but I installed this package and wont build package > Why 'make package' make install ??? while the various *.mk are certainly worth a read, i expect that you will find the ports related man pages to provide clearer and more thorough descriptions. in the case of what you're trying to do, check out the pkg_create manpage (-b in particular). hope this helps. cheers, epi