when flex is not installed, configure detects that flex is not installed but doesn't emit an error. Flex is required to build gcc-4.5 (to produce gengtype-lex.c). So, if no flex, no gcc :-) YC
flex is only required to build svn checkouts or snapshots. Release tarballs contain the generated files.
It should be relatively easy to make configure emit an error when it can't find flex. I have lost a couple of hours before figuring out that flex was missing. YC