From owner-freebsd-questions@FreeBSD.ORG Thu Oct 1 17:05:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13A50106568B for ; Thu, 1 Oct 2009 17:05:45 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id D81C88FC28 for ; Thu, 1 Oct 2009 17:05:44 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MtP62-0008Rt-46; Thu, 01 Oct 2009 13:05:43 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id 1E3D635582A8; Thu, 1 Oct 2009 13:05:38 -0400 (EDT) Message-ID: <4AC4E157.3030201@FreeBSD.org> Date: Thu, 01 Oct 2009 13:05:27 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: David Southwell References: <20091001140724.GA27416@brisbane.nepharia.org><4EDA11A6F5CE4422A7BE01EE571C58DA@sleuth64><529486569750436B97C259AC2D363D7F@sleuth64> <19140.50178.53068.254287@jerusalem.litteratus.org> In-Reply-To: X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) Cc: 'Mak Kolybabi' , 'Robert Huff' , freebsd-questions@freebsd.org Subject: Re: Looking up libraries and header files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2009 17:05:45 -0000 -----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 {} \; or grep -rl /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-----