Chinaunix

标题: [求助]缺少lex.yy.c [打印本页]

作者: orangemm    时间: 2007-06-20 17:59
标题: [求助]缺少lex.yy.c
系统是RedHat AS4 装squidGuard-1.2时报错:
[root@localhost squidGuard-1.2.0]# make
making all in squidGuard-1.2.0
make[1]: Entering directory `/tmp/squidGuard-1.2.0/src'
making all in src
: sg.l || cp lex.yy.c.flex lex.yy.c
gcc -I.. -I. -I. -I/usr/local/BerkeleyDB/include -DHAVE_CONFIG_H -g -O2 -I/usr/local/BerkeleyDB/include -c lex.yy.c
gcc: lex.yy.c: No such file or directory
gcc: no input files
make[1]: *** [lex.yy.o] Error 1
make[1]: Leaving directory `/tmp/squidGuard-1.2.0/src'
make: *** [all] Error 1
我已装db-2.7.7,请问lex.yy.c怎样才能加上?我的gcc version 3.4.4
多谢!
作者: MMMIX    时间: 2007-06-20 19:12
lex.yy.c 这个是 Lex 工具生成的,建议安装 flex.




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2