grasslogo    GRASS GIS 4.2.1 - compiling on UNIX-platforms

!!!!This page is not valid for GRASS 5.x! GRASS 5.x comes along with a new "autoconfiguration" tool (configure) to guess the compiler options. From GRASS 5.x onwards compilation is quite easy.


GRASS 4.2.1 instructions:

We have improved the platform independence of GRASS 4.2.1 source code to allow compilation on (nearly) every UNIX-platform (like Linux, SUN Solaris, SGI/Irix, HP UX etc.). We expect that you can compile the full GRASS GIS package without problems.

What to do:
1. Get the GRASS 4.2.1 source code from the source code page. The latest TclTKGRASS graphical user interface is included.

2. The GRASS compiler definitions are stored in one specific file in the directory:
  ../src421/src/CMD/head/
(you will choose a file according to your platform, after getting and extracting the source code)

3. Choose one of the stored files there depending on your platform (we have stored such "head" files for several platforms there) or, if your platform is not supported, create a new file. The easiest way to do this is to change an existing file.

4. Then follow the instructions to compile the package (Linux as well as other platforms).


Here are collected some platform specific information:
AXP: head-file
DEC Alpha/OSF: hints and 64bit patches
DEC Alpha/V4.0 564 alpha: Please get the 64bit patches
HP UX 9x: head-file
HP UX 10x: head-file (corrected 27th May 1999, thanks to Marino Vetuschi Zuccolini, Genova)
Linux (x86): head-file. Or get the precompiled binary package (page above). Special hint on Debian Linux.
MkLinux: head-file (thanks to Christian Kernbach)
Linux/DEC Alpha - Alpha 64bit: Get patches and installation information (thanks to Bill Hughes)
netBSD: head-file (thanks to Brook Milligan)
OpenNT: head-file and some hints (thanks to Roy Sanderson)
SCO 3.x: head-file and instructions
SGI Irix: head-file (GNU make is recommended). Or get the precompiled binary package (page above).
SUN OS 4.x: head-file
SUN Solaris (SPARC) 2.5: head-file (8/98) and some hints.
SUN Solaris (SPARC) 2.6: head-file (8/98) and some hints. Or get the precompiled binary package (page above).
SUN Solaris 7 (x86) : head-file

Go back to GRASS GIS FAQ...
Markus Neteler