ubuntu上使用flex和bison来代替lex和yacc, 所以 sudo apt-get install yacc lex 是错误的 正确的方法是 sudo apt-get install flex bison