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

Michel Wurtz - LTE mw at engees.u-strasbg.fr
Thu Apr 22 02:38:18 EDT 1999


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



More information about the grass-user mailing list