我试图在Ubuntu 14.04上为scribe设置thrift-0.9.2,并且我在构建过程中遇到了以下问题。有谁知道如何解决这个问题?
/ bin / bash ../../libtool --tag = CXX --mode = link g ++ -Wall -Wextra -pedantic -g -O2 -std = c ++ 11 -o thrift thrift-main.o thrift-md5.o thrift -t_generator.o thrift -t_typedef.o thrift-parse.o thrift -t_c_glib_generator.o thrift -t_cpp_generator.o thrift -t_java_generator.o thrift -t_json_generator.o thrift-t_as3_generator.o thrift-t_csharp_generator.o thrift -t_py_generator.o thrift -t_rb_generator.o thrift -t_perl_generator.o thrift-t_php_generator.o thrift-t_erl_generator.o thrift -t_cocoa_generator.o thrift -t_st_generator.o thrift-t_ocaml_generator.o thrift-t_hs_generator.o thrift -t_xsd_generator.o thrift -t_html_generator.o thrift -t_js_generator.o thrift -t_javame_generator.o thrift -t_delphi_generator.o thrift-t_go_generator.o thrift -t_gv_generator.o thrift -t_d_generator.o thrift -t_lua_generator.o -lfl libparse.a
../../libtool: eval: line 6459: unexpected EOF while looking for matching `"'
../../libtool: eval: line 6460: syntax error: unexpected end of file
答案 0 :(得分:2)
我正在尝试设置thrift v0.10.0并且遇到了和你一样的问题:
../../../libtool: eval: line 6458: unexpected EOF while looking for matching `"'
../../../libtool: eval: line 6459: syntax error: unexpected end of file
在libtool
中,第6458行和第6459行是:
6457 eval sys_lib_search_path=\"$sys_lib_search_path_spec\"
6458 eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
6459
我将"
更改为'
,然后它来了:
6457 eval sys_lib_search_path='\$sys_lib_search_path_spec'
6458 eval sys_lib_dlsearch_path='\$sys_lib_dlsearch_path_spec'
6459
到现在为止,我已经解决了问题,也许你可以尝试一下!