<HTML dir=ltr><HEAD><TITLE>Re: [gdal-dev] GDAL & Python</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/Alice000000001264700/Bozze/R:%20[gdal-dev]%20GDAL%20%26%20Python.EML/1_text.htm></HEAD>
<BODY>
<DIV id=idOWAReplyText35732 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi Frank,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>I'm building GDAL right now --with-python option enabled; I thought the same as you suggested... but now I'm&nbsp;trying build GDAL without python installed, because the last option enables python bindings, and, I think,&nbsp;this feature&nbsp;would not require python installed; furthermore, configure tells that the old python support is deprecated and suggests (as I understood) to enable python bindings instead.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>thanks</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> Frank Warmerdam [mailto:warmerdam@pobox.com]<BR><B>Inviato:</B> mar 26/02/2008 17.00<BR><B>A:</B> marco.pasetti@alice.it<BR><B>Cc:</B> gdal-dev@lists.osgeo.org<BR><B>Oggetto:</B> Re: [gdal-dev] GDAL &amp; Python<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>marco.pasetti@alice.it wrote:<BR>&gt; Hi,<BR>&gt;&nbsp;<BR>&gt; I'm building GDAL 1.5.0 on windows with MinGW.<BR>&gt; Do I need Python to enable its support in GDAL? (I have Python 2.5.1<BR>&gt; installed, but not in a "standard" msys directory)<BR>&gt; configure option is just "--with-python", while configure help doesn't<BR>&gt; tell about an option like --with-python-inc/lib or something like that!?<BR><BR>Marco,<BR><BR>I believe that the key is to have your installed python in the path, and then<BR>the python setup.py script for GDAL queries it to find appropriate information.<BR><BR>I can't promise that msys/mingw builds with python support will be easy<BR>though.&nbsp; I'm under the impression it might be tricky though I haven't done<BR>it myself.<BR><BR>Best regards,<BR>--<BR>---------------------------------------+--------------------------------------<BR>I set the clouds in motion - turn up&nbsp;&nbsp; | Frank Warmerdam, warmerdam@pobox.com<BR>light and sound - activate the windows | <A href="http://pobox.com/~warmerdam">http://pobox.com/~warmerdam</A><BR>and watch the world go round - Rush&nbsp;&nbsp;&nbsp; | President OSGeo, <A href="http://osgeo.org/">http://osgeo.org</A><BR><BR></FONT></P></DIV></BODY></HTML>