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
一旦我在我的機器上編譯節儉0.9和0.8時遇到了ruby的奇怪問題。由於我在我的節儉安裝中不需要ruby,所以我只是關閉它:'./configure --with-ruby = no'。你需要erlang支持與節儉? – ducin
不,我不需要erlang的支持。我用'./configure --with-erlang = no'關掉了它,現在它工作:)非常感謝你 – Moonlit