On 17 April 2014 10:12, Vladimír Fuka wrote: > > Nevertheless I always get this in some internal `configure` after > running `make`: > > checking for bison... bison -y > checking for flex... flex > checking lex output file root... configure: error: cannot find > output from flex; giving up > make[2]: *** [configure-stage1-gmp] Error 1 > make[2]: Leaving directory `***/gcc-bin-8' > make[1]: *** [stage1-bubble] Error 2 > make[1]: Leaving directory `***/gcc-bin-8' > make: *** [all] Error 2 > > It is configured with: > > ../gcc-4.8.2/configure --enable-languages=c,c++,fortran > --prefix=/home/***/gcc-4.8.2 > > I have no idea what should I try more. You can look in gmp/config.log to see what causes the error. In a successful log you should see something like: configure:29361: flex conftest.l configure:29365: $? = 0 configure:29367: checking lex output file root configure:29381: result: lex.yy