【发布时间】:2013-10-16 09:36:28
【问题描述】:
当我尝试配置和制作 thrift 0.9.1 时,它会出现一些错误。谁能告诉我这样做的原因以及我应该怎么做才能克服这个问题。错误如下所示。
user@linux-yyzo:~/WorkDir/thrift-0.9.1> make
make all-recursive
make[1]: Entering directory `/home/user/WorkDir/thrift-0.9.1'
Making all in compiler/cpp
make[2]: Entering directory `/home/user/WorkDir/thrift-0.9.1/compiler/cpp'
make all-am
make[3]: Entering directory `/home/user/WorkDir/thrift-0.9.1/compiler/cpp'
\
\
/bin/sh ../../ylwrap `test -f 'src/thrifty.yy' || echo './'`src/thrifty.yy y.tab.c thrifty.cc y.tab.h thrifty.h y.output thrifty.output -- yacc -d
../../ylwrap: line 113: yacc: command not found
make[3]: *** [thrifty.cc] Error 1
make[3]: Leaving directory `/home/user/WorkDir/thrift-0.9.1/compiler/cpp'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/user/WorkDir/thrift-0.9.1/compiler/cpp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/WorkDir/thrift-0.9.1'
make: *** [all] Error 2
user@linux-yyzo:~/WorkDir/thrift-0.9.1>
【问题讨论】:
-
您的系统上没有安装 yacc。
yacc: command not found很清楚。 -
我正在使用openSUSE,请告诉我如何安装yacc。
-
对不起,我不知道答案。但是快速谷歌,我发现了这个forums.opensuse.org/english/get-technical-help-here/…
-
感谢您的帮助。它起作用了..:)
标签: c++ linux thrift cassandra-0.7