Niklas Quarfot Nielsen created MESOS-1468:
---------------------------------------------

             Summary: Compiler settings broken for Python build on Mac OS X
                 Key: MESOS-1468
                 URL: https://issues.apache.org/jira/browse/MESOS-1468
             Project: Mesos
          Issue Type: Bug
            Reporter: Niklas Quarfot Nielsen


gcc -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -g -Qunused-arguments 
-Qunused-arguments -arch x86_64 -arch i386 -pipe 
-I/Users/nnielsen/scratchpad/mesos/build/../include 
-I/Users/nnielsen/scratchpad/mesos/build/include 
-I/Users/nnielsen/scratchpad/mesos/build/src 
-I/Users/nnielsen/scratchpad/mesos/build/src/python/native 
-I/Users/nnielsen/scratchpad/mesos/build/3rdparty/libprocess/3rdparty/protobuf-2.5.0/src
 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 
-c native/mesos_scheduler_driver_impl.cpp -o 
build/temp.macosx-10.9-intel-2.7/native/mesos_scheduler_driver_impl.o
In file included from native/mesos_scheduler_driver_impl.cpp:25:
In file included from 
/Users/nnielsen/scratchpad/mesos/build/src/python/native/mesos_scheduler_driver_impl.hpp:22:
/Users/nnielsen/scratchpad/mesos/build/../include/mesos/scheduler.hpp:25:10: 
fatal error: 'tr1/functional' file not found
#include <tr1/functional>
         ^
1 error generated.

Adding '-std=c++11' fix the problem, but those settings are picked up in 
setup.py (and therefore through distutils).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to