[gdal-dev] Expat support on MinGW/MSYS
Ari Jolma
ari.jolma at tkk.fi
Wed Feb 20 09:57:09 EST 2008
marco.pasetti at alice.it kirjoitti:
> Hi,
>
> I'm building GDAL 1.5.0 on Windows (XP SP2) using MSYS/MinGW environment;
> I built Expat 2.0.1, but I cannot configure GDAL with Expat support.
> I followed the BuildingWithMinGW Wiki (using pexports, libtool and
> perl commands), but it continues to find includes but not libraries!
Something's definitely not correct. I'm using the trunk version and I
get configure to find expat.h from c:\mingw\include and expat.dll.a
(which is created with pexports and libtool and the small perl utility)
from c:\mingw\lib with:
1) adding LIBS="$LIBS -lexpat" to configure (lines 23783 and 23787)
and
2) calling configure with
--with-expat=yes --with-expat-inc=/c/mingw/include
--with-expat-lib=-L/c/mingw/lib
Note the value for --with-expat-lib. It seems to be required although
the directory is known by the linker by default.
Regards,
Ari
>
> Someone could help me please?
> What happen if I disable Expat support?
>
> Thanks for support,
>
> Marco
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
--
Prof. Ari Jolma
Geoinformatiikka / Geoinformatics
Teknillinen Korkeakoulu / Helsinki University of Technology
tel: +358 9 451 3886 address: POBox 1200, 02015 TKK, Finland
Email: ari.jolma at tkk.fi URL: http://www.tkk.fi/~jolma
More information about the gdal-dev
mailing list