[MacPorts] #36904: grass: add wxPython variant
MacPorts
noreply at macports.org
Sat Feb 9 11:02:24 PST 2013
#36904: grass: add wxPython variant
-----------------------------+--------------------------------
Reporter: drew.mueller@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: grass |
-----------------------------+--------------------------------
Comment (by vaccari@…):
I tried the following:
1) installed both py-wxpython30 and py27-wxpython30
2) rebuilt grass and still obtain message about missing wxversion upon
launch
3) check that wxversion is actually installed
{{{
du -a | grep wxversion
40
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/wxversion.py
32
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/wxversion.pyc
}}}
4) and obtain:
{{{
sudo python
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/wxversion.py
['2.9.4-osx_cocoa',
'2.7.1-gtk2-ansi',
'2.6-gtk2-unicode',
'2.6-gtk2-ansi',
'2.6-gtk-ansi',
'2.5.3-gtk-ansi',
'2.5.2-gtk2-unicode',
'2.4-gtk-ansi']
True
True
False
Current sys.path:
['/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/plat-mac/lib-scriptpackages',
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/lib-old',
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/lib-dynload',
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC',
'/Library/Python/2.7/site-packages',
'/tmp']
Asked for 2.4, (False): got: /tmp/wx-2.4-gtk-ansi
Asked for 2.5, (False): got: /tmp/wx-2.5.3-gtk-ansi
Asked for 2.5-gtk2, (False): got: /tmp/wx-2.5.2-gtk2-unicode
Asked for 2.5.2, (False): got: /tmp/wx-2.5.2-gtk2-unicode
Asked for 2.5-ansi, (False): got: /tmp/wx-2.5.3-gtk-ansi
Asked for 2.5-unicode, (False): got: /tmp/wx-2.5.2-gtk2-unicode
Asked for 2.6, (False): got: /tmp/wx-2.6-gtk2-unicode
Asked for 2.6-ansi, (False): got: /tmp/wx-2.6-gtk2-ansi
Asked for ['2.6-unicode', '2.7-unicode'], (False): got:
/tmp/wx-2.6-gtk2-unicode
Asked for ['2.6', '2.7'], (False): got: /tmp/wx-2.7.1-gtk2-ansi
Asked for ['2.6-unicode', '2.7-unicode'], (True): got:
/tmp/wx-2.6-gtk2-unicode
Asked for 2.4-unicode, (False): got: /tmp/wx-2.4-gtk-ansi
Asked for ['2.5.2', '2.5.3', '2.6'], (False): got:
/tmp/wx-2.6-gtk2-unicode
Asked for 2.9, (False): got:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/wx-2.9.4-osx_cocoa
Asked for incompatible versions, got Exception: A previously selected wx
version does not match the new request.
EM: Asked for 2.6, (False): got:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/wx-2.9.4-osx_cocoa
EM: Asked for 2.6-unicode, (False): got:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/wx-2.9.4-osx_cocoa
EM: Asked for 2.6-unicode, (True): got: /tmp/wx-2.6-gtk2-unicode
EM: Asked for 2.9, (False): got:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/wx-2.9.4-osx_cocoa
}}}
So now I don't know how to tell grass to use it...
--
Ticket URL: <https://trac.macports.org/ticket/36904#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list