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

Bill Zhao commented on MESOS-32:
--------------------------------

I made some changes to the "configure" file.

In ~/mesos/configure:
line 1799: changed the python2.6 to python2.7

In ~/mesos/configure.template.macosx:
line 12: changed this 
  --with-python-headers=/usr/include/python2.6 
to 
  --with-python-headers=/usr/include/python2.7 


Getting these errors during compilation:

g++ -c -O2 -fno-strict-aliasing -fPIC  -D_XOPEN_SOURCE -g -I. -I. -I../include 
-I../include -I../third_party/boost-1.37.0 -I../third_party/protobuf-2.3.0/src 
-I../third_party/glog-0.3.1/src -I../third_party/glog-0.3.1/src 
-I../third_party/libprocess/include 
-I../third_party/zookeeper-3.3.1/src/c/include 
-I../third_party/zookeeper-3.3.1/src/c/generated -MMD -MP 
-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -o 
webui/slave/swig/slave_wrap.o webui/slave/swig/slave_wrap.cpp
webui/slave/swig/slave_wrap.cpp: In function 
‘std::vector<mesos::internal::slave::state::Framework*, 
std::allocator<mesos::internal::slave::state::Framework*> >* 
std_vector_Sl_mesos_internal_slave_state_Framework_Sm__Sg____getitem____SWIG_0(std::vector<mesos::internal::slave::state::Framework*,
 std::allocator<mesos::internal::slave::state::Framework*> >*, PySliceObject*)’:
webui/slave/swig/slave_wrap.cpp:4883: error: ‘SWIGPY_SLICE_ARG’ was not 
declared in this scope
webui/slave/swig/slave_wrap.cpp: In function ‘void 
std_vector_Sl_mesos_internal_slave_state_Framework_Sm__Sg____setitem____SWIG_0(std::vector<mesos::internal::slave::state::Framework*,
 std::allocator<mesos::internal::slave::state::Framework*> >*, PySliceObject*, 
const std::vector<mesos::internal::slave::state::Framework*, 
std::allocator<mesos::internal::slave::state::Framework*> >&)’:
webui/slave/swig/slave_wrap.cpp:4892: error: ‘SWIGPY_SLICE_ARG’ was not 
declared in this scope
webui/slave/swig/slave_wrap.cpp: In function ‘void 
std_vector_Sl_mesos_internal_slave_state_Framework_Sm__Sg____setitem____SWIG_1(std::vector<mesos::internal::slave::state::Framework*,
 std::allocator<mesos::internal::slave::state::Framework*> >*, PySliceObject*)’:
webui/slave/swig/slave_wrap.cpp:4901: error: ‘SWIGPY_SLICE_ARG’ was not 
declared in this scope
webui/slave/swig/slave_wrap.cpp: In function ‘void 
std_vector_Sl_mesos_internal_slave_state_Framework_Sm__Sg____delitem____SWIG_1(std::vector<mesos::internal::slave::state::Framework*,
 std::allocator<mesos::internal::slave::state::Framework*> >*, PySliceObject*)’:
webui/slave/swig/slave_wrap.cpp:4910: error: ‘SWIGPY_SLICE_ARG’ was not 
declared in this scope
webui/slave/swig/slave_wrap.cpp: In function 
‘std::vector<mesos::internal::slave::state::Task*, 
std::allocator<mesos::internal::slave::state::Task*> >* 
std_vector_Sl_mesos_internal_slave_state_Task_Sm__Sg____getitem____SWIG_0(std::vector<mesos::internal::slave::state::Task*,
 std::allocator<mesos::internal::slave::state::Task*> >*, PySliceObject*)’:
webui/slave/swig/slave_wrap.cpp:5031: error: ‘SWIGPY_SLICE_ARG’ was not 
declared in this scope
webui/slave/swig/slave_wrap.cpp: In function ‘void 
std_vector_Sl_mesos_internal_slave_state_Task_Sm__Sg____setitem____SWIG_0(std::vector<mesos::internal::slave::state::Task*,
 std::allocator<mesos::internal::slave::state::Task*> >*, PySliceObject*, const 
std::vector<mesos::internal::slave::state::Task*, 
std::allocator<mesos::internal::slave::state::Task*> >&)’:
webui/slave/swig/slave_wrap.cpp:5040: error: ‘SWIGPY_SLICE_ARG’ was not 
declared in this scope
webui/slave/swig/slave_wrap.cpp: In function ‘void 
std_vector_Sl_mesos_internal_slave_state_Task_Sm__Sg____setitem____SWIG_1(std::vector<mesos::internal::slave::state::Task*,
 std::allocator<mesos::internal::slave::state::Task*> >*, PySliceObject*)’:
webui/slave/swig/slave_wrap.cpp:5049: error: ‘SWIGPY_SLICE_ARG’ was not 
declared in this scope
webui/slave/swig/slave_wrap.cpp: In function ‘void 
std_vector_Sl_mesos_internal_slave_state_Task_Sm__Sg____delitem____SWIG_1(std::vector<mesos::internal::slave::state::Task*,
 std::allocator<mesos::internal::slave::state::Task*> >*, PySliceObject*)’:
webui/slave/swig/slave_wrap.cpp:5058: error: ‘SWIGPY_SLICE_ARG’ was not 
declared in this scope
make[1]: *** [webui/slave/swig/slave_wrap.o] Error 1
make: *** [src] Error 2

> Mac OS X Lion errors
> --------------------
>
>                 Key: MESOS-32
>                 URL: https://issues.apache.org/jira/browse/MESOS-32
>             Project: Mesos
>          Issue Type: Bug
>          Components: master
>         Environment: Mac OS X - Lion (10.7)
>            Reporter: Bill Zhao
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Mesos's code compiled without error.  However, when I run mesos-master, I got 
> a "Trace/BPT trap: 5" error.
> Error:
> billz@dhcp-44-175: ~/mesos$ bin/mesos-master
> I0721 15:23:43.394886 2064075104 logging.cpp:40] Logging to 
> /Users/billz/mesos/logs
> I0721 15:23:43.435346 2064075104 main.cpp:75] Build: 2011-07-21 15:17:31 by 
> billz
> I0721 15:23:43.435402 2064075104 main.cpp:76] Starting Mesos master
> I0721 15:23:43.436972 145375232 master.cpp:379] Master started at 
> mesos://[email protected]:5050
> I0721 15:23:43.436986 2064075104 webui.cpp:66] Starting master web UI on port 
> 8080
> I0721 15:23:43.437049 145375232 master.cpp:394] Master ID: 201107211523-0
> I0721 15:23:43.437192 146579456 webui.cpp:34] Web UI thread started
> I0721 15:23:43.437399 145375232 master.cpp:403] Creating "simple" allocator
> I0721 15:23:44.005723 146579456 webui.cpp:46] Loading webui/master/webui.py
> Trace/BPT trap: 5

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to