[GRASS-user] Compiling winGRASS with OSGEO4w- #2
Hi Luisa, >Hi, >Back again with this issue. Thanks Helmut and Antonio for your help but so >far I haven't manage to compile GRASS using OSGEO4W. (and it seems that >neither Antonio) >Since Glynn told me that I might have some issues with newer versions I >decided to use older versions of prebuilt and MinGW packages. [...] >Ok So the problem now is: libgrass_rowio.dll. How can I debug this dll and >How can I create it? And what might be happening? >This was a HUGE IMPROVE :) > >Thank you >Luisa I've done a completly new installation of my osgeo4w-installation on my WinVista32-box to get the latest osgeo4w-setup and followed the wiki (http://trac.osgeo.org/grass/wiki/CompileOnWindows#Pre-builtBinaries) for installing all dependencies, prebuilt libraries and utilities etc. I've choosen the way with TortoiseSVN to get a completly new svn-checkout at revision 42566 (see the wiki B) Graphical user interface based: Alternatively, get TortoiseSVN, a plugin for Windows Explorer, which can be used for managing the local source tree.) in C:\OSGeo4W\usr\src\grass64svn. I can't reproduce your error, Grass64 is compiling fine and I'm able to start Grass64 in C:\OSGeo4W\apps\grass\bin (in the osgeo4w-msys-shell) by grass64 -wx. so I would suggest a completely new setup of the compiling-environment following the wiki (http://trac.osgeo.org/grass/wiki/CompileOnWindows). maybe there was any error in the setup of the compiling-environment. HTH Helmut ___ WEB.DE DSL ab 19,99 Euro/Monat. Bis zu 150,- Euro Startguthaben und 50,- Euro Geldprämie inklusive! https://freundschaftswerbung.web.de smime.p7s Description: S/MIME Cryptographic Signature ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Compiling winGRASS with OSGEO4w- #2
Luisa Peña wrote: > About our prevous conversation here goes the compilation of Wingrass with > OSGEO4w following a tip from Martin (not installing GRASS desktop from > OSGEO4W) > > > 1- I identified the extra modles that GRASS-desktop installation requires > and installed only thse (except GRASS_locale and GRASS_gdal). > > 2- Run all thee steps from > http://trac.osgeo.org/grass/wiki/CompileOnWindows#CompilingandInstallinguntil > COMPILING AND INSTALLING GRASS (GRASS6.4.0) step 1. > > 3- Downloaded a Weekly snapshot from here > http://grass.osgeo.org/grass64/source/snapshot/ ( > http://grass.osgeo.org/grass64/source/snapshot/grass-6.4.svn_src_snapshot_2010_06_12.tar.gz > ) > > 4- Unpack gz and then tar to c:\osgeo4\usr\src > > 5- Inside C:\osgeo4w\usr\src\grass-6.4.svn_src_snapshot_2010_06_12 I > runned: > ./mswindows/osgeo4w/package.sh > (currently, no folder named grass is in c:/osgeo4w/apps) > > - in my first (3) attempts I got errors in libraries that I installed in > step 6 of the Wiki. I had to Reinstalled them. > > - log includes my log file from this process (at: > http://pastebin.com/UdhLyv6f) Says: gcc -shared -o /c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/dist.i686-pc-mingw32/lib/libgrass_psdriver.6.4.0svn.dll ... 0 [main] sh 432 open_stackdumpfile: Dumping stack trace to sh.exe.stackdump The linker crashed trying to generate libgrass_psdriver. This will cause build failures for libraster and libdisplay, then for all d.* modules. Unfortunately, I don't have any answer to this. > QUESTION1:How can I add Python support to yes ? ( I will need Wxpython and > use pythonscripts and probably pygdal) You'll need to figure this out yourself. The --with-python option requires python-config, which isn't provided on Windows. It also requires SWIG. But even if you manage to get that to work, I've never managed to successfully link against the wxWidgets libraries with MinGW. However: note that --with-python isn't required for Python scripts, and --with-wxwidgets isn't required for the GUI. -- Glynn Clements ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] Compiling winGRASS with OSGEO4w- #2
About our prevous conversation here goes the compilation of Wingrass with OSGEO4w following a tip from Martin (not installing GRASS desktop from OSGEO4W) 1- I identified the extra modles that GRASS-desktop installation requires and installed only thse (except GRASS_locale and GRASS_gdal). 2- Run all thee steps from http://trac.osgeo.org/grass/wiki/CompileOnWindows#CompilingandInstallinguntil COMPILING AND INSTALLING GRASS (GRASS6.4.0) step 1. 3- Downloaded a Weekly snapshot from here http://grass.osgeo.org/grass64/source/snapshot/ ( http://grass.osgeo.org/grass64/source/snapshot/grass-6.4.svn_src_snapshot_2010_06_12.tar.gz ) 4- Unpack gz and then tar to c:\osgeo4\usr\src 5- Inside C:\osgeo4w\usr\src\grass-6.4.svn_src_snapshot_2010_06_12 I runned: ./mswindows/osgeo4w/package.sh (currently, no folder named grass is in c:/osgeo4w/apps) - in my first (3) attempts I got errors in libraries that I installed in step 6 of the Wiki. I had to Reinstalled them. - log includes my log file from this process (at: http://pastebin.com/UdhLyv6f) - error.log is the error report. I got errors in almost all executable. QUESTION1:How can I add Python support to yes ? ( I will need Wxpython and use pythonscripts and probably pygdal) It created: a grass folder in /apps/ - folder named bin in apps/grass with 2 files: grass64 and grass64.bat - a folder name grass-6.4.0svn with the following fodlerd: bin; bwidget; docs; driver, etc, fonts, include; lib; locale; scripts; tools. and it seems to be running but all the functions in error.log are not available. QUESTION2: What did I did that was wrong? 6- I went to C:\osgeo4w\usr\src\grass-6.4.svn_src_snapshot_2010_06_12\display and runned make -C d.histogram MODULE_TOPDIR= C:\osgeo4w\usr\src\grass-6.4.svn_src_snapshot_2010_06_12 because d.histogram is one of the functions that is not available And I got: make: Entering directory `/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/display/d.histogram' make: *** No rule to make target `/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/dist.i686-pc-mingw32/lib/libgrass_display.dll', needed by `/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/dist.i686-pc-mingw32/bin/d.histogram.exe'. Stop. make: Leaving directory `/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/display/d.histogram' THank you Luisa error.log Description: Binary data ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user