Date: Wed, 28 Aug 2013 14:56:31 +0000 From: "Hacker, Benjamin T - GS" <Benjamin.Hacker@exelisinc.com> To: 'Rainer Hurling' <rhurlin@gwdg.de> Cc: "'sunpoet@FreeBSD.org'" <sunpoet@FreeBSD.org>, "'ports@FreeBSD.org'" <ports@FreeBSD.org> Subject: RE: FreeBSD Port: gdal-1.10.0 Message-ID: <AE02FC7FDD32124AA0CA419E31F6CEDB11C451CA@USFWA1E14-01.corp.exelisinc.com> In-Reply-To: <521D7F7F.6010904@gwdg.de> References: <AE02FC7FDD32124AA0CA419E31F6CEDB11C440A9@USFWA1E14-01.corp.exelisinc.com> <521D7F7F.6010904@gwdg.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks!! Your suggestion corrected my problem. Ben Hacker Jr. ITT Exelis Inc. -----Original Message----- From: Rainer Hurling [mailto:rhurlin@gwdg.de] Sent: Wednesday, August 28, 2013 12:42 AM To: Hacker, Benjamin T - GS Cc: 'sunpoet@FreeBSD.org'; 'ports@FreeBSD.org' Subject: Re: FreeBSD Port: gdal-1.10.0 Am 27.08.2013 23:31 (UTC+1) schrieb Hacker, Benjamin T - GS: > Dear Sir, > > I have attempted to update my Installed Ports. I am having an issue with= the GDAL port as listed below. Any assistance you can provide would be gr= eatly appreciated! > > Thanks! > > {root@FreeBSD-OSM:/usr/ports/graphics/gdal # make install <Enter> > . . . > postgisrasterdataset.cpp: In function 'void GDALRegister_PostGISRaster()'= : > postgisrasterdataset.cpp:2052: 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.0/fr= mts/postgisraster' > gmake[1]: *** [postgisraster-install-obj] Error 2 > gmake[1]: Leaving directory `/usr/ports/graphics/gdal/work/gdal-1.10.0/fr= mts' > gmake: *** [frmts-target] Error 2 > *** [do-build] Error code 1 > > Stop in /usr/ports/graphics/gdal. > *** [install] Error code 1 > > Stop in /usr/ports/graphics/gdal. > root@FreeBSD-OSM:/usr/ports/graphics/gdal # } > {root@FreeBSD-OSM:/usr/ports/graphics/gdal # portupgrade -aR . . . > . . . > postgisrasterdataset.cpp: In function 'void GDALRegister_PostGISRaster()'= : > postgisrasterdataset.cpp:2052: 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.0/fr= mts/postgisraster' > gmake[1]: *** [postgisraster-install-obj] Error 2 > gmake[1]: Leaving directory `/usr/ports/graphics/gdal/work/gdal-1.10.0/fr= mts' > gmake: *** [frmts-target] Error 2 > *** [do-build] Error code 1 > > Stop in /usr/ports/graphics/gdal. > *** [build] Error code 1 > > Stop in /usr/ports/graphics/gdal. > ** Command failed [exit code 1]: /usr/bin/script -qa > /tmp/portupgrade20130827-41511-2s1msu env UPGRADE_TOOL=3Dportupgrade > UPGRADE_PORT=3Dgdal-1.9.2 UPGRADE_PORT_VER=3D1.9.2 make > ** Fix the problem and try again. > ---> Skipping 'databases/postgis20' (postgis-2.0.2_1) because a > ---> requisite package 'gdal-1.9.2' (graphics/gdal) failed (specify -k > ---> to force) > ** Listing the failed packages (-:ignored / *:skipped / !:failed) > ! graphics/gdal (gdal-1.9.2) (unknown build error) > * databases/postgis20 (postgis-2.0.2_1) } > {root@FreeBSD-OSM:/usr/ports/graphics/gdal # uname -a > FreeBSD FreeBSD-OSM 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #0: Wed Aug 21 = 20:40:52 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/s= ys/GENERIC amd64 } > {root@FreeBSD-OSM:/usr/ports/graphics/gdal # pkg_info > . . . > gdal-1.9.2 A translator library for geospatial data formats > . . . > root@FreeBSD-OSM:/usr/ports/graphics/gdal # } > Ben Hacker Jr. > ITT Exelis > Herndon, VA For me this only happened, when an older graphics/gdal is installed. There seems to be a problem not taking the new include/gdal.h from the port= , if an older /usr/local/include/gdal.h exists. So as a workaround deinstal= ling the old port before building the new one should help. HTH, Rainer sunpoet@ : After gdal-1.10.0 is committed now, could you please close my PR= 180945, thanks. ________________________________ This e-mail and any files transmitted with it may be proprietary and are in= tended solely for the use of the individual or entity to whom they are addr= essed. If you have received this e-mail in error please notify the sender. = Please note that any views or opinions presented in this e-mail are solely = those of the author and do not necessarily represent those of Exelis Inc. T= he recipient should check this e-mail and any attachments for the presence = of viruses. Exelis Inc. accepts no liability for any damage caused by any v= irus transmitted by this e-mail.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AE02FC7FDD32124AA0CA419E31F6CEDB11C451CA>