From owner-freebsd-ports@FreeBSD.ORG Wed Sep 4 06:23:21 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1E040502 for ; Wed, 4 Sep 2013 06:23:21 +0000 (UTC) (envelope-from brfr@metrico.lu) Received: from design20.letzebuerg.net (design20.letzebuerg.net [176.9.210.200]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CE79F258C for ; Wed, 4 Sep 2013 06:23:20 +0000 (UTC) Received: from ip-88-207-237-39.dyn.luxdsl.pt.lu ([88.207.237.39]:33547 helo=[192.168.0.32]) by design20.letzebuerg.net with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1VH6UO-0001TI-Ql; Wed, 04 Sep 2013 08:22:53 +0200 Message-ID: <5226D199.7010502@metrico.lu> Date: Wed, 04 Sep 2013 08:22:17 +0200 From: Frank Broniewski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130804 Thunderbird/17.0.8 MIME-Version: 1.0 To: Rainer Hurling Subject: Re: GDAL 1.10 build fails on FreeBSD References: <5225E012.6040903@metrico.lu> <5225F842.7060907@gwdg.de> In-Reply-To: <5225F842.7060907@gwdg.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - design20.letzebuerg.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - metrico.lu X-Get-Message-Sender-Via: design20.letzebuerg.net: authenticated_id: brfr@metrico.lu Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Sep 2013 06:23:21 -0000 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: >> >> >> 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 >> >> >> 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