On Wednesday, March 14, 2012 8:44:16 AM UTC-7, Charlie Sharpsteen wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">On Wednesday, March 14, 2012 8:40:22 AM UTC-7, Charlie Sharpsteen wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div>It does look like a GDAL upgrade to 1.9 would be a good idea though if the final version will require it. I have plenty of experience building this stuff from maintaining most of the GIS stack for the Homebrew package manager on OS X. Entirely new to Debian packaging though, so that will slow me down quite a bit.</div><div><br></div><div>-Charlie</div></blockquote><div><br></div><div>Actually, after re-reading the installation notes, it doesn't look like GDAL 1.9 is mandatory---just that GDAL >= 1.6 will be mandatory once PostGIS 2.0 is released.</div><div><br></div><div>-Charlie</div></blockquote><div><br></div><div>Allright, took a few jabs at this and here is what I have found so far:</div><div><br></div><div>  - Without GEOS 3.3.2, PostGIS must be configured `--without-topology` so this definitely knocks out a big chunk of 2.0 functionality.</div><div><br></div><div>  - 2.0.0beta2 can compile against the dependencies supplied for PostGIS 1.5.x via `apt-get build-dep postgis` with the addition of GDAL 1.7.0 via `apt-get install libgdal1-dev`. However, 2.0.0beta3, released today, and the current SVN head fail during configure:<br></div><div><br></div><div><br></div><div><div>RASTER: Raster support requested</div><div>checking for GDAL >= 1.6.0... found</div><div>checking gdal.h usability... yes</div><div>checking gdal.h presence... yes</div><div>checking for gdal.h... yes</div><div>checking ogr_api.h usability... yes</div><div>checking ogr_api.h presence... yes</div><div>checking for ogr_api.h... yes</div><div>checking cpl_conv.h usability... yes</div><div>checking cpl_conv.h presence... yes</div><div>checking for cpl_conv.h... yes</div><div>checking for GDALAllRegister in -lgdal... no</div><div>configure: error: could not find gdal</div></div><div><br></div><div><br></div><div>This is odd, because running nm against the libraries shows that the symbol is there:</div><div><br></div><div><div>vagrant@vagrant-64:~/postgis-2.0.0beta3$ nm --dynamic /usr/lib/libgdal1.7.0.so | grep GDALAllRegister</div><div>000000000021a820 T GDALAllRegister</div></div><div><br></div><div><br></div><div>Don't know if this is a bug in the latest beta, or a problem with Ubuntu's GDAL 1.7.0 libraries. Any advice would be appreciated.</div><div><br></div><div><br></div><div>-Charlie</div>