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

ThreadManager.h:24:10: fatal error: 'tr1/functional' file not found on Mac 10.9 (Mavericks)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.2
    • Component/s: None
    • Labels:

      Description

      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?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jgbaylon Joseph Baylon
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: