[geos-devel] GEOS on Openmoko

Greg Troxel gdt at ir.bbn.com
Tue Jul 22 11:16:02 EDT 2008


  I'm trying to compile SpatiaLite on the Openmoko platform using the toolchain:

  http://www.gaia-gis.it/spatialite-2.0/index.html

  http://wiki.openmoko.org/wiki/Toolchain

  I've cross compiled PROJ.4 without any trouble, but am having issues
  with GEOS. Version 3 seems to have particular issues:

3.0: It looks like you don't have swig installed.  It may be that geos
is not quite set up for cross compiling.

  configure.in:159: error: possibly undefined macro: AC_PROG_SWIG
        If this token and others are legitimate, please use m4_pattern_allow.
        See the Autoconf documentation.
  autoreconf: /usr/bin/autoconf failed with exit status: 1
  FATAL: autoreconf execution failed.

2.2.3: It looks like you don't have adequate C++ support on the target.
I am unclear on if the C++ part is optional or core, and if you can turn
it off.

  In file included from Coordinate.cpp:16:
  ../../source/headers/geos/geom.h:20:18: error: memory: No such file or directory
  ../../source/headers/geos/geom.h:21:20: error: iostream: No such file
  or directory
  ../../source/headers/geos/geom.h:22:18: error: string: No such file or directory
  ../../source/headers/geos/geom.h:23:18: error: vector: No such file or directory
  ../../source/headers/geos/geom.h:24:21: error: algorithm: No such file
  or directory
  ../../source/headers/geos/geom.h:25:15: error: map: No such file or directory
  ../../source/headers/geos/geom.h:26:17: error: cmath: No such file or directory



More information about the geos-devel mailing list