Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3216

Build Failures on OSX 10.10.3

    XMLWordPrintableJSON

Details

    Description

      I cannot successfully build a project using Thrift or build Thrift itself from source.

      When trying to build the project from source I've run into problems addressed in several, now closed issues:

      https://issues.apache.org/jira/browse/THRIFT-2229
      https://issues.apache.org/jira/browse/THRIFT-2467

      Here is the output of configure and make:
      https://gist.github.com/danem/145a8c6ae1ada9445fa2

      Alternatively, when I install thrift via homebrew, Thrift itself builds, but projects using it fail with this error:

      In file included from /usr/local/include/thrift/transport/TSocket.h:27:
      In file included from /usr/local/include/thrift/transport/TServerSocket.h:25:
      /usr/local/include/thrift/cxxfunctional.h:93:18: error: no member named 'bind' in namespace 'std'; did you mean 'find'?
      using ::std::bind;
      ~~~~~~~^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:862:1: note:
      'find' declared here
      find(InputIterator __first, _InputIterator __last, const _Tp& __value)
      ^
      1 error generated.

      edit: I was actually able to get the homebrew installation to build my test project correctly. Sorry for the false alarm. I needed to use -std=c++11

      Attachments

        Activity

          People

            Unassigned Unassigned
            danem danem
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: