[GRASS-user] WinGRASS-6.3.0RC5 Self Installer + wxPython-Gui
Helmut Kudrnovsky
hellik at web.de
Mon Mar 17 20:02:12 EDT 2008
hi,
i followed martin's advice and build a msys-environment with all dependencies for grass-compiling on my german windows-xp-machine in the last days.
today in the afternoon i did a svn-trunk checkout. following marco's new windows-building guide everything compiled without an error. so i wanted to start the spearfish-sample-data. both, tcltk- and wxpython-gui started the location-wizard, i was able in both gui to choose the location, but then the tcltk-gui crashed with a sigabrt-error (Error setting region: child killed: SIGABRT) , the wxpython-gui crashed after choosing the location with a g.region-problem (Execution failed: g.region.exe -u -g -p -c)
--------
Traceback (most recent call last):
File "C:/msys/1.0/local/grass-6.3.svn/etc/wxpython/wxgui.py", line 1361, in <m odule>
sys.exit(main())
File "C:/msys/1.0/local/grass-6.3.svn/etc/wxpython/wxgui.py", line 1354, in ma in
app = GMApp(workspaceFile)
File "C:/msys/1.0/local/grass-6.3.svn/etc/wxpython/wxgui.py", line 1276, in __ init__
wx.App.__init__(self, False)
File "C:\Programme\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 7836, in __init__
self._BootstrapApp()
File "C:\Programme\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 7433, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "C:/msys/1.0/local/grass-6.3.svn/etc/wxpython/wxgui.py", line 1292, in On Init
workspace = self.workspaceFile)
File "C:/msys/1.0/local/grass-6.3.svn/etc/wxpython/wxgui.py", line 158, in __i nit__
self.NewDisplay(show=False)
File "C:/msys/1.0/local/grass-6.3.svn/etc/wxpython/wxgui.py", line 1028, in Ne wDisplay
auimgr=self._auimgr, showMapDisplay=show)
File "C:\msys\1.0\local\grass-6.3.svn\etc\wxpython\gui_modules\wxgui_utils.py" , line 76, in __init__
self.Map = render.Map() # instance of render.Map to be associated with di splay
File "C:\msys\1.0\local\grass-6.3.svn\etc\wxpython\gui_modules\render.py", lin e 205, in __init__
self.InitRegion()
File "C:\msys\1.0\local\grass-6.3.svn\etc\wxpython\gui_modules\render.py", lin e 239, in InitRegion
self.SetRegion()
File "C:\msys\1.0\local\grass-6.3.svn\etc\wxpython\gui_modules\render.py", lin e 457, in SetRegion
self.region = self.__adjustRegion()
File "C:\msys\1.0\local\grass-6.3.svn\etc\wxpython\gui_modules\render.py", lin e 291, in __adjustRegion
mapwidth = abs(self.region["e"] - self.region["w"])
KeyError: 'e'
-------
so i decided to do a new trunk-svn-checkout just an hour ago to compile grass again. configuration-process was without an error-message.
--------------------------------------------------------------------------------
GRASS is now configured for: i686-pc-mingw32
Source directory: /local/src/grasssvntrunk
Build directory: /local/src/grasssvntrunk
Installation directory: ${prefix}/grass-6.3.svn
Startup script in directory: ${exec_prefix}/bin
C compiler: gcc -g -O2
C++ compiler: c++ -g -O2
Building shared libraries: yes
64bit support: no
OpenGL platform: Windows
MacOSX application: no
NVIZ: yes
BLAS support: no
C++ support: yes
Cairo support: no
DWG support: no
FFMPEG support: no
FFTW support: yes
FreeType support: yes
GDAL support: yes
GLw support: no
JPEG support: no
LAPACK support: no
Large File support (LFS): yes
Motif support: no
MySQL support: no
NLS support: no
ODBC support: no
OGR support: yes
OpenGL support: yes
PNG support: yes
PostgreSQL support: yes
Python support: no
Readline support: no
SQLite support: yes
Tcl/Tk support: yes
wxWidgets support: no
TIFF support: yes
X11 support: no
--------------------------------------------------------------------------------
but during the make-process a lot of error-messages-pop-ups, especially for the vector
modules come up .
english-translation from a german error-message:
"v.segment.exe could not be found - the application could not be started, because libpq.dll was not found."
but the output from the make-process seems to be ok:
"----------------------------------------------------------------------
Following modules are missing the 'description.html' file in src code:
----------------------------------------------------------------------
GRASS GIS compilation log
-------------------------
Started compilation: Mon Mar 17 22:33:14 GMT 2008
--
Errors in:
/local/src/grasssvntrunk/imagery/i.class
/local/src/grasssvntrunk/imagery/i.ortho.photo/photo.2image
/local/src/grasssvntrunk/imagery/i.ortho.photo/photo.2target
/local/src/grasssvntrunk/imagery/i.ortho.photo/photo.rectify
/local/src/grasssvntrunk/imagery/i.points
/local/src/grasssvntrunk/imagery/i.vpoints
/local/src/grasssvntrunk/raster/r.li/r.li.daemon
/local/src/grasssvntrunk/raster/r.li/r.li.edgedensity
/local/src/grasssvntrunk/raster/r.li/r.li.patchdensity
/local/src/grasssvntrunk/raster/r.li/r.li.patchnum
/local/src/grasssvntrunk/raster/r.li/r.li.shape
/local/src/grasssvntrunk/raster/r.li/r.li.simpson
/local/src/grasssvntrunk/raster/r.li/r.li.shannon
/local/src/grasssvntrunk/raster/r.li/r.li.mps
/local/src/grasssvntrunk/raster/r.li/r.li.mpa
/local/src/grasssvntrunk/raster/r.li/r.li.padcv
/local/src/grasssvntrunk/raster/r.li/r.li.padsd
/local/src/grasssvntrunk/raster/r.li/r.li.padrange
/local/src/grasssvntrunk/raster/r.li/r.li.cwed
/local/src/grasssvntrunk/raster/r.li/r.li.richness
/local/src/grasssvntrunk/raster/r.li/r.li.dominance
--
In case of errors please change into the directory with error and run 'make'.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.
--
Finished compilation: Mon Mar 17 23:38:15 GMT 2008
make: *** [default] Error 1
"
my installation of postgres-sql is in C:\msys\1.0\local\pgsql\, and in C:\msys\1.0\local\pgsql\lib there is libpq.dll.
i used the following configuration for postgres:
--with-postgres --with-postgres-includes=/usr/local/pgsql/include --with-postgres-libs=/usr/local/pgsql/lib
maybe some ideas what i'm doing wrong?
but good to know with the experience from the afternoon, the wxpython-gui is starting :o)
best regards
helli
my system:
german win-xp-machine
MSYS (1.0.11)
Tcl/Tk 8.5.1
wxPython 2.8.7.1
python 2.5
Python Extensions for Windows
GDAL (1.5.0)
SQLite (3.5.6)
PostgreSQL (8.2.6)
GEOS (2.2.3)
PROJ.4 (4.6.0)
PDCurses (3.3)
FFTW (3.1.2)
Freetype (2.3.5)
Xdr (4.0)
Libtiff (3.8.2)
Zlib (1.2.3)
Bison (2.1)
Flex (2.5.4a-1)
MinGW (5.1.3)
Libpng (1.2.24)
>Hi Helmut,
>
>I have fixed wxPython GUI code to work also under MS Windows (only
>basic functionality without digitizer). For RC6 or final 6.3.0 wxGUI
>should be functional also under MS Windows. For now you can try to
>compile GRASS from trunk or releasebranch_6_3 on MS Windows on your
>own.
>
>see
>
>http://grass.gdf-hannover.de/wiki/WxPython-based_GUI_for_GRASS#MS_Windows
>
>Martin
>
2008/3/15, Helmut Kudrnovsky <hellik at web.de>:
> hi,
>
> a short update.
>
> i tried also to start grass with the wxpython-gui within the msys-environment, and there is the following out-message:
>
> "helli at LUPO /home/Dokumente und Einstellungen/helli
> $ grass63 -wxpython
>
> WELCOME TO GRASS Version 6.3.0RC5 2008
>
> 1) Have at your side all available GRASS tutorials
>
> 2) When working on your location, the following materials
> are extremely useful:
> - A topo map of your area
> - Current catalog of available computer maps
>
> 3) Check the GRASS webpages for feedback mailinglists and more:
> http://www.grass-gis.org
> http://grass.osgeo.org
>
> Hit RETURN to continue
>
> Starting GRASS ...
> /C/GRASS/etc/Init.sh: python: command not found
> ERROR: Invalid return code from gis_set.tcl.
> Please advise GRASS developers of this error.
> WARNING: Attention!
> WARNING: Locking is not supported on Windows!
> GRASS GUI should be wxpython
> /C/GRASS/etc/wxpython/scripts/wxgui: python: command not found
> __________ ___ __________ _______________
> / ____/ __ \/ | / ___/ ___/ / ____/ _/ ___/
> / / __/ /_/ / /| | \__ \\_ \ / / __ / / \__ \
> / /_/ / _, _/ ___ |___/ /__/ / / /_/ // / ___/ /
> \____/_/ |_/_/ |_/____/____/ \____/___//____/
>
> Welcome to GRASS 6.3.0RC5 (2008)
> GRASS homepage: http://grass.osgeo.org/
> This version running thru: Bourne Shell (/bin/sh)
> Help is available with the command: g.manual -i
> See the licence terms with: g.version -c
> If required, restart the GUI with: g.gui wxpython
> When ready to quit enter: exit
>
> GRASS 6.3.0RC5 (<UNKNOWN>):C:/GRASS/msys/home/Dokumente und Einstellungen/helli >"
>
> maybe this helps to sort out the problem
>
> best regards
> helli
> _____________________________________________________________________
> Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
>--
>Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066
More information about the grass-user
mailing list