Thanks for your answer Mike, I would definitely prefer to have my postgis with raster support. Now i'm not sure why I'd need to install the libgdal-dev package (which is version 1.6 on debian squeeze) when I've already built and installed gdal 1.9 from source. I never had to install that package when installing previous postgis versions.
Thanks Simon 2012/4/18 Mike Toews <mwto...@gmail.com> > On 18 April 2012 20:32, Simon Ortet <simon.or...@gmail.com> wrote: > > Hi, > > > > I'm trying to install postgis 2.0 from source and I get this error when > > running "./configure --with-pgconfig=/usr/local/pgsql/bin/pg_config": > > > > RASTER: Raster support requested > > checking for GDAL >= 1.6.0... found > > checking gdal.h usability... yes > > checking gdal.h presence... yes > > checking for gdal.h... yes > > checking ogr_api.h usability... yes > > checking ogr_api.h presence... yes > > checking for ogr_api.h... yes > > checking cpl_conv.h usability... yes > > checking cpl_conv.h presence... yes > > checking for cpl_conv.h... yes > > checking for library containing GDALAllRegister... no > > configure: error: could not find gdal > > > > I tried with "--with-gdalconfig=/usr/local/bin/gdal-config" parameter as > > well (although /usr/local/bin is in the path anyways) with the same > result. > > > > I'm running a Debian 6.0.4 64bits. > > GDAL is installed from source and gdal-config is in the path. A > "gdal-config > > --version" command returns "1.9.0" > > > > Could it be that my gdal is missing something? Any idea? > > Your two options is to install GDAL: > > sudo apt-get install libgdal-dev > > Or configure without gdal: > > ./configure --without-raster > > -Mike > _______________________________________________ > postgis-users mailing list > postgis-users@postgis.refractions.net > http://postgis.refractions.net/mailman/listinfo/postgis-users >
_______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users