[GRASS-dev] Re: GRASS-dev] grass fails to detect wxpython version
Michael Barton
Michael.Barton at asu.edu
Thu Oct 14 23:30:19 EDT 2010
Because it is a custom Python build, you might need to specify --with-python=/System/Library/Frameworks/Python.framework/Versions/2.9/bin/python2.9-config
(check to make sure this is where the file is and what it is called.)
Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
voice: 480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
On Oct 14, 2010, at 7:03 PM, <grass-dev-request at lists.osgeo.org> wrote:
> Message: 8
> Date: Fri, 15 Oct 2010 01:43:38 +0200
> From: Massimo Di Stefano <massimodisasha at gmail.com>
> Subject: [GRASS-dev] grass fails to detect wxpython version
> To: grass-dev at lists.osgeo.org
> Message-ID: <28CEF25E-7586-419C-AC9E-AF249331B0E2 at gmail.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hi All,
>
> for some reason i need to switch to python 2.7 on mac osx
> i'm using a custom build python2.7 (i386 + x86_64)
> it is my default python version.
>
> epy:~ epy$ which python
> /Library/Frameworks/Python.framework/Versions/2.7/bin/python
>
>
> I'm using a snapshot buld for wx python2.9 (build with cocoa for python2.7)
>
> it is available there :
>
> http://wxpython.wxcommunity.com/preview/20101001/
>
> http://wxpython.wxcommunity.com/preview/20101001/wxPython2.9-osx-2.9.1.1.b20101001-cocoa-py2.7.dmg
>
> tring to run wx-config, i have :
>
> /usr/local/lib/wxPython-2.9.1.1.b20101001/bin/wx-config --version-full
> 2.9.1.1
>
> i'm building grass6_devel using as wx configure, this line :
>
> --with-wxwidgets=/usr/local/lib/wxPython-2.9.1.1.b20101001/bin/wx-config
>
>
> the build ends without errors but tring to run grass i have :
>
> GRASS 6.5.svn (<UNKNOWN>):~ > g.gui
> Launching 'wxpython' GUI in the background, please wait ...
> ERROR: wxGUI requires wxPython >= 2.8.1.1. Requested version of wxPython not found.
> GRASS 6.5.svn (<UNKNOWN>):~ >
>
>
> whay it tel me a version < 2.8 ?
>
> my new wc-config is not in the path .. can be this the reason ? i suppose configure should handle the path i issued to the wxwidgets options.
>
> have you any clue on what's wrong ?
>
>
> thanks,
>
> Massimo.
More information about the grass-dev
mailing list