Apache thrift 做不到 [英] Apache thrift can not make

查看:24
本文介绍了Apache thrift 做不到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试配置和制作 thrift 0.9.1 时,它会出现一些错误.谁能告诉我这样做的原因以及我应该怎么做才能克服这个问题.错误如下所示.

When I'm trying to configure and make thrift 0.9.1 it gives some errors. 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> 

推荐答案

当遇到这样的麻烦时,Thrift 网站上有两个资源值得一读.

There are two resources on the Thrift web site worth reading when one runs into troubles like this.

要求很好地概述了依赖关系;从源代码构建 页面简要介绍了构建步骤和配置开关.此外,要求页面包含一些链接,指向在 Ubuntu、CentOS、Windows 和 OS X 上构建的更具体信息.

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.

这篇关于Apache thrift 做不到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆