Date: Thu, 01 Oct 2009 13:05:27 -0400 From: Greg Larkin <glarkin@FreeBSD.org> To: David Southwell <david@vizion2000.net> Cc: 'Mak Kolybabi' <mak@kolybabi.com>, 'Robert Huff' <roberthuff@rcn.com>, freebsd-questions@freebsd.org Subject: Re: Looking up libraries and header files Message-ID: <4AC4E157.3030201@FreeBSD.org> In-Reply-To: <DDF1B8ABF3BD487792E349494F6AF5B1@sleuth64> References: <A2802A2B3EFE4CE4A3E07ECA3D89D58B@sleuth64><20091001140724.GA27416@brisbane.nepharia.org><4EDA11A6F5CE4422A7BE01EE571C58DA@sleuth64><529486569750436B97C259AC2D363D7F@sleuth64> <19140.50178.53068.254287@jerusalem.litteratus.org> <DDF1B8ABF3BD487792E349494F6AF5B1@sleuth64>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Southwell wrote: > > >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org >> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Robert Huff >> Sent: 01 October 2009 08:00 >> To: David Southwell >> Cc: 'Mak Kolybabi'; freebsd-questions@freebsd.org >> Subject: RE: Looking up libraries and header files >> >> >> David Southwell writes: >> >>> One problem >>> >>> How about ports that are not installed? >>> >>> Is there another route that will deal with stuff not on the system? >> I'm not quite sure what you're asking here; perhaps you >> could give a scenario? >> The above methods only work for things that are >> properly installed/registered with the ports(/packages) >> system. If you've installed something not from a port ... >> you're on your own. >> >> > My scenario is a port is compiling but complains about the absense of a > header or a file from a port that has NOT been installed on the system. I > have had this a few times when essential source was in a port not listed as > a dependency. > > What I am thinking of is a centrally maintained database of all header and > library files available to the port system. > > David > Hi David, If a port requires a certain file to build or run, and it's included in another port that isn't listed as a dependency, please file a PR (http://www.freebsd.org/send-pr.html) so the port can be fixed. In the mean time, you can find port files by grepping /usr/ports like so: find /usr/ports -name pkg-plist -exec grep -l <filename> {} \; or grep -rl <filename> /usr/ports Keep in mind that not all ports have a pkg-plist file, so this will not work in some cases. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFKxOFX0sRouByUApARAklaAKDI9nslpnrbnCUbewj4ux1JmNRvvACfcfd0 YReyg0Sl/pLUVceb+jlaMYM= =Or79 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AC4E157.3030201>