[GRASSLIST:4997] Re: adding mile markers to curvy roads

Hamish hamish_nospam at yahoo.com
Mon Nov 29 20:30:28 EST 2004


> A grass upgrade can't be as simple as just a 6MB download, else the
> pros would have long ago put it in Debian.


Debian has strict packagaging requirements which go well beyond just
getting it to compile on a PC. These issues are why 5.7 is not yet an
official package. An unofficial 5.7 package by Steve Halasz is here:

deb http://bullhorn.org/debian unstable main
deb-src http://bullhorn.org/debian unstable main



otherwise install the following debian packages and ./configure and
compile for yourself:

(list may not be exact)
gcc              # for compile
libc6-dev        # for basics
flex             # for lex
bison            # for yacc
libncurses5-dev  # for curses
zlib1g-dev       # zlib
libreadline4-dev # readline
libjpeg62-dev  or  libjpeg-mmx-dev  # for JPEG support
libtiff3g-dev    # for TIFF support
libpng12-dev     # for PNG support
tcl8.3-dev       # for TCL
tk8.3-dev        # for TK
postgresql       # for Postgresql support ???
postgresql-dev   # for Postgresql support ???
xlibmesa-gl-dev  # for OpenGL
libstdc++5-3.3-dev # for glu-dev
xlibmesa-glu-dev # for OpenGL
unixodbc-dev     # for ODBC
fftw-dev         # for FFT functions
lesstif2-dev     # for Motif
libfreetype6-dev # for Freetype Fonts (broken)
make             # won't get far without this..
g++              # for r.terraflow
gdal-bin         # for GDAL (doesn't include libraries or gdal-config)
libgdal1-dev     # for GDAL
proj             # for PROJ.4


then:
CFLAGS="-g -Wall" ./configure \
    --with-tcltk-includes=/usr/include/tcl8.3 \
    --with-postgres-includes=/usr/include/postgresql \
    --with-motif --with-motif-includes=/usr/X11R6/include \
    --with-readline --with-gdal --with-cxx --with-glw \
    --with-freetype --with-freetype-includes=/usr/include/freetype2 \
    2>&1 | tee config_log.txt


make

To run GRASS 5.7, simply start
./bin.$ARCH/grass57

or 'make install'



It is pretty straight forward.


Hamish




More information about the grass-user mailing list