GRASS 5.0b4 compile error

I am trying to compile GRASS 5.0 beta4 on SuSe Linux 6.2 and got the following error:

make[1]: Entering directory `/home/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.i586-linux-elf/gram.o
gcc -g -O2 -I/home/grass5.0beta/src/include -c gram.c
mv gram.o OBJ.i586-linux-elf/gram.o
lex binfer.l
make[1]: lex: Command not found
make[1]: *** [lex.c] Error 127
make[1]: Leaving directory `/home/grass5.0beta/src/raster/r.binfer'
GISGEN failure at STEP: src/raster/r.binfer
make: *** [do-install] Error 1

does anybody know to to solve this ??

Thanks in advance

Ralf Kunkel

**********************************************
Dr. Ralf Kunkel
Programmgruppe Systemforschung und Technologische Entwicklung
Forschungszentrum Juelich
D-52425 Juelich

Tel: ++49-2461-61-3262 Fax: ++49-2461-61-2540
EMail: r.kunkel@fz-juelich.de WWW: http://www.kfa-juelich.de

"Dr. Ralf Kunkel" wrote:

I am trying to compile GRASS 5.0 beta4 on SuSe Linux 6.2 and got the following error:

[...]

make[1]: lex: Command not found
make[1]: *** [lex.c] Error 127
make[1]: Leaving directory `/home/grass5.0beta/src/raster/r.binfer'

1- if you have a command named flex,it is probably the one you need
   (gnu version may have a different name than the brand unix version).
   You have just to make a link (as root) : ln -s /usr/bin/flex /usr/bin/lex
2- verify that you have installed the yacc/lex package from the suse
   distribution. If not do it and verify if you have a command name lex.
   If no continue by step 1

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