[GRASS-dev] grass fails to detect wxpython version

Massimo Di Stefano massimodisasha at gmail.com
Thu Oct 14 19:43:38 EDT 2010


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