2013-08-12 42 views
1

我试图建立(让)我的Linux机器上的Apache TRIFT,我在构建过程中遇到以下错误:错误而构建Apache节俭

make[3]: Entering directory `/home/developer/tools/apache-thrift/thrift-0.9.0/lib/erl' 
./rebar get-deps 
==> jsx (get-deps) 
==> erl (get-deps) 
./rebar compile 
==> jsx (compile) 
src/jsx_decoder.erl:123: redefining macro 'new_seq' 
src/jsx_decoder.erl:126: redefining macro 'acc_seq' 
src/jsx_decoder.erl:660: argument mismatch for macro 'acc_seq' 
src/jsx_decoder.erl:626: function low_surrogate/4 undefined 
src/jsx_decoder.erl:682: Warning: function is_partial_low/1 is unused 
src/jsx_decoder.erl:692: Warning: function surrogate_to_codepoint/2 is unused 
make[3]: *** [all] Error 1 
make[3]: Leaving directory `/home/developer/tools/apache-thrift/thrift-0.9.0/lib/erl' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory `/home/developer/tools/apache-thrift/thrift-0.9.0/lib' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/home/developer/tools/apache-thrift/thrift-0.9.0' 
make: *** [all] Error 2 

可能有人帮助吗? 我正在运行Ubuntu 10.04 LTS并且也确定我安装了required libraries

+1

一旦我在我的机器上编译节俭0.9和0.8时遇到了ruby的奇怪问题。由于我在我的节俭安装中不需要ruby,所以我只是关闭它:'./configure --with-ruby = no'。你需要erlang支持与节俭? – ducin

+0

不,我不需要erlang的支持。我用'./configure --with-erlang = no'关掉了它,现在它工作:)非常感谢你 – Moonlit

回答

1

答案与我的评论一样。

如果您不需要二郎与节俭的工作,干脆关闭它在编译节俭:

./configure --with-erlang=no 

也许你已经得到的东西使用Erlang库在本地机器上搞砸了,这就是为什么你解决问题。