<HTML dir=ltr><HEAD><TITLE>Re: [gdal-dev] Expat support on MinGW/MSYS</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR><BASE href=http://mailstore.rossoalice.alice.it/exchange/marco.pasetti@alice.it/Bozze/R:%20[gdal-dev]%20Expat%20support%20on%20MinGW_xF8FF_MSYS.EML/1_text.htm></HEAD>
<BODY>
<DIV id=idOWAReplyText76897 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi Ari,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>sorry for the late (incredibly busy in these days);</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>I tried with your suggestion, but it doesn't work at all!</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>looking in config-status I found errors after line command</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>g++ [...] conftest.exe -I/lusr/local/include -L/usr/local/bin -lexpat conftest.cpp</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>dunno why!</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>I abandoned the will of adding expat support in gdal!</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>thanks anyway</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Marco</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Da:</B> Ari Jolma [mailto:ari.jolma@tkk.fi]<BR><B>Inviato:</B> mer 20/02/2008 15.57<BR><B>A:</B> marco.pasetti@alice.it<BR><B>Cc:</B> gdal-dev@lists.osgeo.org<BR><B>Oggetto:</B> Re: [gdal-dev] Expat support on MinGW/MSYS<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>marco.pasetti@alice.it kirjoitti:<BR>&gt; Hi,<BR>&gt;&nbsp;<BR>&gt; I'm building GDAL 1.5.0 on Windows (XP SP2) using MSYS/MinGW environment;<BR>&gt; I built Expat 2.0.1, but I cannot configure GDAL with Expat support.<BR>&gt; I followed the BuildingWithMinGW Wiki (using pexports, libtool and<BR>&gt; perl commands), but it continues to find includes but not libraries!<BR><BR>Something's definitely not correct. I'm using the trunk version and I<BR>get configure to find expat.h from c:\mingw\include and expat.dll.a<BR>(which is created with pexports and libtool and the small perl utility)<BR>from c:\mingw\lib with:<BR><BR>1) adding LIBS="$LIBS -lexpat" to configure (lines 23783 and 23787)<BR><BR>and<BR><BR>2) calling configure with<BR><BR>--with-expat=yes --with-expat-inc=/c/mingw/include<BR>--with-expat-lib=-L/c/mingw/lib<BR><BR>Note the value for --with-expat-lib. It seems to be required although<BR>the directory is known by the linker by default.<BR><BR>Regards,<BR><BR>Ari<BR><BR>&gt;&nbsp;<BR>&gt; Someone could help me please?<BR>&gt; What happen if I disable Expat support?<BR>&gt;&nbsp;<BR>&gt; Thanks for support,<BR>&gt;&nbsp;<BR>&gt; Marco<BR>&gt;&nbsp;<BR>&gt; ------------------------------------------------------------------------<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; gdal-dev mailing list<BR>&gt; gdal-dev@lists.osgeo.org<BR>&gt; <A href="http://lists.osgeo.org/mailman/listinfo/gdal-dev">http://lists.osgeo.org/mailman/listinfo/gdal-dev</A><BR><BR><BR>--<BR>Prof. Ari Jolma<BR>Geoinformatiikka / Geoinformatics<BR>Teknillinen Korkeakoulu / Helsinki University of Technology<BR>tel: +358 9 451 3886 address: POBox 1200, 02015 TKK, Finland<BR>Email: ari.jolma at tkk.fi URL: <A href="http://www.tkk.fi/~jolma">http://www.tkk.fi/~jolma</A><BR><BR><BR></FONT></P></DIV></BODY></HTML>