Re: [gdal-dev] GDAL 1.10 build fails on FreeBSD

2013-09-04 Thread Frank Broniewski

Am 2013-09-03 14:55, schrieb Frank Broniewski:

Hi all,

I tried updating Gdal to the latest version on my FreeBSD system, 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 GDAL issue or shall I report this to the FreeBSD crew? Or is
my PostGIS too old ???


Frank




Got it working, it was a FreeBSD issue: 
http://freebsd.1045724.n5.nabble.com/GDAL-1-10-build-fails-on-FreeBSD-td5841243.html


Thanks to everybody for responding ...


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
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] GDAL 1.10 build fails on FreeBSD

2013-09-03 Thread Frank Broniewski

Hi all,

I tried updating Gdal to the latest version on my FreeBSD system, 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 GDAL issue or shall I report this to the FreeBSD crew? Or is 
my PostGIS too old ???



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
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] GDAL 1.10 build fails on FreeBSD

2013-09-03 Thread Vincent Schut
On Tue, 03 Sep 2013 14:55:20 +0200
Frank Broniewski b...@metrico.lu wrote:

 Hi all,
 
 I tried updating Gdal to the latest version on my FreeBSD system, 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 GDAL issue or shall I report this to the FreeBSD crew? Or
 is my PostGIS too old ???

Frank, just fyi: I recently upgraded gdal on my freebsd system to 1.10,
and all went fine. My postgis is significantly newer than yours, though
(2.1 I think, or at least 2.0), so that might be the culprit indeed.

Best,
Vincent.
 
 
 Frank
 
 

___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] GDAL 1.10 build fails on FreeBSD

2013-09-03 Thread Marius Jigmond
Frank,
You'll need a newer PostGIS (2.x+) if you want to compile GDAL 1.10 with PG 
support.
http://trac.osgeo.org/gdal/wiki/frmts_wtkraster.html
-marius

 Date: Tue, 3 Sep 2013 17:02:44 +0200
 From: sc...@sarvision.nl
 To: gdal-dev@lists.osgeo.org
 Subject: Re: [gdal-dev] GDAL 1.10 build fails on FreeBSD
 
 On Tue, 03 Sep 2013 14:55:20 +0200
 Frank Broniewski b...@metrico.lu wrote:
 
  Hi all,
  
  I tried updating Gdal to the latest version on my FreeBSD system, 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 GDAL issue or shall I report this to the FreeBSD crew? Or
  is my PostGIS too old ???
 
 Frank, just fyi: I recently upgraded gdal on my freebsd system to 1.10,
 and all went fine. My postgis is significantly newer than yours, though
 (2.1 I think, or at least 2.0), so that might be the culprit indeed.
 
 Best,
 Vincent.
  
  
  Frank
  
  
 
 ___
 gdal-dev mailing list
 gdal-dev@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/gdal-dev
  ___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev