[gdal-dev] Failure Building GEOS on Windows w/Mingw

Jeff McKenna jmckenna at gatewaygeomatics.com
Thu Jul 7 09:42:37 PDT 2016


I often ask my GEOS build questions direct to the GEOS community: 
subscribe at https://lists.osgeo.org/mailman/listinfo/geos-devel

-jeff


-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/



On 2016-07-07 1:31 PM, William Kelly Magee wrote:
> Hello
>
> I am using GDAL-1.11.1 and have built it to use GEOS successfully on
> Linux.  I need to build the same on Windows and am using Mingw32.  No
> problem with GDAL but am running into an issue building GEOS on Windows
> using Mingw.  I have searched the GEOS site but cannot find a solution.
> The GEOS build failure is as follows;
>
>     Making all in locate
>     make[4]: Entering directory
>     `/cygdrive/c/build/geos/geos-3.5.0/src/algorithm/locate'
>     .deps/IndexedPointInAreaLocator.Plo:1: *** multiple target
>     patterns.  Stop.
>     make[4]: Leaving directory
>     `/cygdrive/c/build/geos/geos-3.5.0/src/algorithm/locate'
>     Makefile:556: recipe for target `all-recursive' failed
>     make[3]: *** [all-recursive] Error 1
>     make[3]: Leaving directory
>     `/cygdrive/c/build/geos/geos-3.5.0/src/algorithm'
>     Makefile:595: recipe for target `all-recursive' failed
>     make[2]: *** [all-recursive] Error 1
>     make[2]: Leaving directory `/cygdrive/c/build/geos/geos-3.5.0/src'
>     Makefile:469: recipe for target `all-recursive' failed
>     make[1]: *** [all-recursive] Error 1
>     make[1]: Leaving directory `/cygdrive/c/build/geos/geos-3.5.0'
>     Makefile:416: recipe for target `all' failed
>     make: *** [all] Error 2
>
> I have tried both mingw32-make and (cygwin's) make, and still cannot get
> a clean build.
>
> The arguments I am specifying to configure are;
>
>     sh configure --build=mingw32 --enable-static=no -enable-shared=yes
>     --disable-inline
>
>
> Any suggestions (aside from not using Windows) are greatly appreciated.
>
> - Kelly
>
>


More information about the gdal-dev mailing list