[postgis-devel] [PostGIS] #1158: Can't compile under Windows mingw
PostGIS
trac at osgeo.org
Sat Aug 20 11:34:55 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):
1 step forward and 1 step back.
I had to get rid of your ifdef 0 (blocking the module magic in rt_pg), for
raster not to give the "you need magic" error during load. Still needed
the module magic patch for the postgis side. Raster check still fails
with
{{{
In file included from ../../rt_core/rt_api.h:90,
from testapi.c:7:
c:/projects/PostGIS/trunk/liblwgeom/liblwgeom.h:23:22: proj_api.h: No such
file or directory
In file included from ../../rt_core/rt_api.h:90,
from testapi.c:7:
c:/projects/PostGIS/trunk/liblwgeom/liblwgeom.h:2194: error: syntax error
before "lwproj_from_string"
c:/projects/PostGIS/trunk/liblwgeom/liblwgeom.h:2194: warning: type
defaults to `int' in declaration of `lwproj_from_string'
c:/projects/PostGIS/trunk/liblwgeom/liblwgeom.h:2194: warning: data
definition has no type or storage class
c:/projects/PostGIS/trunk/liblwgeom/liblwgeom.h:2202: error: syntax error
before "projPJ"
c:/projects/PostGIS/trunk/liblwgeom/liblwgeom.h:2203: 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'
}}}
though binaries after magic changes work fine.
On the plus side, it does install now. No longer get the "cannot create
regular file `//_inst.2160_'" error any more.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1158#comment:44>
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