R: [gdal-dev] Building with MSYS/MingGW
Marco Pasetti
marco.pasetti at alice.it
Thu Feb 28 19:22:46 EST 2008
Hi Chris,
>What versions of MSYS and MinGW are you using?
I suggest MSYS (1.0.11) and MinGW (5.1.3)
http://prdownloads.sourceforge.net/mingw/MSYS-1.0.11-2004.04.30-1.exe
>Do you configure with libtool or without (if with, did you need to apply a
patch?)
I use libtool; though it has few patches to let it work:
http://trac.osgeo.org/gdal/wiki/BuildingWithMinGW
>Can you give me an example ./configure line that works for you?
./configure --prefix=/usr/local \
--without-grass \
--without-expat \
--with-pg=/usr/local/pgsql/bin/pg_config.exe \
--with-sqlite3=/usr/local/sqlite
If you want to build without GRASS (but with GRASS also works, withou any
patch) and with PostgreSQL and SQLite3;
To add these supports you need to build them with MinGW; prebuilt binaries
of PostgreSQL don't work because linking problems in OpenSSL driver;
I built and added supprt for GRASS SVN, SQlite 3.5.6 (latest) and PostgreSQL
(8.2.6 - latest before 8.3.0, that is the current stable release, but it
does'nt compile on MinGW)
I disabled expat because, for unknow reasons, it is not recognized by
configure.
Adding Python support could be done installing the current release of Python
(2.5.2) and Python Extensions for Windows, respectively from
http://www.python.org/ftp/python/2.5.2/python-2.5.2.msi and
http://downloads.sourceforge.net/pywin32/pywin32-210.win32-py2.5.exe
Regards,
Marco
-----Messaggio originale-----
Da: gdal-dev-bounces at lists.osgeo.org
[mailto:gdal-dev-bounces at lists.osgeo.org] Per conto di Christopher Barker
Inviato: venerdì 29 febbraio 2008 1.07
A: gdal-dev
Oggetto: [gdal-dev] Building with MSYS/MingGW
Hi all,
I've never been able to get GDAL to build with MSYS/MinGW. However, it
appears others here have, so here's my questions:
What versions of MSYS and MinGW are you using?
Do you configure with libtool or without (if with, did you need to apply a
patch?)
Can you give me an example ./configure line that works for you?
I'm running:
WindowsXP service pack2
MSYS version 1.0.10
MinGW 5.1.3 (gcc 3.4.2)
I've tried building the 1.5 release, and various versions of SVN, both with
and without libtool.
Any tips would be appreciated.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
More information about the gdal-dev
mailing list