Changes between Version 19 and Version 20 of DevWikiWinMingWSys_20


Ignore:
Timestamp:
Apr 16, 2011, 6:54:05 PM (13 years ago)
Author:
robe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • DevWikiWinMingWSys_20

    v19 v20  
    150150# make install
    151151}}}
    152 Now configure, compile and install libtool.
     152Now configure, compile and install libtool. 
    153153{{{
    154154# tar xvfz libtool-2.2.10.tar.gz
     
    254254 1. mkdir /c/projects/libxml
    255255 2. cd /c/projects/libxml
    256  3. ftp://xmlsoft.org/libxml2/libxml2-2.7.6.tar.gz
    257  4.  For windows it crashes currently unless you compile libxml statically which means
    258 it gets embedded in the postgis-1.5.dll
    259 {{{
    260 # tar xvfz libxml2-2.7.6.tar.gz
    261 # cd libxml2-2.7.6
    262 # ./configure --prefix=/c/projects/libxml/libxml2-2.7.6release --disable-shared CCFLAGS=LDFLAGS="-Wl,-static" CFLAGS=-O2
    263 # make
    264 # make install
     256 3. ftp://xmlsoft.org/libxml2/libxml2-2.7.8.tar.gz
     257There seems to be some finickiness with configure that sometimes you have to disable static binding and sometimes you don't
     258it's still a mystery to me:
     259
     260{{{
     261tar xvfz libxml2-2.7.8.tar.gz
     262cd libxml2-2.7.8
     263./configure --prefix=/c/projects/libxml/libxml2-2.7.8release --enable-shared --disable-static
     264make
     265make install
     266}}}
     267
     268-- to force to compile static if your GeomFromGML/KML crashes you can try this.
     269{{{
     270./configure --prefix=/c/projects/libxml/libxml2-2.7.8release --disable-shared CCFLAGS=LDFLAGS="-Wl,-static" CFLAGS=-O2
     271make
     272make install
     273}}}
     274
     275== LibXML if the above fails in producing a release ===
     276Sometimes you get a libtoolT error at the end of configure which seems harmless. Sometimes it compiles on some machines and not others.
     277I have concluded it has to do with which zlib if any it picks up (on one machine that worked it was picking up my tortoise git zlib and had a dependency on msvcr9).
     278So you can explicitly set your paths with:
     279
     280{{{
     281export PATH="/usr/local/bin:/mingw/bin:/bin"
     282}}}
     283
     284and /or :
     285
     286{{{
     287./configure --prefix=/c/projects/libxml/libxml2-2.7.8release --enable-shared --disable-static --without-zlib
    265288}}}
    266289