satisfying package dependencies from installation DVD when
building a port -- HOW?
m.seaman at infracaninophile.co.uk
Thu Mar 15 17:34:29 UTC 2012
On 15/03/2012 17:11, Robert Urban wrote:
> I seem to have found the "problem". I read somewhere that PKG_PATH should have
> the path to the top of the hierarchy, i.e., /cd/packages, and not
> /cd/packages/<something> or /cd/packages/All, because pkg_add was capable of
> adding the hierarchical component, but this is not the case. I find that I must
> set PKG_PATH to /cd/packages/<DIR> or /cd/packages/All in order for it to work.
> Also, coming from OpenBSD, I assumed that I could supply pkg_add the "basename"
> of a package, i.e., the name without version number ("p5-Text-Iconv" as opposed
> to "p5-Text-Iconv-1.7") but this also does not work. pkg_add apparently expects
> everything except the ".tbz" extension.
If you look at the packages tree, you'll see a directory called 'Latest'
-- that contains packages named without version numbers. It's not a
perfect one-to-one correspondence with the packages under All: some
packages don't have a 'latest link' (mostly development versions where
there is a production version in the tree as well) or the 'latest link'
isn't the same as the basename of the package, usually because there are
two or more different versions of the same software available.
Also, you should have both .../All and .../Latest on PKG_PATH as
dependency packages are listed with a version number. Yes, it's not
foolproof. The whole package handling thing in FreeBSD is not as good
as it should be. Work is underway to improve that, but it is still
quite a way away from finished.
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matthew at infracaninophile.co.uk Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120315/7eb0846f/signature.pgp
More information about the freebsd-questions