[GRASS-user] howto Install grass 6.2 on Fedora 6

Gerald Nelson gnelson at uiuc.edu
Wed Nov 8 11:01:05 EST 2006


I've been working on such a document for my own use. I'm installing 6.3 from
cvs on a system that uses Centos, which is based on redhat. What follows are
my working notes about what I needed. I can't guarantee anything but it
might help some. 

Regards, Jerry Nelson

Get source

    * Follow directions on how to get the cvs version
    * Put it into /usr/local (probably). Whereever you put it there is an
INSTALL file that has directions and a requirements.html file that has a
list of needed files and links to where to get them
    * Get some of the needed packages that don't come with CentOS. These
include flex, bison, possibly a missing ncurses header file (make ncurses),
proj4 and gdal. It may be easier just to compile and install from the
source. 

Compile from source

Directions are at http://www.linuxinstallfromscratch.org [doesn't seem to
work now]. Note that both gdal and proj must be done before grass. Here is a
note on options for gdal from http://home.gdal.org/projects/grass/ When
building GDAL for use with GRASS the following options are suggested by
someone. They minimize dependencies on external shared libraries, and avoid
some stuff of no use to GDAL.

./configure --with-grass=no --with-png=internal --with-jpeg=internal 
            --with-gif=internal --with-libtiff=internal 
            --with-geotiff=internal --with-libz=internal --with-ogr
            --without-pg --without-ogdi
--with-gdal=/usr/local/bin/gdal-config

    * to set up a new program from source, ./configure, then make, then su
and make install
    * to untar a tarball (xxx.tar.gz) use the command tar -xvzf xxx.tar.gz
    * order of making -
          o bison,
          o flex,
          o readline,
          o readline-devel -
http://dir.filewatcher.com/d/Fedora/i386/Development/Libraries/readline-deve
l-4.3-13.i386.rpm.125541.html 

    *
          o ncurses,
          o proj4,
          o gdal,
          o postgresql,
          o tiff,
          o jpeg,
          o fftw,
          o R,
          o grass,
          o gdal-grass 

    * grass configure options 

./configure --with-postgres-includes=/usr/local/pgsql/include/
--with-postgres-libs=/usr/local/pgsql/lib/

-----Original Message-----
From: grassuser-bounces at grass.itc.it [mailto:grassuser-bounces at grass.itc.it]
On Behalf Of Travis Kirstine
Sent: Wednesday, November 08, 2006 8:59 AM
To: grassuser
Subject: [GRASS-user] howto Install grass 6.2 on Fedora 6

I've just converted from windows xp to fedora 6.2 and have in the past
been using the grass/cygwin combo from geni.ath.cx or the new mingw
version.  I would like to now install grass 6.2 on my machine running
fedora 6.  I tried just downloading and running the various .rpm files
from the grass download page but receive missing required file error
(dependencies) message when attempting to install.  Can anyone point
me to where I could find a listing of all files required for grass to
run and a fairly detailed explanation on steps needed to install since
I have very little experience with fedora/linux


Any help would be greatly appreciated
-- 
Travis K.

Toronto, Canada
------------------------------------------------------------
"She knows there's no success like failure
And that failure's no success at all."
-Bob Dylan-
------------------------------------------------------------

_______________________________________________
grassuser mailing list
grassuser at grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser




More information about the grass-user mailing list