【问题标题】:Apache thrift can not makeApache Thrift 做不到
【发布时间】: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


【解决方案1】:

当遇到此类问题时,Thrift 网站上有两个资源值得一读。

Requirements 很好地概述了依赖关系; Building From Source 页面简要解释了构建步骤和配置开关。此外,需求页面还包含一些指向 Ubuntu、CentOS、Windows 和 OS X 上构建的更具体信息的链接。

【讨论】:

    猜你喜欢
    • 2020-12-02
    • 2021-10-05
    • 2013-02-23
    • 1970-01-01
    • 1970-01-01
    • 2018-01-21
    • 2017-03-25
    • 2012-10-31
    • 2012-08-02
    相关资源
    最近更新 更多