[postgis-devel] [PostGIS] #273: ST_GeomFromGML crashes in Windows compiled in MingW

PostGIS trac at osgeo.org
Fri Dec 11 02:15:40 PST 2009


#273: ST_GeomFromGML crashes in Windows compiled in MingW
----------------------+-----------------------------------------------------
  Reporter:  robe     |       Owner:  colivier     
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  PostGIS 1.5.0
 Component:  postgis  |     Version:  trunk        
Resolution:           |    Keywords:               
----------------------+-----------------------------------------------------
Comment (by robe):

 Wow so I managed to get both of you on the windows bandwagon.  This is
 certainly more than what I could have hoped for.

 FWIW -- this is the way I toggle back and forth between static compile and
 link. Well seems to work for me anyway but all this stuff is still cryptic
 to me.

 My make check wa actually passing last time I tried except I think for one
 small error.

 {{{
 cd /c/projects/libxml/libxml2-2.7.6
 make uninstall
 make clean

 #to create linked
 ./configure --prefix=/c/projects/libxml/libxml2-2.7.6release --enable-
 shared --disable-static

 # to create static
 ./configure --prefix=/c/projects/libxml/libxml2-2.7.6release --disable-
 shared CCFLAGS=LDFLAGS="-Wl,-static" CFLAGS=-O2

 make && make install && make check


 }}}

 I haven't put it up yet since I assume we will want link dll which as Paul
 said is what happened when I follow just standard build.  Though I fear
 this problem is more serious than just the way we are freeing memory in
 windows.
 I'll have to dig up the reports I have read about it - but as I recall
 seemed to be a common issue with libxml in windows (though those reports
 may be dated).

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