[gdal-dev] building with libkea should use kea-config --hdfincludes

2015-03-31 Thread Vincent Schut
Hi, I'm building gdal (svn trunk, updated this morning) on a debian (testing) server with libkea (own build). Libkea uses hdf5, and debian put's its hdf5 include files in /usr/include/hdf5/serial. Gdal build fails on libkea with: Entering directory '/usr/local/src/gdal/frmts/kea' /bin/bash

Re: [gdal-dev] building with libkea should use kea-config --hdfincludes

2015-03-31 Thread Even Rouault
Le mardi 31 mars 2015 10:55:52, Vincent Schut a écrit : Hi, I'm building gdal (svn trunk, updated this morning) on a debian (testing) server with libkea (own build). Libkea uses hdf5, and debian put's its hdf5 include files in /usr/include/hdf5/serial. Gdal build fails on libkea with:

Re: [gdal-dev] building with libkea should use kea-config --hdfincludes

2015-03-31 Thread Vincent Schut
Saw that configure.in uses kea-config --cflags, which only results in the direct kea include dir being included. Here's a patch which uses --includes and --hdfincludes, which seems to work for me (need to run autogen.sh afterwards). Vincent. On 03/31/2015 10:55 AM, Vincent Schut wrote: Hi,

Re: [gdal-dev] building with libkea should use kea-config --hdfincludes

2015-03-31 Thread Vincent Schut
Thanks Even, builds fine now. On 03/31/2015 11:13 AM, Even Rouault wrote: Le mardi 31 mars 2015 10:55:52, Vincent Schut a écrit : Hi, I'm building gdal (svn trunk, updated this morning) on a debian (testing) server with libkea (own build). Libkea uses hdf5, and debian put's its hdf5 include