[postgis-devel] [PostGIS] #494: [wktraster] ST_DumpAsPolygons crashes under MingW compiled wktraster (gdal)

PostGIS trac at osgeo.org
Fri Apr 16 16:54:18 PDT 2010


#494: [wktraster] ST_DumpAsPolygons crashes under MingW compiled wktraster (gdal)
------------------------+---------------------------------------------------
  Reporter:  robe       |       Owner:  pracine        
      Type:  defect     |      Status:  new            
  Priority:  medium     |   Milestone:  WKTRaster 0.1.6
 Component:  wktraster  |     Version:  trunk          
Resolution:             |    Keywords:                 
------------------------+---------------------------------------------------
Comment (by robe):

 Pierre,

 I left out one line of instructions I had done that I didn't think was
 necessary, but perhaps it is.  I left it out because it didn't work for me
 without the --without-libtool so I assumed they were older instructions.
 Perhaps you can give them a try and then put the without-libtool back to
 see if it works.

 In the GNUmakefile of GDAL --
 I remarked out lines 4 to 7 and replacing ${GDAL_ROOT} with ./

 So in the end I had


 {{{
 # GDAL_OBJ      =       $(GDAL_ROOT)/frmts/o/*.o \
 #                       $(GDAL_ROOT)/gcore/*.o \
 #                       $(GDAL_ROOT)/port/*.o \
 #                       $(GDAL_ROOT)/alg/*.o
 GDAL_OBJ        =       ./frmts/o/*.o \
                         ./gcore/*.o \
                         ./port/*.o \
                         ./alg/*.o

 }}}


 It could also mean you have an old GDAL in your path somewhere and
 wktraster is picking that version up instead of the new one.

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