From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Ilmbase and openexr header files Date: Mon, 07 Sep 2015 17:56:18 +0200 Message-ID: <87wpw2te8t.fsf@gnu.org> References: <20150906165156.GA9955@debian> <87fv2qwi62.fsf@gnu.org> <20150907133802.GA16706@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYymP-0001wT-Ab for guix-devel@gnu.org; Mon, 07 Sep 2015 11:56:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZYymM-0004Lv-MD for guix-devel@gnu.org; Mon, 07 Sep 2015 11:56:25 -0400 In-Reply-To: <20150907133802.GA16706@debian> (Andreas Enge's message of "Mon, 7 Sep 2015 15:38:02 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Andreas Enge Cc: guix-devel@gnu.org Andreas Enge skribis: > On Mon, Sep 07, 2015 at 02:03:17PM +0200, Ludovic Court=C3=A8s wrote: >> This shouldn=E2=80=99t be a problem because: >> --8<---------------cut here---------------start------------->8--- >> $ pkg-config OpenEXR --cflags >> -pthread -I/gnu/store/bnp4nsy7v4lzw562k4v7w34jdg8vkc3s-openexr-2.2.0/inc= lude/OpenEXR -I/gnu/store/6ih7f5cq1amgh134f75xw2sxk39p9gi7-ilmbase-2.2.0/in= clude/OpenEXR=20 >> --8<---------------cut here---------------end--------------->8--- >> My guess is that Vigra doesn=E2=80=99t use pkg-config, and thus doesn=E2= =80=99t get the >> right -I flags. >> Is that a correct guess? :-) > > Indeed it is, thanks for looking into this! > > The same problem occurs with hugin, which I am currently packaging; it us= es > pkg-config, but there are error messages > -- WARNING: you are using the obsolete 'PKGCONFIG' macro, use FindPkgC= onfig > So it is possible that pkg-config is used incorrectly there. This is a warning emitted by a CMake function, I think. Could you check in =E2=80=98CMakeOutput.log=E2=80=99 or whatever it=E2=80= =99s called what =E2=80=98pkg-config=E2=80=99 it invoked and what its result was? Thanks, Ludo=E2=80=99.