GISGEN failure at STEP: src/raster/r.binfer

I discovered that I don't have all the binaries compiled when I
tried to use the r.report command......

So after trying to "re"compile GRASS on Linux and run into the following......

[root@ren CMD]# GISGEN.my
GISBASE=/usr/local/grass42
SRC=/usr/local/grass42/src421/src
CMD=/usr/local/grass42/src421/src/CMD
HEADER=linux
ARCH=linux
####################################################################
GISGEN Wed Apr 21 17:35:57 PDT 1999
GISBASE = /usr/local/grass42
SRC = /usr/local/grass42/src421/src
CMD = /usr/local/grass42/src421/src/CMD
HEADER = linux
ARCH = linux

first step: src/raster/r.binfer

GISGEN: src/raster/r.binfer - Wed Apr 21 17:35:57 PDT 1999

#################################################################
/usr/local/grass42/src421/src/raster/r.binfer
  make -f OBJ.linux/make.rules

rm -f lex.c gram.c
yacc binfer.y
rm -f gram.c
mv y.tab.c gram.c
rm -f OBJ.linux/gram.o
gcc -O2 -m486 -fwritable-strings -DATT_386 -I/usr/local/grass42/src421/src/inc
lude -DUSE_TERMIO -c gram.c
mv gram.o OBJ.linux/gram.o
lex -l binfer.l
make: lex: Command not found
make: *** [lex.c] Error 127
GISGEN failure at STEP: src/raster/r.binfer
[root@ren CMD]#

is this a makefile problem? there is still plenty of hard disk space and I
thought that someone else recently posted this problem.

What don't I have set up correctly?

Thanks,
Jeff.

--

Jeff D. Hamann
277 SE Lilly
Suite H
Corvallis, Oregon 97333 USA
541-754-3309
hamannj@ucs.orst.edu
http://ucs.orst.edu/~hamannj

Jeff Hamann wrote:

I discovered that I don't have all the binaries compiled when I
tried to use the r.report command......

So after trying to "re"compile GRASS on Linux and run into the following......
[...]
make: lex: Command not found

Maybe you didn't have "lex" installed. On some versions it is
called flex (GNU version of the lexical analyser). To see if
you have lex or flex :

bash$ which lex
/usr/bin/lex
bash$ which flex
/usr/bin/flex
bash$ ll /usr/bin/*lex
-rwxr-xr-x 1 root bin 130620 Feb 6 1997 /usr/bin/flex*
-rwxr-xr-x 1 root bin 21 Jan 17 1995 /usr/bin/lex*

if you have flex but not lex, lex is just a shell script saying

flex -l $*

If you haven't either, look at your Linux distribution. You have to
install the package (you will also probably need yacc for compiling
some modules of Grass)

Hope this helps

--
Michel Wurtz ENGEES - Laboratoire Territoires & Environnement
                1, quai Koch - BP 1039, F-67070 STRASBOURG cedex
                Tel: +33 03.88.24.82.45 Fax: +33 03.88.37.04.97