The map output module ps.map has to be compiled with a different flag on Linux. How can this be performed?
1. Compile the GRASS package as usual (please follow the instructions).
2. Now ps.map has to be compiled again:
(a) Change the compiling options in src421/src/CMD/head/linux using
a text-editor:
from: COMPILE_FLAGS = -O2 -m486 -DATT_386 to: COMPILE_FLAGS = -O2 -m486 -fwritable-strings -DATT_386(b) Change directory to src421/src.alpha/ps.map
cd /usr/local/grass42/src421/src.alpha/ps.map/
(c) Clean off the ps.map object files:
find . -name 'OBJ*' -exec /bin/rm -rf {} \;
(d) Compile the ps.map tree again:
gmake4.2
(e) Change the compiling options back to old values in
src421/src/CMD/head/linux using a text-editor:
COMPILE_FLAGS = -O2 -m486 -DATT_386That's it. Now ps.map should be usable without problems.
Markus Neteler