Changes between Version 97 and Version 98 of WKTRaster/Documentation01


Ignore:
Timestamp:
Apr 27, 2010, 11:40:29 AM (14 years ago)
Author:
pracine
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • WKTRaster/Documentation01

    v97 v98  
    183183 1. Compile PostGIS [wiki:UsersWikiWinCompile using these instructions].
    184184
    185  2. Get GDAL 1.7.1 sources from [http://trac.osgeo.org/gdal/wiki/DownloadSource] and extract (you need this for advanced features like ST_DumpAsPolygons)
    186 
    187  3. Build gdal make sure to build without libtool. Refer to [http://trac.osgeo.org/gdal/ticket/3465].
    188 ALSO '''NOTE:'''  It compiles and binds, but ST_DumpAsPolygons crashes and so do the regression tests involving GDAL.  Will try to build as static.
     185 2. Get GDAL 1.7.1 sources from [http://trac.osgeo.org/gdal/wiki/DownloadSource] and extract (you need this for advanced features like ST_DumpAsPolygons).
     186
     187 3. Build GDAL without libtool. Refer to [http://trac.osgeo.org/gdal/ticket/3465].
    189188   
    190189{{{
    191190cd /c/projects/GDAL/gdal-1.7.1
    192 ./configure --without-libtool --with-libtiff=internal --with-libz=/c/gtk/include --prefix=/c/projects/GDAL/rel-1.7.1
     191./configure --without-libtool --with-libtiff=internal --with-libz=/c/gtk/include
     192}}}
     193 
     194 Edit /c/thesrc/gdal/gdal-1.7.1/GNUMakefile so that GDAL_OBJ is assigned this way:
     195
     196 GDAL_OBJ = ./frmts/o/*.o \[[BR]]
     197            ./gcore/*.o \[[BR]]
     198            ./port/*.o \[[BR]]
     199            ./alg/*.o
     200
     201{{{
    193202make clean && make
    194203make install
    195 strip /c/projects/GDAL/rel-1.7.1/lib/libgdal.dll
    196 cp /c/projects/GDAL/rel-1.7.1/lib/libgdal.dll /c/postgres/bin/
     204}}}
     205
     206 libgdal.dll should now exist in /usr/local/lib
     207
     208{{{
     209strip /usr/local/lib/libgdal.dll
    197210}}}
    198211