New problem compiling grass5.0beta7

Markus Neteler neteler at geog.uni-hannover.de
Mon Apr 24 11:43:49 EDT 2000


Hi Skip,


On Mon, Apr 24, 2000 at 07:40:10AM -0700, Skip wrote:

> #################################################################
> /usr/local/grass5.0beta/src/raster/r.binfer
>   mkdir OBJ.i686-linux-elf
>   make -f OBJ.i686-linux-elf/make.rules
>  
> make[1]: Entering directory `/usr/local/grass5.0beta/src/raster/r.binfer'
> rm -f lex.c gram.c
> yacc binfer.y
> rm -f gram.c
> mv y.tab.c gram.c
> rm -f OBJ.i686-linux-elf/gram.o
> gcc -g -O2   -I/usr/local/grass5.0beta/src/include  -c gram.c
> mv gram.o OBJ.i686-linux-elf/gram.o
> lex binfer.l
> make[1]: lex: Command not found

... this is easy: just install the "lex/flex" program. Using
SuSe use "YAST" to install "flex" and "yacc". lex is a requirement
to build GRASS.
Then run again

configure
make install

Hope this helps

 Markus



More information about the grass-user mailing list