[postgis-users] Problem compiling PostGIS2.0 with GEOS 1.3.3+

Sandro Santilli strk at keybit.net
Fri Jun 22 17:41:40 PDT 2012


On Fri, Jun 22, 2012 at 09:27:59PM +0200, Jan Hartmann wrote:
> Compiling PostGIS 2.0.0 will break down when the file "liblwgeom.h"
> is not included from the PostGIS distribution, but from the
> installed GEOS includes. This happens when the include path to the
> gcc compiler first explicitly specifies the standard include
> directories (/usr/include etc), and only afterwards the specific
> PostGIS include directories, like "-I/usr/local/include
> -I../libwgeom". The problem is that the file "liblwgeom.h" exists
> both in the GEOS distribution and in the PostGIS source. Things are
> defined differently im both versions, i.e. a "struct BOX3D" with and
> without a "srid" member.

There's no liblwgeom.h in GEOS, as far as I know.
Maybe you refer to a previous installation of PostGIS ?

--strk;

 Sent from our free software
 http://www.gnu.org/philosophy/free-sw.html



More information about the postgis-users mailing list