Am 2013-09-03 16:54, schrieb Rainer Hurling:
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


Rainer,

thanks for your help. I was updating mapserver when gdal got into the updating queue, so I didn't check UPDATING for gdal, only for mapserver. Lesson learned :-)


Frank


Frank






--
Frank BRONIEWSKI

METRICO s.à r.l.
géomètres
technologies d'information géographique
rue des Romains 36
L-5433 NIEDERDONVEN

tél.: +352 26 74 94 - 28
fax.: +352 26 74 94 99
http://www.metrico.lu
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to