danem created THRIFT-3216:
-----------------------------
Summary: Build Failures on OSX 10.10.3
Key: THRIFT-3216
URL: https://issues.apache.org/jira/browse/THRIFT-3216
Project: Thrift
Issue Type: Bug
Components: C++ - Compiler, C++ - Library
Affects Versions: 0.9.2
Environment: OSX 10.10.3
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Reporter: danem
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:
{quote}
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.
{quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)