gpt4 book ai didi

c - Thrift 使错误 libtool : eval: unexpected EOF

转载 作者:太空宇宙 更新时间:2023-11-04 02:37:57 28 4
gpt4 key购买 nike

我正在尝试在 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

最佳答案

我正在尝试设置 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

到目前为止,我已经解决了这个问题,也许你可以试试看!

关于c - Thrift 使错误 libtool : eval: unexpected EOF,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35096606/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com