[GRASSLIST:253] Re: [GRASS5] GRASS on RedHat9

H Bowman hamish_nospam at yahoo.com
Thu May 29 22:45:28 EDT 2003


> Has anybody installed GRASS on RedHat9? If yes, were there any problems
> that we need to take care of if we want to do it?


Stuff to compile grass on RH9:

download, compile, install:
fftw-2.1.5  (not v3.0)
http://www.fftw.org/

edit /etc/ld.so.conf and put /usr/local/lib as the last line in the file.
then run:
/sbin/ldconfig



For Pentium4:
 (replace with -march=athlon etc. as needed)

CFLAGS="-O3 -march=pentium4 -Wall" LDFLAGS="-s" ./configure \
        --with-postgres-includes=/usr/include/pgsql/server \
        --with-motif \
        --with-motif-includes=/usr/X11R6/LessTif/Motif1.2/include/ \
        --with-motif-libs=/usr/X11R6/LessTif/Motif1.2/lib/ \
        --with-blas \
        --with-lapack \
        --with-glw \
        --with-dbm \
        --with-dbm-includes=/usr/include/gdbm \
        --with-freetype \
        --with-freetype-includes=/usr/include/freetype2
#        --with-readline \
make
make install


need cludge to get readline working. Run config without, then do
http://article.gmane.org/gmane.comp.gis.grass.user/1000


RH 9.0 reqs:
use "rpm -q PACKAGE" to test, then "rpm -Uvh PACKAGE-1.2.3-4.i386.rpm"
 to install..
postgresql 
postgresql-odbc 
postgresql-server 
postgresql-devel
unixODBC 
unixODBC-devel
lesstif 
lesstif-devel
blas
lapack
readline
libjpeg
libjpeg-devel
libtiff 
libtiff-devel 
libpng 
libpng-devel 
#gd     get v2.0 from rawhide.redhat.com
#gd-devel 
tk 
XFree86-Mesa-libGL2 
XFree86-Mesa-libGLU
XFree86-devel2 
gdbm-devel 
postfix 
freetype-devel 




More information about the grass-user mailing list