From 387b1e0421863347e8b3a84088aa8d96b551a182 Mon Sep 17 00:00:00 2001 From: what_nick Date: Wed, 24 Oct 2007 14:10:26 +0000 Subject: [PATCH] Updated MINGW build instructions. git-svn-id: http://svn.osgeo.org/qgis/branches/Release-0_9_0@7298 c8812cc2-4d05-0410-92ff-de0c093fc19c --- INSTALL.t2t | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/INSTALL.t2t b/INSTALL.t2t index 5e530361571..702b54ef245 100644 --- a/INSTALL.t2t +++ b/INSTALL.t2t @@ -913,7 +913,9 @@ CONFIG_LIBS="-L/usr/local/lib -lpng -lz -lgdal" ``` GDAL build procedure can be greatly simplified to use libtool with a libtool line patch: configure gdal as below: -./configure --with-ngpython --with-xerces=/local/ --with-jasper=/local/ --with-grass=/local/grass-6.3.cvs/ --with-pg=/local/pgsql/bin/pg_config.exe +CPPFLAGS=-DXML_LIBRARY ./configure --with-ngpython --with-local --with-grass=/lo +cal/grass-6.3.cvs/ --with-expat=/local/ --with-xerces=/local/ --with-pg=/local/p +gsql/bin/pg_config.exe Then fix libtool with: mv libtool libtool.orig @@ -937,6 +939,10 @@ export PATH="/usr/local/bin:/usr/local/lib:$PATH" ./configure --prefix=/usr/local --bindir=/usr/local --with-includes=/usr/local/include --with-libs=/usr/local/lib --with-cxx --without-jpeg --without-tiff --without-postgres --with-opengl=windows --with-fftw --with-freetype --with-freetype-includes=/usr/local/include/freetype2 --without-x --without-tcltk --enable-x11=no --enable-shared=yes --with-proj-share=/usr/local/share/proj make make install + +Qgis 0.9.0 Grass Config Line: +./configure --prefix=/usr/local --bindir=/usr/local --with-includes=/usr/local/include --with-libs=/usr/local/lib --with-cxx --with-postgres=yes --with-postgres-includes=/local/pgsql/include --with-postgres-libs=/local/pgsql/lib --with-opengl=windows --with-fftw --without-x --without-tcltk --with-freetype --with-freetype-includes=/mingw/include/freetype2 --enable-x11=no --enable-shared=yes --with-proj-share=/usr/local/share/proj + ``` It should get installed to ``c:\msys\local\grass-6.3.cvs``