1
當我試圖配置和使節儉0.9.1它會給出一些錯誤。任何人都可以告訴我這個原因,我該怎麼做才能解決這個問題。錯誤如下所示。Apache節儉不能使
[email protected]:~/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
[email protected]:~/WorkDir/thrift-0.9.1>
您的系統上沒有安裝yacc。 'yacc:找不到命令'這很清楚。 – john
我正在使用openSUSE,請你告訴我如何安裝yacc。 – Sameera
對不起,我不知道答案。但快速谷歌,我發現這個http://forums.opensuse.org/english/get-technical-help-here/install-boot-login/424461-yacc-lex-tool-reg.html – john