[postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?

Stephen V. Mather svm at clevelandmetroparks.com
Wed Mar 14 13:10:43 PDT 2012


For compiling 2.0 for Ubuntu, I’d recommend doing a custom build of GDAL 1.9 with GEOS 3.3.2—otherwise you’ll have the package manager bringing in GEOS 3.2.x for GDAL 1.7, and then you’ll have two GEOS libraries floating out there… .  Might fix the problem below too.

 

http://www.clemetparks.com/images/esig/cmp-ms-90x122.pngStephen Mather
Geographic Information Systems (GIS) Manager
(216) 635-3243

svm at clevelandmetroparks.com
 <http://www.clemetparks.com/> clevelandmetroparks.com

 

 

 

 

From: postgis-users-bounces at postgis.refractions.net [mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of Charlie Sharpsteen
Sent: Wednesday, March 14, 2012 4:01 PM
To: postgis-users at googlegroups.com
Cc: Charlie Sharpsteen; PostGIS Users Discussion
Subject: Re: [postgis-users] Are there any Ubuntu PPAs that serve PostGIS 2.0 beta releases?

 

On Wednesday, March 14, 2012 8:44:16 AM UTC-7, Charlie Sharpsteen wrote:

On Wednesday, March 14, 2012 8:40:22 AM UTC-7, Charlie Sharpsteen wrote:

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.

 

-Charlie

 

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.

 

-Charlie

 

Allright, took a few jabs at this and here is what I have found so far:

 

  - Without GEOS 3.3.2, PostGIS must be configured `--without-topology` so this definitely knocks out a big chunk of 2.0 functionality.

 

  - 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:

 

 

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 GDALAllRegister in -lgdal... no

configure: error: could not find gdal

 

 

This is odd, because running nm against the libraries shows that the symbol is there:

 

vagrant at vagrant-64:~/postgis-2.0.0beta3$ nm --dynamic /usr/lib/libgdal1.7.0.so | grep GDALAllRegister

000000000021a820 T GDALAllRegister

 

 

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.

 

 

-Charlie

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20120314/3d524d98/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 3772 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20120314/3d524d98/attachment.png>


More information about the postgis-users mailing list