Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Sep 2013 08:22:17 +0200
From:      Frank Broniewski <brfr@metrico.lu>
To:        Rainer Hurling <rhurlin@gwdg.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: GDAL 1.10 build fails on FreeBSD
Message-ID:  <5226D199.7010502@metrico.lu>
In-Reply-To: <5225F842.7060907@gwdg.de>
References:  <5225E012.6040903@metrico.lu> <5225F842.7060907@gwdg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5226D199.7010502>