Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2004 04:12:24 -0500
From:      epilogue <epilogue@allstream.net>
To:        Alexandr <admin@alexandr.fdns.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: make package don't build package
Message-ID:  <20041215041224.43a0cd5f@localhost>
In-Reply-To: <20041215105930.GA14622@alexandr.fdns.net>
References:  <20041215105930.GA14622@alexandr.fdns.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 15 Dec 2004 10:59:30 +0000
Alexandr <admin@alexandr.fdns.net> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041215041224.43a0cd5f>