make package don't build package

Alexandr admin at alexandr.fdns.net
Wed Dec 15 02:39:00 PST 2004


Hello epilogue.

> > cd /usr/ports/www/audio/mpg123/
> > make package
with this command I make test.
I wont make package-recursive and this command take me some result for others 
ports
> > 
> > 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'...
I readed it.
> 
> 	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.
I installed this package a long time ago.
> 
> > 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).
pkg_create -- i can't use becose I need create package recursively, 
but I don't find in man page for this tool options for recursively.

> 
> hope this helps.
> 
thanks.


More information about the freebsd-questions mailing list