You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Arun (JIRA)" <ji...@apache.org> on 2014/03/10 23:20:45 UTC
[jira] [Created] (THRIFT-2396) Build Error on MacOSX
Arun created THRIFT-2396:
----------------------------
Summary: Build Error on MacOSX
Key: THRIFT-2396
URL: https://issues.apache.org/jira/browse/THRIFT-2396
Project: Thrift
Issue Type: Bug
Components: Deployment
Affects Versions: 0.9.1
Environment: Mac OS 10.9.2
Reporter: Arun
I'm unable to get thrift to build on mac os. Here's the build error.
$ sudo make
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in compiler/cpp
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
make[3]: Nothing to be done for `all-am'.
Making all in lib
Making all in cpp
Making all in .
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/cpp/src/thrift -I/usr/local/include -I./src -Wall -g -O2 -MT ThreadManager.lo -MD -MP -MF .deps/ThreadManager.Tpo -c -o ThreadManager.lo `test -f 'src/thrift/concurrency/ThreadManager.cpp' || echo './'`src/thrift/concurrency/ThreadManager.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/cpp/src/thrift -I/usr/local/include -I./src -Wall -g -O2 -MT ThreadManager.lo -MD -MP -MF .deps/ThreadManager.Tpo -c src/thrift/concurrency/ThreadManager.cpp -fno-common -DPIC -o .libs/ThreadManager.o
In file included from src/thrift/concurrency/ThreadManager.cpp:22:
In file included from ./src/thrift/concurrency/ThreadManager.h:24:
./src/thrift/cxxfunctional.h:93:18: error: no member named 'bind' in namespace 'std'
using ::std::bind;
~~~~~~~^
src/thrift/concurrency/ThreadManager.cpp:569:8: warning: private field 'firstTime_' is not used [-Wunused-private-field]
bool firstTime_;
^
1 warning and 1 error generated.
make[4]: *** [ThreadManager.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
--
This message was sent by Atlassian JIRA
(v6.2#6252)