Installing Open Foris Geospatial Toolkit

From Open Foris Wiki

Jump to: navigation, search
Line 42: Line 42:
==Windows Cygwin installation==
==Windows Cygwin installation==
-
WARNING: NOTES UNDER REVIEW; AT LEAST UNDER XP THESE NOTES LEAD TO HAVE OFT RUN UNDER AN ADMIN ACCOUNT AND NOT A STANDARD ONE
+
WARNING: ADMINISTRATIVE PRIVILEGES ARE REQUIRED IN ORDER TO PERFORM THE INSTALLATIONS AND EVENTUALLY ALSO TO USE THE APPLICATION.
The [http://www.cygwin.com/ Cygwin] project provides a Linux terminal in Windows.
The [http://www.cygwin.com/ Cygwin] project provides a Linux terminal in Windows.
-
# Download the [http://cygwin.com/setup.exe setup.exe] installer
+
# Download either [http://cygwin.com/setup-x86.exe setup-x86.exe] or [http://cygwin.com/setup-x86_64.exe setup-x86_64.exe]
# Run it as admin (right-click on setup.exe and Run as [admin credentials])
# Run it as admin (right-click on setup.exe and Run as [admin credentials])
# Click Next
# Click Next
Line 53: Line 53:
# Select Direct Connection (unless your connection requirements are different)
# Select Direct Connection (unless your connection requirements are different)
# Choose a download site, basing on site country domain or known availability, or add your own preferite
# Choose a download site, basing on site country domain or known availability, or add your own preferite
-
# If it is a first time installation of CygWin, acknowledge the warning with OK (if you already have CygWin installed, you could skip the installation or check how the installation may affect the existing version)
+
# If it is a first time installation of CygWin, acknowledge the warning with OK or click on 'Skip' to activate them (if you already have CygWin installed, you could skip the installation or check how the installation may affect the existing version)
-
# Ensure to flag the following options during the installation (use the Search field for a faster retrieval of the needed components: type the package name in the field, expand the correct group, search for the package and click on "Skip" to see it changed to the version number)
+
# During the installation, ensure to flag the following options under the Bin column (use the Search field for a faster retrieval of the needed components: type the package name in the field, expand the correct group, search for the package and click on "Skip" to see it changed to the version number)
## under Devel
## under Devel
### ''gcc-g++''
### ''gcc-g++''
### ''make''
### ''make''
-
## under Web
+
## under Net
### ''wget''  
### ''wget''  
## under Libs
## under Libs
### ''gsl''
### ''gsl''
-
### ''gsl-app''
+
### ''gsl-apps''
### ''gsl-devel''
### ''gsl-devel''
### ''gsl-doc''
### ''gsl-doc''
# Click Next
# Click Next
-
# Accept to resolve the related dependencies
+
# Flag "Select required packages" and click Next to resolve the related dependencies
# Click Next
# Click Next
# The installation may take some time
# The installation may take some time
Line 73: Line 73:
To compile the Open Foris Geospatial Toolkit you need to compile GDAL manually.
To compile the Open Foris Geospatial Toolkit you need to compile GDAL manually.
-
# Download the installer from the [http://trac.osgeo.org/gdal/wiki/DownloadSource gdal official repository] (e.g. [http://download.osgeo.org/gdal/gdal-1.8.1.tar.gz gdal-1.8.1.tar.gz])
+
# Download the installer from the [http://trac.osgeo.org/gdal/wiki/DownloadSource gdal official repository] (e.g. [http://download.osgeo.org/gdal/1.10.1/gdal-1.10.1.tar.gz gdal-1.10.1.tar.gz])
-
# Save it in your CygWin home folder (e.g. ''C:\cygwin\home'') or in another destination of your choice
+
# Save it in your CygWin home folder (e.g. ''C:\cygwin\home'' or ''C:\cygwin64\home'') or in another destination of your choice
-
# Run CygWin ('''NOTE: FOR INSTALLATION, RUN CYGWIN AS ADMIN; at least "make install" and "./OpenForisToolkit.run"'''; Right click on Start > (All) Programs > CygWin > CygWin Terminal and Run as [admin credentials])
+
# Run CygWin ('''NOTE: FOR INSTALLATION, RUN CYGWIN AS ADMIN; Right click on Start > (All) Programs > CygWin > CygWin Terminal and Run as [admin credentials])
-
# Install GDAL using the following commands
+
# Install GDAL using the following commands (the last two can take some time to complete)
<pre>
<pre>
-
cd [folder containing gdal-1.8.1.tar.gz] (e.g. cd C:/cygwin/home, mind the simple slash)
+
cd [folder containing gdal-1.10.1.tar.gz] (e.g. cd C:/cygwin/home, mind the simple slash)
-
tar -xvzf gdal-1.8.1.tar.gz
+
tar -xvzf gdal-1.10.1.tar.gz
-
cd gdal-1.8.1
+
cd gdal-1.10.1
./configure
./configure
make
make
Line 86: Line 86:
</pre>
</pre>
-
At this point you can install OpenForis. Still in CygWin, run the following commands:
+
Now you can install OpenForis. Still in CygWin, run the following commands:
<pre>
<pre>
wget http://foris.fao.org/static/geospatialtoolkit/releases/OpenForisToolkit.run
wget http://foris.fao.org/static/geospatialtoolkit/releases/OpenForisToolkit.run

Revision as of 12:27, 8 October 2013

Personal tools