[GRASS-dev] wxpython not building automatically in GRASS 7
Colin (Nielsen) Wren
colin.nielsen at gmail.com
Thu Apr 1 18:43:47 EDT 2010
The wxpython dir was moved to gui/wxpython (r41557) by martinl. If
you're getting the same error as I was then then this should fix it.
The error was:
Starting GRASS ...
WARNING: Attention!
WARNING: Locking is not supported on Windows!
c:\programs\gis\osgeo4w\bin\python.exe: can't open file
'c:/programs/gis/osgeo4w/apps/grass/grass-7.0.svn/etc/wxpython/wxgui.py':
[Errno 2] No such file or directory
I posted before with a one line fix, but two lines need changing I think:
Index: functions.sh
===================================================================
--- functions.sh (revision 41651)
+++ functions.sh (working copy)
@@ -260,7 +260,7 @@
# ok
if [ "$?" = 0 ] ; then
# Set the wxpython base directory
- WXPYTHONGRASSBASE="$ETC/wxpython"
+ WXPYTHONGRASSBASE="$ETC/gui/wxpython"
else
# Python was not found - switch to text interface mode
cat <<-EOF
@@ -593,7 +593,7 @@
case "$GRASS_GUI" in
wxpython)
- "$GRASS_PYTHON" "$GISBASE/etc/wxpython/wxgui.py" &
+ "$GRASS_PYTHON" "$WXPYTHONGRASSBASE/wxgui.py" &
;;
# Ignore others
*)
-Colin
On 1 April 2010 17:04, Glynn Clements <glynn at gclements.plus.com> wrote:
>
> Michael Barton wrote:
>
>> I just updated from the svn and built GRASS 7. Initially, it gave an
>> error for the wxpython gui. But when I switched to the gui dirctory and
>> ran make, it all compiled fine. So it seems that something in the make
>> file is not working correctly for the gui.
>
> What error, exactly?
>
> --
> Glynn Clements <glynn at gclements.plus.com>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
More information about the grass-dev
mailing list