[gdal-dev] GDAL 1.10 build fails on FreeBSD

Marius Jigmond mariusjigmond at hotmail.com
Tue Sep 3 11:37:48 PDT 2013


Frank,
You'll need a newer PostGIS (2.x+) if you want to compile GDAL 1.10 with PG support.
http://trac.osgeo.org/gdal/wiki/frmts_wtkraster.html
-marius

> Date: Tue, 3 Sep 2013 17:02:44 +0200
> From: schut at sarvision.nl
> To: gdal-dev at lists.osgeo.org
> Subject: Re: [gdal-dev] GDAL 1.10 build fails on FreeBSD
> 
> 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
> > 
> > 
> 
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130903/2ea98cad/attachment.html>


More information about the gdal-dev mailing list