<HTML dir=ltr><HEAD><TITLE>Re: [GRASS-dev] Build winGRASS with Python and wxPython</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[GRASS-dev]%20Build%20winGRASS%20with%20Python%20and%20wxPython.EML/1_text.htm></HEAD>
<BODY>
<DIV id=idOWAReplyText60194 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi Michael,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>&gt;There is a separate dev Windows package that you need to instal for wx-config</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>oh... I thought it must exist! ;-) but I still didn't find it... I'll look better...</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>&gt;That said, you don't need to install this unless you want to try to&nbsp;<BR>&gt;compile the new in-development digitizer. Most people are still&nbsp;<BR>&gt;having difficulty compiling this and I know that Martin is actively&nbsp;<BR>&gt;working on it. It would certainly be helpful to him if you wanted to&nbsp;<BR>&gt;try compiling the digitizer in Windows--but this isn't necessary to&nbsp;<BR>&gt;run the rest of the wxPython GUI.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>mhhh... confused! if I don't have wx-config I cannot enable the new wxPython GUI! (configure fails)</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>&gt;You don't need to enable Python in GDAL to use the wxPython GUI. But&nbsp;<BR>&gt;perhaps you are trying to enable Python in GDAL for other reasons?</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Yes, you're right. I'm working on a new MSYS environment for GRASS, and I'm trying to build the most options as possible to let user work on and test them in WinGrass (even if I'm not personally able to use those options).</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>If you tell me what data GRASS Makefile&nbsp;needs from wx-config file, I could modify configure and Makefile in order to work without wx-config</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Regards,</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 dir=ltr><FONT size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2></FONT>&nbsp;</DIV><FONT face=Arial size=2></FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr>
<DIV dir=ltr><BR></DIV>
<DIV dir=ltr>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr><FONT face=Tahoma size=2><B>Da:</B> Michael Barton per conto di Michael Barton<BR><B>Inviato:</B> mer 27/02/2008 16.10<BR><B>A:</B> marco.pasetti@alice.it; GRASS developers list<BR><B>Oggetto:</B> Re: [GRASS-dev] Build winGRASS with Python and wxPython<BR></FONT><BR></DIV></DIV>
<DIV><BR>
<P><FONT size=2>On Feb 27, 2008, at 5:30 AM, grass-dev-request@lists.osgeo.org wrote:<BR><BR>&gt; Date: Wed, 27 Feb 2008 11:58:58 +0100<BR>&gt; From: &lt;marco.pasetti@alice.it&gt;<BR>&gt; Subject: [GRASS-dev] Build winGRASS with Python and wxPython<BR>&gt; To: &lt;grass-dev@lists.osgeo.org&gt;<BR>&gt; Message-ID: &lt;FBCMMO02t4SPh1qHxpE0002f966@FBCMMO02.fbc.local&gt;<BR>&gt; Content-Type: text/plain; charset="iso-8859-1"<BR>&gt;<BR>&gt; Hi all,<BR>&gt;<BR>&gt; I installed prebuilt binaries of Python 2.5.2 and wxPython2.8&nbsp;<BR>&gt; (unicode-2.8.7.1-py25); GRASS configure help tells to specify&nbsp;<BR>&gt; python and wxpython config files... but I don't have those files!&nbsp;<BR>&gt; any suggestions?<BR><BR>There is a separate dev Windows package that you need to instal for&nbsp;<BR>wx-config. This has been a confusing issue for many of us. There is a&nbsp;<BR>dev package for Linux that is part of the normal group of&nbsp;<BR>installations that you can install or not. The same files are&nbsp;<BR>installed automatically in the Mac binary, but put in a different&nbsp;<BR>place than Linux puts them. I saw a link for a Windows dev package on&nbsp;<BR>the binary downloads page for wxPython and suppose that this where&nbsp;<BR>you get these files for Windows--though I don't know where Windows&nbsp;<BR>will put them.<BR><BR>That said, you don't need to install this unless you want to try to&nbsp;<BR>compile the new in-development digitizer. Most people are still&nbsp;<BR>having difficulty compiling this and I know that Martin is actively&nbsp;<BR>working on it. It would certainly be helpful to him if you wanted to&nbsp;<BR>try compiling the digitizer in Windows--but this isn't necessary to&nbsp;<BR>run the rest of the wxPython GUI.<BR><BR>&gt;<BR>&gt; I also had a problem trying to enable python in GDAL, because the&nbsp;<BR>&gt; distributed Windows installer of Python is built using Visual&nbsp;<BR>&gt; Studio, while GDAL (if built with MinGW) requires a MinGW built&nbsp;<BR>&gt; version of Python; this means that, if you want to enable Python&nbsp;<BR>&gt; bindings in GDAL, you'll need to build Python from source using MinGW.<BR><BR>You don't need to enable Python in GDAL to use the wxPython GUI. But&nbsp;<BR>perhaps you are trying to enable Python in GDAL for other reasons?<BR><BR>Michael<BR><BR>&gt; I hope that it will be not the same even in GRASS! ;-)<BR>&gt;<BR>&gt; Thanks<BR>&gt;<BR>&gt; Marco<BR><BR></FONT></P></DIV></BODY></HTML>