[GRASS-dev] wxgrass won't work - how to set up digitization?
Michael Barton
michael.barton at asu.edu
Sat Aug 18 18:00:23 EDT 2007
Martin,
I just updated all and now wxgrass won't start. I get the following error...
GRASS 6.3.cvs (spearfish60_test):~ > Traceback (most recent call last):
File
"/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/wxgui.py", line
57, in <module>
import gui_modules.wxgui_utils as wxgui_utils
File
"/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/gui_modules/wxg
ui_utils.py", line 36, in <module>
import mapdisp
File
"/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/gui_modules/map
disp.py", line 55, in <module>
import toolbars
File
"/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/gui_modules/too
lbars.py", line 28, in <module>
from digit import Digit as Digit
File
"/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/gui_modules/dig
it.py", line 60, in <module>
from grass6_wxdriver import DisplayDriver
ImportError: No module named grass6_wxdriver
I assume that I need the new displaydriver C module you have written. I
copied it into my running version and tried to make it, but got the
following error...
Last login: Sat Aug 18 11:48:21 on ttyp1
Welcome to Darwin!
cmb-MBP:~ cmbarton$ cd
/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/display_driver/
cmb-MBP:/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/display_
driver cmbarton$ make
Makefile:17: warning: overriding commands for target `clean'
../../../include/Make/Rules.make:34: warning: ignoring old commands for
target `clean'
cat ./driver.i > grass6_wxdriver.i
echo "/* auto-generate swig typedef file (with some GRASS functions removed)
*/" >> grass6_wxdriver.i
cat ./driver.h >> grass6_wxdriver.i
swig -c++ -python -shadow grass6_wxdriver.i
make: swig: Command not found
make: *** [grass6_wxdriver_wrap.cxx] Error 127
What do I need to do to make this work?
BTW, my GRASS is compiled with PYTHON support, so swig *ought* to be there.
I probably am just doing this wrong.
Thanks
Michael
__________________________________________
Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20070818/dd6c5d4d/attachment.html
More information about the grass-dev
mailing list