[Tile-serving] [osm2pgsql] MinGW 64bit Support Updates (#85)

Jason Huntley notifications at github.com
Wed Sep 25 20:07:30 UTC 2013


I've put together a 64bit build of osm2pgsql via mingw64 for 64bit Windows. Most of the changes are small, however, I did end up cleaning up a lot a trailing end spaces from a few files. I should have a working build out on our build server soon.
You can merge this Pull Request by running:

  git pull https://github.com/onepremise/osm2pgsql master

Or you can view, comment on it, or merge it online at:

  https://github.com/openstreetmap/osm2pgsql/pull/85

-- Commit Summary --

  * fork not supported on MinGW.
  * Added additional logic to properly detect mingw. More udpates for supporting custom protobuf-c paths. Mthread support detection updates.
  * MinGW also requires GEOS_INLINE.
  * Updates to support custom protobuf-c paths on mingw. Old logic was self sabotaging itself by resetting includes to nothing when the inc/lib specific flags were specified to configure.
  * Not sure why __MINGW_H macro is used. __MINGW32__ or __MINGW__   are the standard widely used macros. I couldn't get osm2psql to build with the _H macro. I went forward using _MINGW32__, which is what you see in most open source ports to this platform.
  * moved config.h header down the headers list so the VERSION and PACKAGE_VERSION macros wouldn't interfere with osm2pgsqls.

-- File Changes --

    M build_geometry.cpp (12)
    M configure.ac (143)
    M m4/ax_lib_protobuf_c.m4 (10)
    M middle-pgsql.c (338)
    M osm2pgsql.c (43)
    M sprompt.c (4)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/85.patch
https://github.com/openstreetmap/osm2pgsql/pull/85.diff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20130925/cc246d36/attachment.html>


More information about the Tile-serving mailing list