<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Frank,<div><br></div><div>You'll need a newer PostGIS (2.x+) if you want to compile GDAL 1.10 with PG support.</div><div><br></div><div><a href="http://trac.osgeo.org/gdal/wiki/frmts_wtkraster.html" target="_blank">http://trac.osgeo.org/gdal/wiki/frmts_wtkraster.html</a></div><div><br></div><div>-marius<br><br><div>> Date: Tue, 3 Sep 2013 17:02:44 +0200<br>> From: schut@sarvision.nl<br>> To: gdal-dev@lists.osgeo.org<br>> Subject: Re: [gdal-dev] GDAL 1.10 build fails on FreeBSD<br>> <br>> On Tue, 03 Sep 2013 14:55:20 +0200<br>> Frank Broniewski <brfr@metrico.lu> wrote:<br>> <br>> > Hi all,<br>> > <br>> > I tried updating Gdal to the latest version on my FreeBSD system, but <br>> > the build fails:<br>> > <br>> > <snip><br>> > c postgisrasterdataset.cpp -fPIC -DPIC<br>> > -o ../o/.libs/postgisrasterdataset.o postgisrasterdataset.cpp: In<br>> > function 'void GDALRegister_PostGISRaster()':<br>> > postgisrasterdataset.cpp:2096: error: 'GDAL_DMD_SUBDATASETS' was not<br>> > declared in this scope gmake[2]: *** [../o/postgisrasterdataset.lo]<br>> > Error 1 gmake[2]: Leaving directory <br>> > `/usr/ports/graphics/gdal/work/gdal-1.10.1/frmts/postgisraster'<br>> > gmake[1]: *** [postgisraster-install-obj] Error 2<br>> > gmake[1]: Leaving directory <br>> > `/usr/ports/graphics/gdal/work/gdal-1.10.1/frmts'<br>> > gmake: *** [frmts-target] Error 2<br>> > *** [do-build] Error code 1<br>> > </snip><br>> > <br>> > PostGIS is<br>> > POSTGIS="1.5.3" GEOS="3.3.8-CAPI-1.7.8" PROJ="Rel. 4.8.0, 6 March<br>> > 2012" LIBXML="2.7.8" USE_STATS (procs from 1.5 r5385 need upgrade)<br>> > <br>> > so apparently no raster support ...<br>> > <br>> > Is this a GDAL issue or shall I report this to the FreeBSD crew? Or<br>> > is my PostGIS too old ???<br>> <br>> Frank, just fyi: I recently upgraded gdal on my freebsd system to 1.10,<br>> and all went fine. My postgis is significantly newer than yours, though<br>> (2.1 I think, or at least 2.0), so that might be the culprit indeed.<br>> <br>> Best,<br>> Vincent.<br>> > <br>> > <br>> > Frank<br>> > <br>> > <br>> <br>> _______________________________________________<br>> gdal-dev mailing list<br>> gdal-dev@lists.osgeo.org<br>> http://lists.osgeo.org/mailman/listinfo/gdal-dev<br></div></div> </div></body>
</html>