[postgis-devel] [PostGIS] #1158: Can't compile under Windows mingw

PostGIS trac at osgeo.org
Sat Aug 20 20:04:38 PDT 2011


#1158: Can't compile under Windows mingw
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  strk         
     Type:  defect   |      Status:  new          
 Priority:  blocker  |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by robe):

 Magic good, postgis tests code, install good, raster test api still no
 good.


 {{{
 In file included from ../../rt_core/rt_api.h:90,
                  from testapi.c:7:
 c:/projects/PostGIS/trunk/liblwgeom/liblwgeom.h:2190: error: syntax error
 before              "lwproj_from_string"
 c:/projects/PostGIS/trunk/liblwgeom/liblwgeom.h:2190: warning: type
 defaults to              `int' in declaration of `lwproj_from_string'
 c:/projects/PostGIS/trunk/liblwgeom/liblwgeom.h:2190: warning: data
 definition h             as no type or storage class
 c:/projects/PostGIS/trunk/liblwgeom/liblwgeom.h:2198: error: syntax error
 before              "projPJ"
 c:/projects/PostGIS/trunk/liblwgeom/liblwgeom.h:2199: error: syntax error
 before              "projPJ"
 make[3]: *** [testapi] Error 1
 make[3]: Leaving directory `/c/projects/PostGIS/trunk/raster/test/core'
 make[2]: *** [core-check] Error 2
 make[2]: Leaving directory `/c/projects/PostGIS/trunk/raster/test'
 make[1]: *** [core-check] Error 2
 make[1]: Leaving directory `/c/projects/PostGIS/trunk/raster'
 make: *** [check] Error 1
 for s in liblwgeom libpgcommon regress postgis loader utils raster
 topology; do
 }}}

 I've been getting another error recently which I first saw when trying to
 apply Bryce's patch and now it shows up all the time during configure.


 {{{
 checking for a BSD-compatible install... m.AllocationBase 0x713D0000,
 m.BaseAddress 0x715B0000, m.RegionSize 0x38000, m.State 0x1000
 C:\msys\1.0\bin\install.exe: *** Couldn't reserve space for cygwin's heap
 (0x715B0000 <0x2530000>) in child, Win32 error 0
 ./install-sh -c

 }}}

 The couldn't reserve cygwin space.  I'll restart my computer and see if
 that error goes away and perhaps that will solve the raster test api
 problem if they are related in someway.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1158#comment:47>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list