简体   繁体   English

Apache节俭不能使

[英]Apache thrift can not make

When I'm trying to configure and make thrift 0.9.1 it gives some errors. 当我尝试配置0.9.1并使其节俭时,它给出了一些错误。 Can anyone tell me the reason for that and what should I do to overcome this issue. 谁能告诉我这样做的原因以及我应该怎么做才能解决这个问题。 Errors are shown in below. 错误如下所示。

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> 

There are two resources on the Thrift web site worth reading when one runs into troubles like this. 当遇到这样的麻烦时,Thrift网站上有两个资源值得阅读。

The Requirements give a good overview about the dependencies; 需求很好地概述了相关性。 the Building From Source page explains build steps and configure switches briefly. 从源构建”页面简要说明了构建步骤和配置开关。 Additionally, the requirements page holds some links to more specific information for builds on Ubuntu, CentOS, Windows and OS X. 另外,要求页面包含一些指向在Ubuntu,CentOS,Windows和OS X上构建的更具体信息的链接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM