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

PostGIS trac at osgeo.org
Sat Aug 13 08:31:19 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 bnordgren):

 Since win32 seems to be a special case, I just manually added the include
 directory iff the host is a mingw32. (e.g., it shouldn't clobber the
 system netdb.h if compiling on linux) See if this fixes it:

 https://github.com/bnordgren/postgis/commit/479c1c67614d2055c84f536df9cdf0f2820eed2f

 You'll have to re-run `autogen.sh` and `configure`.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1158#comment:10>
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