Markus:
When you execute ./configure, look out for error messages.
In your case, configure quits with an error message:
configure: error: *** Unable to locate lexin your case, you have to install lex
Make sure that you have all dependencies (and the dev
packages!) installed.
here is what you need for ubunto or debian:
(install all packages on the build-depends line)
http://svn.debian.org/viewsvn/pkg-grass/packages/grass/trunk/debian/control?view=markup
maybe one or two package names will need to be modified.
see also the notes in GRASS's debian/ directory for semi-automatic package
building.
Hamish