[gdal-dev] GDAL 1.10 build fails on FreeBSD
Vincent Schut
schut at sarvision.nl
Tue Sep 3 08:02:44 PDT 2013
On Tue, 03 Sep 2013 14:55:20 +0200
Frank Broniewski <brfr at metrico.lu> wrote:
> Hi all,
>
> I tried updating Gdal to the latest version on my FreeBSD system, but
> the build fails:
>
> <snip>
> c postgisrasterdataset.cpp -fPIC -DPIC
> -o ../o/.libs/postgisrasterdataset.o postgisrasterdataset.cpp: In
> function 'void GDALRegister_PostGISRaster()':
> postgisrasterdataset.cpp:2096: error: 'GDAL_DMD_SUBDATASETS' was not
> declared in this scope gmake[2]: *** [../o/postgisrasterdataset.lo]
> Error 1 gmake[2]: Leaving directory
> `/usr/ports/graphics/gdal/work/gdal-1.10.1/frmts/postgisraster'
> gmake[1]: *** [postgisraster-install-obj] Error 2
> gmake[1]: Leaving directory
> `/usr/ports/graphics/gdal/work/gdal-1.10.1/frmts'
> gmake: *** [frmts-target] Error 2
> *** [do-build] Error code 1
> </snip>
>
> PostGIS is
> POSTGIS="1.5.3" GEOS="3.3.8-CAPI-1.7.8" PROJ="Rel. 4.8.0, 6 March
> 2012" LIBXML="2.7.8" USE_STATS (procs from 1.5 r5385 need upgrade)
>
> so apparently no raster support ...
>
> Is this a GDAL issue or shall I report this to the FreeBSD crew? Or
> is my PostGIS too old ???
Frank, just fyi: I recently upgraded gdal on my freebsd system to 1.10,
and all went fine. My postgis is significantly newer than yours, though
(2.1 I think, or at least 2.0), so that might be the culprit indeed.
Best,
Vincent.
>
>
> Frank
>
>
More information about the gdal-dev
mailing list