[ https://issues.apache.org/jira/browse/MESOS-3091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14642343#comment-14642343 ]
haosdent edited comment on MESOS-3091 at 7/27/15 6:39 AM: ---------------------------------------------------------- I think you need install protobuf 2.5.0 manually. Mesos should not install 3rd party headers because it may override exists headers. was (Author: haosd...@gmail.com): I think you need install protobuf 2.5.0 manually. Mesos should not install 3rd party headers because it maybe override exists headers. > Failed to build scheduler using C++ API: google/protobuf/stubs/common.h: No > such file or directory > --------------------------------------------------------------------------------------------------- > > Key: MESOS-3091 > URL: https://issues.apache.org/jira/browse/MESOS-3091 > Project: Mesos > Issue Type: Bug > Components: c++ api > Affects Versions: 0.22.1 > Reporter: Mohamed ElTahan > > When trying to build a scheduler against mesos, the following error is > encountered: > In file included from /bb/bin/mesos/include/mesos/mesos.hpp:22:0, > from /bb/bin/mesos/include/mesos/executor.hpp:26, > from mesosbe_BasExecutor.cpp:23: > /bb/bin/mesos/include/mesos/mesos.pb.h:9:42: fatal error: > google/protobuf/stubs/common.h: No such file or directory > #include <google/protobuf/stubs/common.h> > It seems that the problem is mainly mesos's install target only installs > mesos's headers and libs but not the headers and libs for the 3rd party > packages shipped with mesos -- This message was sent by Atlassian JIRA (v6.3.4#6332)