Java Apache Thrift未在Mac上安装

Java Apache Thrift未在Mac上安装,java,c,macos,protocol-buffers,thrift,Java,C,Macos,Protocol Buffers,Thrift,Mac OSX 10.10.5(约塞米蒂)在这里。我试图找到一种工具,它将: 给定定义/配置文件,生成本机C网络/套接字客户端(库);及 给定一个定义/配置文件,生成一个Java网络/套接字服务器 实际上,这两个工件都(可能)在同一台机器上运行,但一个必须是本机C,另一个必须是Java 我相信这是一个可以完成这项工作的工具,但如果不是,或者如果有其他/更好/更容易使用的工具,那么我当然愿意接受其他建议 我一下子就想到节俭会以某种形式出现,准备按原样运行。相反,根据报告,看起来你必须自己建造它。

Mac OSX 10.10.5(约塞米蒂)在这里。我试图找到一种工具,它将:

  • 给定定义/配置文件,生成本机C网络/套接字客户端(库);及
  • 给定一个定义/配置文件,生成一个Java网络/套接字服务器
  • 实际上,这两个工件都(可能)在同一台机器上运行,但一个必须是本机C,另一个必须是Java

    我相信这是一个可以完成这项工作的工具,但如果不是,或者如果有其他/更好/更容易使用的工具,那么我当然愿意接受其他建议


    我一下子就想到节俭会以某种形式出现,准备按原样运行。相反,根据报告,看起来你必须自己建造它。进入痛苦

    我下载了tarball(
    v0.9.3
    ),然后导航到解包目录。然后我运行
    /configure
    (正如那些文档所述),这会产生大量的输出,最令人怀疑的是:

    Building C++ Library ......... : yes
    Building C (GLib) Library .... : no     <--- heh?
    Building Java Library ........ : no     <--- heh?
    Building C# Library .......... : no
    Building Python Library ...... : yes
    Building Ruby Library ........ : no
    Building Haxe Library ........ : no
    Building Haskell Library ..... : no
    Building Perl Library ........ : yes
    Building PHP Library ......... : yes
    Building Erlang Library ...... : no
    Building Go Library .......... : no
    Building D Library ........... : no
    Building NodeJS Library ...... : yes
    Building Lua Library ......... : no
    
    (2)你知道如何在这里排除故障吗

    我好像要绕着谷仓走三圈。在文档的其他方面,我需要构建其他几个库(Boost和
    libevent
    ),这些构建的说明也让我头疼不已(例如
    libevent
    的版本不喜欢默认随Mac提供的Bison版本,等等)

    Thrift是一款完全可以在Mac OS上运行的应用程序吗?为什么我要在这座大楼里走来走去


    所以最重要的是:(3)如果它存在,我在哪里可以找到一个随时可以运行的Thrift Mac可执行文件?如果它不存在,还有其他更容易安装/运行的工具吗?

    最后,它非常简单:


    brew安装thrift

    Re
    TLSv1\u方法
    =>。第一次点击时,我花了10秒钟在谷歌上搜索。在试用Thrift几天后,我最终发现谷歌的协议缓冲区比Thrift更易于使用、配置和速度更快,Thrift看起来是一个死气沉沉的项目。
    ...blah blah blah lots of compiler output, blah blah blah...
    
    src/thrift/transport/TSSLSocket.cpp:147:24: error: use of undeclared identifier 'TLSv1_1_method'; did you mean 'TLSv1_method'?
        ctx_ = SSL_CTX_new(TLSv1_1_method());
                           ^~~~~~~~~~~~~~
                           TLSv1_method
    
    src/thrift/transport/TSSLSocket.cpp:149:24: error: use of undeclared identifier 'TLSv1_2_method'; did you mean 'TLSv1_method'?
        ctx_ = SSL_CTX_new(TLSv1_2_method());
                           ^~~~~~~~~~~~~~
                           TLSv1_method
    
    74 warnings and 2 errors generated.
    make[4]: *** [src/thrift/transport/TSSLSocket.lo] Error 1
    make[3]: *** [all-recursive] Error 1
    make[2]: *** [all-recursive] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all] Error 2