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 14:03:17 +0200 Message-ID: <87fv2qwi62.fsf@gnu.org> References: <20150906165156.GA9955@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]:35874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYv8t-0006ps-Ty for guix-devel@gnu.org; Mon, 07 Sep 2015 08:03:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZYv8q-00016K-Kl for guix-devel@gnu.org; Mon, 07 Sep 2015 08:03:23 -0400 In-Reply-To: <20150906165156.GA9955@debian> (Andreas Enge's message of "Sun, 6 Sep 2015 18:52:22 +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: > the openexr package has ilmbase as a propagated input, since the openexr > header files include ilmbase header files. However, there is a problem wi= th > subdirectories, since both packages put the include files into > .../include/OpenEXR. > > Then, for instance, > /gnu/store/bnp4nsy7v4lzw562k4v7w34jdg8vkc3s-openexr-2.2.0/include/Open= EXR/ImfInt64.h > contains a line > #include "ImathInt64.h" > This is the file > /gnu/store/6ih7f5cq1amgh134f75xw2sxk39p9gi7-ilmbase-2.2.0/include/Open= EXR/ImathInt64.h > which of course is not found 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/includ= e/OpenEXR -I/gnu/store/6ih7f5cq1amgh134f75xw2sxk39p9gi7-ilmbase-2.2.0/inclu= de/OpenEXR=20 --8<---------------cut here---------------end--------------->8--- > There was an error when adding openexr support to vigra, which I repaired > with a kludge, and it is happening again in the package hugin that I am > preparing. So I wonder what would be the proper fix. 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? :-) Thanks, Ludo=E2=80=99.