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> 
JensG
  • 13,148
  • 4
  • 45
  • 55
Sameera
  • 304
  • 1
  • 19
  • You don't have yacc installed on your system. `yacc: command not found` it's pretty clear. – john Oct 09 '13 at 06:57
  • I am using openSUSE, Could you please tell me how to install yacc. – Sameera Oct 09 '13 at 07:04
  • Sorry I don't know the answer to that. But a quick google and I found this http://forums.opensuse.org/english/get-technical-help-here/install-boot-login/424461-yacc-lex-tool-reg.html – john Oct 09 '13 at 07:22

1 Answers1

1

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

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.

JensG
  • 13,148
  • 4
  • 45
  • 55