- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
我正在尝试使用 0.9.2 版构建一个 thrift,这是我执行的命令:
sudo ./configure --with-boost=/usr/local/boost_1.58.0
它会成功,但我收到这样的返回消息:
thrift 0.9.2
Building C++ Library ......... : yes
Building C (GLib) Library .... : yes
Building Java Library ........ : yes
Building C# Library .......... : no
Building Python Library ...... : yes
Building Ruby Library ........ : no
Building Haskell Library ..... : no
Building Perl Library ........ : no
Building PHP Library ......... : yes
Building Erlang Library ...... : no
Building Go Library .......... : no
Building D Library ........... : no
Building NodeJS Library ...... : no
Building Lua Library ......... : yes
C++ Library:
Build TZlibTransport ...... : yes
Build TNonblockingServer .. : no
Build TQTcpServer (Qt) .... : yes
Java Library:
Using javac ............... : javac
Using java ................ : java
Using ant ................. : /usr/bin/ant
Python Library:
Using Python .............. : /usr/bin/python
PHP Library:
Using php-config .......... :
Lua Library:
Using Lua .............. : /usr/bin/lua
If something is missing that you think should be present,
please skim the output of configure to find the missing
component. Details are present in config.log.
我尝试了很多方法让 Build TNonblockingServer
选项为 YES
但我失败了。
最佳答案
您需要安装 libevent。以下是 configure.ac
中的相关部分:
AX_LIB_EVENT([1.0])
have_libevent=$success
和
echo " Build TNonblockingServer .. : $have_libevent"
它也在“语言要求”部分下列出 over here :
Language requirements
C++
Boost 1.53.0
libevent (optional, to build the nonblocking server)
zlib (optional)
最低提升版本实际上是 1.54,网站在这一点上有点过时了。
关于c++ - 如何在构建 Thrift 0.9.2 时启用 TNonblockingServer,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32841565/
在尝试使用TNonblockingServer构建Thrift(我之前没有,因为它具有libevent依赖项)时,遇到了以下错误: error C2065: 'EWOULDBLOCK' : undec
我有一个用 Java 实现的 Thrift 服务器,如下所示: TNonblockingServerTransport serverTransport = new TNonblockingServer
我一直在关注 Thrift C++ wiki tutorial .使用 TSimpleServer 一切正常。但是,当我尝试实现 TNonblockingServer 时,我遇到了这个错误:( und
我有用 java 编写的服务器应用程序,以及用 groovy 编写的客户端应用程序。我的服务器收到请求并执行某事。我将 Thrift 与 TNonBlockingServer 结合使用。 pu
我从一个线程启动一个 TNonblockingServer: void *start_server(void *) { server->serve(); return NULL; }
我有一个简单的 Thrift 服务器: shared_ptr processor(new MyProcessor(handlerTrace)); shared_ptr serverTrans
我们的分析服务器是用 C++ 编写的。它基本上查询底层存储引擎并通过thrift返回相当大的结构化数据。一个典型的请求大约需要 0.05 到 0.6 秒才能完成,具体取决于请求的大小。 我注意到我们可
我一直在尝试用 C++ 实现一个 thrift 服务器来与 Python 客户端通信。 这是我的代码: C++ 服务器: shared_ptr _handler (new myHandler());
我正在尝试使用 0.9.2 版构建一个 thrift,这是我执行的命令: sudo ./configure --with-boost=/usr/local/boost_1.58.0 它会成功,但我收到
我正在尝试编译一段创建 TNonblockingServer 的代码,但出现以下编译错误。知道出了什么问题吗? something_server.cpp:(.text+0x1ad): undefine
我正在用 Python 制作一个内部 API(请原谅我的术语),它只需要简单的计算就可以在 MySQL 和 Solr(数据库)上提供一个层。从头开始生成的 Python 程序会等待 Solr 80 毫
我是一名优秀的程序员,十分优秀!