[GRASSweb-list]scott: web/grass54/source compilation_hints.html,NONE,1.1

grass at intevation.de grass at intevation.de
Thu May 19 22:46:13 EDT 2005


Author: scott

Update of /grassrepository/web/grass54/source
In directory doto:/tmp/cvs-serv24875

Added Files:
	compilation_hints.html 
Log Message:
adding compilation hints, so far just copied from grass 5.0, needs updating!

--- NEW FILE: compilation_hints.html ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML> <BODY BGCOLOR=#FFFFFF>
<h2>Some hints for GRASS 5.4.0 compilation problems</h2>
This has been simply copied over from 5.0.0 - any new items?
<pre>
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 ...
   
</pre>

Get this <a href=compilation_hints.html>file.</a>
<DIV ALIGN=right><i>
$Date: 2005/05/20 02:46:11 $
</i></DIV>
</HTML>





More information about the grass-web mailing list