Some hints for GRASS 5.4.0 compilation problems

This has been simply copied over from 5.0.0 - any new items?
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  
   happens:
   gcc -L/dat0/smitch/grass5src/src/libes/LIB.sparc-sun-solaris2.8  -o  
   /dat0/smitch/grass5src/dist.sparc-sun-solaris2.8/driver/CELL  
   OBJ.sparc-sun-solaris2.8/bresline.o OBJ.sparc-sun-solaris2.8/file_io.o  
   OBJ.sparc-sun-solaris2.8/polyfill.o OBJ.sparc-sun-solaris2.8/Can_do.o  
   OBJ.sparc-sun-solaris2.8/Color.o OBJ.sparc-sun-solaris2.8/Draw_line.o  
   OBJ.sparc-sun-solaris2.8/Get_w_box.o  
   OBJ.sparc-sun-solaris2.8/Get_w_line.o  
   OBJ.sparc-sun-solaris2.8/Get_w_pnt.o  
   OBJ.sparc-sun-solaris2.8/Graph_Clse.o  
   OBJ.sparc-sun-solaris2.8/Graph_Set.o OBJ.sparc-sun-solaris2.8/Panel.o  
   OBJ.sparc-sun-solaris2.8/Polygn_abs.o  
   OBJ.sparc-sun-solaris2.8/Reset_clr.o -ldriver -lgis  -lm  -lnsl    -lz
   Undefined                       first referenced
    symbol                             in file
   socket                               
   /dat0/smitch/grass5src/src/libes/LIB.sparc-sun-solaris2.8/ 
   libgis.a(unix_socks.o)

A. You need to find out which library contains "socket" etc and add it to
   LDFLAGS, e.g.

	LDFLAGS=-lsocket ./configure ...
   
Get this file.
$Date: 2005-05-20 02:46:11 +0000 (Fri, 20 May 2005) $