Some hints for GRASS 5.0.0 compilation problems
Q. src/libes/edit/ does not compile:
A. Be sure to have libncurses5 and libncurses5-devel installed.
There is a known problem with certain versions of gcc, particularly
the one which is supplied with Mandrake 8.x, which results in the file
src/libes/edit/edit_cellhd.c failing to compile.
As a consequence further modules will not compile.
The problem has been fixed in CVS (8/2002).
Q. Short version: how come my grass 5.0.1-cvs compile on solaris can't
find the socket functions ?
For example, the first failure is in the CELL driver, and this is what
gcc -L/dat0/smitch/grass5src/src/libes/LIB.sparc-sun-solaris2.8 -o
OBJ.sparc-sun-solaris2.8/Reset_clr.o -ldriver -lgis -lm -lnsl -lz
Undefined first referenced
symbol in file
A. You need to find out which library contains "socket" etc and add it to
LDFLAGS=-lsocket ./configure ...
Get this file.
$Date: 2002-12-21 11:53:09 +0000 (Sat, 21 Dec 2002) $