Marcello wrote:
> checking for lex... no
> configure: error: *** Unable to locate lex.
...
> P.S. I use Ubuntu 9.10 64 bits.
you need to install all the "Build-depends" packages listed here:
http://svn.debian.org/viewsvn/pkg-grass/packages/grass/trunk/debian/control
( http://grass.osgeo.org/wiki/Compile_and_Install_Ubuntu#Dependencies )
Hamish