<HTML>
<HEAD>
<TITLE>wxgrass won't work - how to set up digitization?</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Martin,<BR>
<BR>
I just updated all and now wxgrass won't start. I get the following error...<BR>
<BR>
GRASS 6.3.cvs (spearfish60_test):~ > Traceback (most recent call last):<BR>
File "/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/wxgui.py", line 57, in <module><BR>
import gui_modules.wxgui_utils as wxgui_utils<BR>
File "/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/gui_modules/wxgui_utils.py", line 36, in <module><BR>
import mapdisp<BR>
File "/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/gui_modules/mapdisp.py", line 55, in <module><BR>
import toolbars<BR>
File "/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/gui_modules/toolbars.py", line 28, in <module><BR>
from digit import Digit as Digit<BR>
File "/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/gui_modules/digit.py", line 60, in <module><BR>
from grass6_wxdriver import DisplayDriver<BR>
ImportError: No module named grass6_wxdriver<BR>
<BR>
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...<BR>
<BR>
Last login: Sat Aug 18 11:48:21 on ttyp1<BR>
Welcome to Darwin!<BR>
cmb-MBP:~ cmbarton$ cd /Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/display_driver/ <BR>
cmb-MBP:/Applications/Grass/GRASS-6.3.app/Contents/Resources/etc/wx/display_driver cmbarton$ make<BR>
Makefile:17: warning: overriding commands for target `clean'<BR>
../../../include/Make/Rules.make:34: warning: ignoring old commands for target `clean'<BR>
cat ./driver.i > grass6_wxdriver.i<BR>
echo "/* auto-generate swig typedef file (with some GRASS functions removed) */" >> grass6_wxdriver.i<BR>
cat ./driver.h >> grass6_wxdriver.i<BR>
swig -c++ -python -shadow grass6_wxdriver.i<BR>
make: swig: Command not found<BR>
make: *** [grass6_wxdriver_wrap.cxx] Error 127<BR>
<BR>
What do I need to do to make this work?<BR>
<BR>
BTW, my GRASS is compiled with PYTHON support, so swig *ought* to be there. I probably am just doing this wrong.<BR>
<BR>
Thanks<BR>
Michael<BR>
<BR>
__________________________________________<BR>
Michael Barton, Professor of Anthropology<BR>
Director of Graduate Studies<BR>
School of Human Evolution & Social Change <BR>
Center for Social Dynamics & Complexity<BR>
Arizona State University<BR>
<BR>
phone: 480-965-6213<BR>
fax: 480-965-7671<BR>
www: <a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a> <BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>