You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Ben Craig (JIRA)" <ji...@apache.org> on 2013/11/21 14:51:35 UTC

[jira] [Commented] (THRIFT-2266) ThreadManager.h:24:10: fatal error: 'tr1/functional' file not found on Mac 10.9 (Mavericks)

    [ https://issues.apache.org/jira/browse/THRIFT-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13828953#comment-13828953 ] 

Ben Craig commented on THRIFT-2266:
-----------------------------------

This particular issue has been resolved in 0.9.1.  Some other Mac issues are fixed in the trunk.  There is at least one other outstanding issue that is tracked in [THRIFT-2229].  Some workaround information is included in the comments of that report.

> ThreadManager.h:24:10: fatal error: 'tr1/functional' file not found on Mac 10.9 (Mavericks)
> -------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-2266
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2266
>             Project: Thrift
>          Issue Type: Bug
>            Reporter: Joseph Baylon
>              Labels: Tr1/Functional
>
> I am using Mac 10.9 (Mavericks).
> When issuing make on Thrift 0.9.0, I get the following errors,
> /Library/Developer/CommandLineTools/usr/bin/make  all-recursive
> Making all in compiler/cpp
> /Library/Developer/CommandLineTools/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/usr/local/include -I./src -I./src/thrift  -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/usr/local/include -I./src -I./src/thrift -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:24:
> src/thrift/concurrency/ThreadManager.h:24:10: fatal error: 'tr1/functional' file not found
> #include <tr1/functional>
>          ^
> 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
> Is there a patch or workaround available?



--
This message was sent by Atlassian JIRA
(v6.1#6144)