[GRASS-dev] WinGRASS-6.3.0RC5 Self Installer

marco.pasetti at alice.it marco.pasetti at alice.it
Mon Mar 10 13:30:08 EDT 2008


Hi all,
 
I just finished to prepare and test the installer of WinGRASS-6.3.0RC5; I guessed to finished it two or three days ago, but I had some unexpected problems to fix;
BTW, I have some other thinhs to explain, so, let's come with order
 
1) I updated the Building Guide with instructions on how to create a self contained package; see http://trac.osgeo.org/grass/wiki/BuildingOnWindows
 
2) I made a document that explain the content and usage of pre-released http://grass.fsv.cvut.cz/wiki/data/MSYS_Environment_080303.zip <http://grass.fsv.cvut.cz/wiki/data/MSYS_Environment_080303.zip> 
I uploaded it to http://www.webalice.it/marco.pasetti/grass/MSYS_Environment_080303_README.txt
 
3) WinGRASS Installer:
 
I temporarily uploaded it to http://www.laser4000.it/temp/WinGRASS-6.3.0RC5-Setup.exe
Please, someone could upload it to a GRASS server space? thanks
 
Now let's come to the installer:
 
3.1) Unfortunately, I didn't complete all the things I planned to do, that is it still doesn't support installation paths containing blanks; if you select a path with blanks, the installer detects it and abort install. Actually, I preferred to not completely abort install process, but simply ask to re-entry the install path, but the installer script language (NSIS) doesn't support this feature; so, when you select a path with blanks and press "proceed" button, it display a warning message asking to "not select paths with blanks" and the aborts installation. It a minor problem, but I would feel better if I solved it....
 
3.2) Installation procedure dinamically creates three different files, in order to reflect installation path selected by user:
 
- grass63, to let start GRASS from MSYS console)
- .grassrc6, to avoid usual error message at first GRASS launch
- grass63.bat
 
3.3) Installer creates a complete "standard" windows installation, with registry key entries, shortcuts (desktop and menu) and automated uninstall procedure. If you also access "add/remove programs" menu, you can see GRASS install informations item. About shortcuts, installer automaticallt creates:
 
- Start menu GRASS folder with link to grass63.bat and msys.bat
- Desktop link to grass63.bat
 
3.4) During install procedure you can also select to download and install Spearfish sample database. By the way, standard procedure sets the prebuilt "demolocation" as standard location.
 
3.5) Final notes: I tested it, also in the uninstall procedure, and it works fine for me (NVIZ included, with Tcl-Tk 8.5.1 support).
I also added a README.txt file, please read it and tell me if I made errors. I post its content (that also describes the content on this GRASS release)
 
GRASS 6.3.0RC5 - Technology preview release candidate 5
--------------------------------------------------------------------------------------

INTRODUCTION:
------------------------
GRASS (Geographic Resources Analysis Support System) is a free, open source Geographical information system (GIS) capable of handling raster, topological vector, image processing, and graphic data.
GRASS is released under the GNU General Public License (GPL). The GRASS Development Team is a multi-national group consisting of developers at numerous locations. GRASS is one of the eight initial Software Projects of the Open Source Geospatial Foundation.
GRASS GIS main web site: http://grass.osgeo.org/ <http://grass.osgeo.org/> 

WinGRASS:
-----------------
WinGRASS is a GRASS Development Team Project, concerning Windows Native Binary porting of latest technology previews of GRASS 6.3.0.
The current release, based on GRASS 6.3.0RC5 (Technology preview release candidate 5), has been built on a i686 machine under MinGW environment.
WinGRASS contains parts of the following open source softwares and libraries:
 
Software/library (release):
 
- MSYS (1.0.11)
- Flex (2.5.4a-1)
- Bison (2.1)
- Zlib (1.2.3)
- Libpng (1.2.24)
- Libtiff (3.8.2)
- Xdr (4.0)
- Freetype (2.3.5)
- FFTW (3.1.2)
- PDCurses (3.3)
- PROJ.4 (4.6.0)
- GEOS (2.2.3)
- PostgreSQL (8.2.6)
- SQLite (3.5.6)
- GDAL (1.5.0) *
- Tcl/Tk (8.5.1)
 
*with GEOS, PostgreSQL and SQlite support enabled
 
All the previous softwares and libraries have been built from sources on a i686 machine under MinGW environment, with the exception of MSYS, provided by MinGW Project on SourceForge.NET (http://www.mingw.org/msys.shtml <http://www.mingw.org/msys.shtml> ), and Flex and Bison, provided by GnuWin32 Project on SourceForge.NET (http://gnuwin32.sourceforge.net/ <http://gnuwin32.sourceforge.net/> ).
 
The current release of GRASS 6.3.0RC5 has been built with the following configuration:
 
GRASS is now configured for: i686-pc-mingw32
Source directory:                    /usr/local/src/grass-6.3.0RC5
Build directory:                       /usr/local/src/grass-6.3.0RC5
Installation directory:              ${prefix}/grass-6.3.0RC5
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
NVIZ:                                    yes
BLAS support:                       no
C++ support:                         yes
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
MacOSX application:             no
 
All builds are provided by Marco Pasetti.
Information on how to build GRASS from source code on Windows under MinGW environment are available at http://trac.osgeo.org/grass/wiki/BuildingOnWindows <http://trac.osgeo.org/grass/wiki/BuildingOnWindows> 

WinGRASS Installer:
------------------------------
WinGRASS Installer has been made using the OpenSource NSIS (Nullsoft Scriptable Install System) software - http://nsis.sourceforge.net <http://nsis.sourceforge.net> 
NSIS script provided by Marco Pasetti
 
Thats all. I hope you like it ;-)
 
Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20080310/c530c0c2/attachment.html


More information about the grass-dev mailing list