[GRASS-dev] wxgrass intro screen and location wizard completed

Benjamin Ducke benjamin.ducke at ufg.uni-kiel.de
Sat Aug 4 07:57:57 EDT 2007


This looks great and I have been wanting to try wxGRASS for some time
now, however on my Gentoo linux system I have actually never been able
to get wxPython to run.
Maybe someone could help me clarify some issues.

1. I don't understand the relation between wxWindows, wxWidgets and
wxPython. The wxWidgets site claims to have GUI libs with python
support. If I install them, I get libs, header files and a config
script called wx-config. That's OK. But why does the wxPython distro
install those same files again? It also comes with a config script
called wx-config and installs headers and include files in the same
location as wxWidgets, even with the same names and same version
numbers. I am confused ...

2. The build and install instructions for wxPythons are a mess.
 From those two documents, I just can't seem to figure out how to
make a global build and install from source. I manage to compile
and install the C API part (btw.: is this the same that comes with
wxWidgets?) alright, but runnning

python setup.py install

just gives me:

wx/setup.h: No such file or directory

and a load of other error messages complaining about missing header
files in wx/.
Even though I did a "make install" and manually copied header files to
system-wide location /usr/incluce/wx/

Anyone got some experience installing wxPython from scratch on a Linux
system?

Thanks,

Benjamin


Michael Barton wrote:
> I just committed the finishing touches to the wxPython GUI intro screen 
> and location wizard.
> 
> The intro screen gives the same functions as the TclTk one (GRASS 
> database, location, and mapset selection) and mapset creation, plus a 
> new location wizard that Jachym and I've done, and options to rename or 
> delete locations and mapsets.
> 
> The location wizard is a nice GUI (with a great graphic from Jachym) 
> that walks you through location creation by any of the following 
> methods: espg code, georeferenced file, datum selection, 
> projection/ellipse selection, custom PROJ4 string entry, or XY location 
> creation. After a location is created, you have the option of 
> setting/resetting the default region extents and resolution.
> 
> This is all done within a wxPython GUI that runs native on all major 
> platforms.
> 
> ----------------
> The new wxPython GUI for GRASS is currently under development and 
> nearing completion. It can be downloaded from
> <https://grasssvn.itc.it/grasssvn/grassaddons/trunk/grassaddons/gui/#_trunk_grassaddons_gui_>
> It requires Python 2.4 or above and wxPython 2.8 or above.
> ----------------
> 
> Give it a spin.
> 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
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev




More information about the grass-dev mailing list