Thanks for sending us your details.

GRDSS INSTALLATION GUIDELINES:

GRASS DOWNLOAD:

  1. Go to Indian GRASS mirror site:    http://wgbis.ces.iisc.ernet.in/grass/
  2. On the left hand side of the page you can see the light green column containing About GRASS, Downloads...etc..
  3. Click on Downloads. You can see “Softwares Download Section”
  4. On the new page chose the first option: GRASS 6.0.1 (advanced vectors).This is the latest version of GRASS release.
  5. You have three options there: Binaries, Source code, Manuals .
  6. In the new page "http://wgbis.ces.iisc.ernet.in/grass/download/index.php", click on "grass-6.0.1.tar.gz" for installation on Linux machines.
  7. Download the software and save it in some directory.
  8. Some other softwares which you need to start GRASS are: postgreSQL-7.4, unixodbc-2.2.7 and fftw-3.0.1 or other versions which are available. These are available at: http://wgbis.ces.iisc.ernet.in/grass/grass60/source/REQUIREMENTS.html

Similarly download, postgreSQL, unixodbc, fftw. The new versions for these are continuously released. You can go for the latest one.

POSTGRESQL INSTALLATION:

Everywhere username” is the name with which you loggin into the system.    

Step 1: cd to postgresql untar directory
Step 2: ./configure --prefix=/home/username/psql
--bindir=/home/username/bin
Step 3: make
Step 4: make install
Step 5: make clean

Note:- if you want to install postgreSQL in a predefined desired directory then use --prefix and --bindir else it will be installed in the default directory. In this case, don't use --prefix and --bindir. This holds true with all the software installation.

UNIXODBC INSTALLATION:

Step 1: cd <unixodbc untar directory>
Step 2: ./configure --prefix=/home/username/unixodbc    --bindir= /home/username/bin
Step 3: make
Step 4: make install
Step 5: make clean
Step 6: Create a tempelate file called temp1 suitable to your configuration. Care has to taken that blank spaces are not left at          the beginning.

[PostgreSQL]

Description = ODBC for PostgreSQL
Driver        = /usr/lib/libodbcpsql.so
Setup         = /usr/lib/libodbcpsqlS.so
FileUsage   = 1

then execute --->   odbcinst -i -d -f temp1

Similarly create a tempelate file called temp2 suitable to your configuration.

[PostgreSQL]

Description    = Test to Postgres
Driver           = /home/username/unixodbc/lib/libodbcpsql.so
Trace            = Yes
TraceFile       = sql.log
Database       = test
Servername   = localhost
UserName    =
Password      =
Port              = 5432
Protocol        = 7.2
ReadOnly      = No
RowVersioning = No
ShowSystemTables = No
ShowOidColumn   = No
FakeOidIndex       = No
ConnSettings         =

then execute ---- odbcinst -i -s -f temp2

[Note:-7.2 in the above file is your postgresql version this can be determined by psql -V]  

For further information
http://wgbis.ces.iisc.ernet.in/grass/grassgui/www.unixodbc.org/odbcinst.html
http://grass.itc.it/sqlgrass/odbc_grass_install.html

NOTE: There is a driver shipped from PostgreSQL distribution called libpsqlodbc.so (rather than libodbcpsql.so coming with unixodbc). It seems that postgresql-odbc package is not working and only usr/lib/libodbcpsql.so from unixODBC is working properly. (See psqlODBC home page: http://odbc.postgresql.org/psqlodbc.php?DocID=faq-general)

FFTW INSTALLATION:    

Step 1: cd to fftw untar directory
Step 2: ./configure --prefix=/home/username/fftw
--bindir=/home/username/bin
Step 3: make
Step 4: make install

Note: If you want to install fftw in a predefined desired directory then use --prefix and --bindir or else it will be installed in the default directory.

GRASS INSTALLATION:

Step1: ./configure --prefix=/home/username   --bindir=/home/username/bin
--with-postgres-includes=/home/username/psql/include/postgresql/server
--with-postgres-libs=/home/username/psql/lib
--with-odbc-includes=/home/username/unixodbc/include
--with-odbc-libs=/home/username/unixodbc/lib
--with-fftw-includes=/home/username/fftw/include
--with-fftw-libs=/home/username/fftw/lib

At the end of it you will get similar to this .......    

GRASS is now configured for i686-pc-linux-gnu  

Source directory:         /home/username/grass5.0.0pre5
Build directory:            /home/username/grass5.0.0pre5
Installation directory:    /home/username/grass5
C compiler:                 gcc -g -O2
FORTRAN compiler: g77
NVIZ:                        yes
X11 support:              yes
DBM support:            no
JPEG support:            yes
TIFF support:             yes
PNG support:             yes
GD support:               yes
Tcl/Tk support:           yes
PostgreSQL support: yes
OpenGL(R) support: yes
ODBC support:         yes
FFTW support:          yes
BLAS support:          no
LAPACK support:    no
Motif support:           no
FreeType support:    no
GLw support:           no
NLS support:           no
Readline support:      no

Step 2    :   make
Step 3     :   make install

NOTE : 1. Do not perform make clean if you are planning to install new modules

GRASS is ready for use now. Open a terminal and type:

$ grass5
$ grass5 –text (if you want to start in text mode)
$ grass5 –tcltk (if you want to start in GUI (tcltk) mode)

Set up a Location and a Mapset and start exploring the GRASS. For more information on Location and Mapset see the GRASS website.

GRDSS INSTALLATION :

GRDSS (Geographic Resources Decision Support System) is developed based on GRASS (Geographic Resources Analysis Support System) to help those users lacking programming skills. Some new modules have been added and a complete new GUI (Graphical User Interface) has been developed to suit a common and novice user's requirements.

To INSTALL:

If you are working in GRASS just quit and

1. Copy the content of the "add_to_tcltkgrass" to $GISBASE/tcltkgrass directory.
2. Copy the content of the "add_to_scripts" to $GISBASE/scripts directory.
3. Copy the contents of the "add_to_raster" to $GISBASE/raster directory.
4. Then build the new modules using

5. Run GRASS and tcltkgrass again.

NOTE: - You may require the necessary file permissions while making changes.

Few Tips before starting installation:

•  For downloading other softwares "fftw, postgreSQL..." go to  http://wgbis.ces.iisc.ernet.in/grass/grass60/source/REQUIREMENTS.html

•  Also read the read me and installatin guide provided in each software.

•  Just check if 'C' compiler and Tcl/Tk is installed in you machine.

•  You can also become a member of the GRASS mailing list. Go to http://wgbis.ces.iisc.ernet.in/grass/community/support.php

•  Read "Subscription to International GRASS Users Mailing list" in the above web page.

•  Also for quick solution to any problem type you problem in the space provided at the top left corner of the webpage: http://wgbis.ces.iisc.ernet.in/grass/index.php in "Search".

Start downloading by clicking this link. GRDSS (Geographical Resource Decision Support System)

Best wishes,
CES,
GRASS Team,
IISc, Bangalore.

Any suggestions for improvement are welcome.

Energy and Wetlands Research Group,
Centre for Ecological Sciences,
Indian Institute of Science,
Bangalore - 560012. Karnataka State, India.
GRASS Mirror site: http://wgbis.ces.iisc.ernet.in/grass, http://144.16.93.203/grass
Email: grass@ces.iisc.ernet.in, energy@ces.iisc.ernet.in

Email GRASS Sahyadri ENVIS Energy CES IISc Email