Grass compilation problem

Fernando Rodriguez < Operador > ferodrig at venus.javeriana.edu.co
Fri Sep 3 09:47:43 EDT 1999


We already download the source code of GRASS 4.2 and we are trying 
to compile it in a Sun Sparc Station 20 with Solaris 5.5.1. but we are 
having some troubles with it.

First, we followed all the steps included in the utils/setup file but 
when we tried to modify the files incluided in the lists/ directory, we 
did not find the local.example file which can show us the diferent 
driver names(like the display drivers needed) to compile it locally.   

For that, if its possible, we would like you to send us this file 
(local.example) or the 
list of the drivers needed to complete the compilation on  this machine.

Second, When we run the GISGEN file which was created by the setup, we 
always find this error: 

#################################################################
/usr/local/grass/src42/src/libes/gis
  make -f OBJ.sun4/make.rules 

rm -f OBJ.sun4/intr_char.o
gcc -O -DGETHOSTNAME_OK -I/usr/local/grass/src42/src/include  -c intr_char.c
intr_char.c: In function `G_intr_char':
intr_char.c:17: storage size of `buf' isn't known
intr_char.c:19: `TIOCGETC' undeclared (first use this function)
intr_char.c:19: (Each undeclared identifier is reported only once
intr_char.c:19: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `OBJ.sun4/intr_char.o'
GISGEN failure at STEP: src/libes/gis

**************

and we do not know what kind of error it is or where the problem is.


We skip this error and continue the compilation, we found the following 
error: 

#################################################################
/usr/local/grass/src42/src/front.end
  make -f OBJ.sun4/make.rules 

gcc -s -o /usr/local/grass/src42/sun4/etc/front.end OBJ.sun4/main.o 
/usr/local/grass/src42/src/libes/LIB.sun4/libgis.a
gcc: /usr/local/grass/src42/src/libes/LIB.sun4/libgis.a: No such file or 
directory
*** Error code 1
make: Fatal error: Command failed for target 
`/usr/local/grass/src42/sun4/etc/front.end'
GISGEN failure at STEP: src/front.end
***********************



If you can bring us your help to solve those problems or give us some 
information of someone who would, we will appreciate it so much; 

We hope to have some news from you soon,

Sincerely,


FERNANDO RODRIGUEZ MARTINEZ       
ferodrig at ieee.org
f.rodriguez at computer.org             
http://venus.javeriana.edu.co/~ferodrig 
tel: +(57 3)3355086
ICQ Number 18004828





More information about the grass-user mailing list