[postgis-users] Build Postgis - no Numpy in GDAL python bindings

Mateusz Łoskot mateusz at loskot.net
Fri Oct 28 09:34:09 PDT 2011

On 28 October 2011 17:29, Sandro Santilli <strk at keybit.net> wrote:
> On Fri, Oct 28, 2011 at 03:32:50PM +0000, Nordgren, Bryce wrote:
>> Was your GDAL python bindings compiled with numpy support? May need to rebuild GDAL python bindings...
> Yeah, it happend to me as well, and was pretty frustrating in that
> GDAL configuration doesnt' tell you about that. IFF numpy is installed
> at GDAL configuration time, it'll be included, otherwise it won't.
> And it will take a new ./configure run (GDAL side) to get it in.
> And (again) no notice/warning about it being included or not.

I have written Autoconf macro for GDAL lookup [1]
If gdal-config reports what bindings are installed/enabled, then I will
extend the macro to provide this details to user.
At the moment [2] gdal-config does not report it.

[1] http://lists.gnu.org/archive/html/autoconf-archive-maintainers/2011-10/msg00003.html
[2] http://trac.osgeo.org/gdal/browser/trunk/gdal/apps/gdal-config.in?rev=12131

Best regards,
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org

More information about the postgis-users mailing list