Received: from [194.106.48.114] (helo=tim.rpsys.net ident=0) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1JZ2NO-0008IR-T3 for openembedded-devel@openembedded.org; Tue, 11 Mar 2008 12:10:39 +0100 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id m2BB8cTs011105 for ; Tue, 11 Mar 2008 11:08:38 GMT Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10996-04 for ; Tue, 11 Mar 2008 11:08:30 +0000 (GMT) Received: from [192.168.1.3] (dax.rpnet.com [192.168.1.3]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id m2BB8SQG011089 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 11 Mar 2008 11:08:28 GMT From: Richard Purdie To: openembedded-devel@openembedded.org In-Reply-To: <200803110959.59702.zecke@selfish.org> References: <200803051942.12586.mickey@vanille-media.de> <1204748132.8110.165.camel@dax.rpnet.com> <200803110959.59702.zecke@selfish.org> Date: Tue, 11 Mar 2008 11:08:27 +0000 Message-Id: <1205233707.4521.40.camel@dax.rpnet.com> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 X-Virus-Scanned: amavisd-new at rpsys.net X-SA-Exim-Connect-IP: 194.106.48.114 X-SA-Exim-Mail-From: rpurdie@rpsys.net X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on serenity X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=AWL,RDNS_NONE autolearn=no version=3.2.3 X-SA-Exim-Version: 4.2.1 (built Tue, 21 Aug 2007 23:39:36 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: Re: sysroot vs. finding header files X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Mar 2008 11:10:40 -0000 Content-Type: text/plain Content-Transfer-Encoding: 7bit On Tue, 2008-03-11 at 09:59 +0100, Holger Freyther wrote: > On Wednesday 05 March 2008 21:15:32 Richard Purdie wrote: > > Hi Mickey, > > > > On Wed, 2008-03-05 at 19:42 +0100, Michael 'Mickey' Lauer wrote: > > [...] > > > > > With pkgconfig now pointing to /usr (and friends), this no longer finds a > > > keysymdef.h until you have X on your buildhost. > > > > > > b) I've not seen any other package do anything that insane > > aeh? finding a certain header file is quite common.. let us see how things > work here. also I'm just slowly groking sysroot. It would be nice to know > when and where certain path's get mapped away from /usr/include to something > else... That X code wants to know what the actual path to the header is. This isn't the usual autofoo requirement of checking a header exists or knowing what -I flags to use. Needing to know the absolute path to the header is not as common a requirement as you'd expect. There are ways and means but pulling it from pkg-config the way that package did isn't a good one. Cheers, Richard