Date: Tue, 03 Sep 2013 16:54:58 +0200 From: Rainer Hurling <rhurlin@gwdg.de> To: Frank Broniewski <brfr@metrico.lu> Cc: freebsd-ports@freebsd.org Subject: Re: GDAL 1.10 build fails on FreeBSD Message-ID: <5225F842.7060907@gwdg.de> In-Reply-To: <5225E012.6040903@metrico.lu> References: <5225E012.6040903@metrico.lu>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 03.09.2013 15:11, schrieb Frank Broniewski: > Hi all, > > I tried updating Gdal to the latest version on my FreeBSD system > (9.1-RELEASE-p6), 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 port issue or shall I report it to the GDAL crew? This has been reported before. There is a conflict between old and new include/gdal.h, see also UPDATING 20130831. Uninstalling the old graphics/gdal before building the new one should work. HTH, Rainer > > Frank > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5225F842.7060907>