New problem compiling grass5.0beta7

gcc -o /usr/local/grass-5.0b/etc/bin/contrib/cmd/r.bilinear -s OBJ.i686-linux-e
Hi All,

Well I thought my compiling problems were over with when I sent my last message but since then the compile stopped and I received the following error message:

...
lf/main.o /usr/local/grass5.0beta/src/libes/LIB.i686-linux-elf/libgis.a -lm -ln
sl
GISGEN: src/raster/r.binfer - Mon Apr 24 06:36:45 PDT 2000

#################################################################
/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
make[1]: *** [lex.c] Error 127
make[1]: Leaving directory `/usr/local/grass5.0beta/src/raster/r.binfer'
GISGEN failure at STEP: src/raster/r.binfer
make: *** [do-install] Error 1

Has anyone else run into this problem or know how to resolve it? By the way, I'm using Suse6.3.

Thanks, Skip

=================================
Skip Haak
Natural Resource Solutions
950 Lloyd Center, Suite 48
Portland, OR 97232
Office: (503) 460-3198
Mobile: (503) 998-3267
Facsimile: (503) 460-3230
E-mail: shaak@teleport.com

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