[geos-devel] [GEOS] #330: cmake puts geos_c.h into include/geos
GEOS
geos-trac at osgeo.org
Tue Feb 9 01:48:43 EST 2010
#330: cmake puts geos_c.h into include/geos
-----------------------+----------------------------------------------------
Reporter: mwtoews | Owner: geos-devel at lists.osgeo.org
Type: defect | Status: new
Priority: minor | Milestone:
Component: Default | Version: svn-trunk
Severity: Annoyance | Keywords:
-----------------------+----------------------------------------------------
Testing the latest SVN, CMake installs geos_c.h into {{{include/geos}}}
rather than in {{{include}}} (as with previous versions <=3.2). However,
the header file still refers to children header files in a {{{geos}}}
subdirectory, e.g.:
{{{
#include <geos/export.h>
}}}
and the configuration utility points where it should, but there is not
header file there:
{{{
$ geos-config --includes
/usr/local/include
}}}
This gives errors and grief for configuring PostGIS. The quick-fix is:
{{{
mv geos_c.h ..
}}}
... but this is still a defect due to manual intervention for the install.
Other info:
{{{
$ cmake --version
cmake version 2.6-patch 0
$ g++ --version
g++ (Debian 4.3.2-1.1) 4.3.2
}}}
--
Ticket URL: <http://trac.osgeo.org/geos/ticket/330>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
More information about the geos-devel
mailing list