[
https://issues.apache.org/jira/browse/MESOS-3091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14640413#comment-14640413
]
Mohamed ElTahan commented on MESOS-3091:
----------------------------------------
Yes, i'm aware the common.h file can be found under the src directory. The
issue i see here is that the src directory is not available where mesos is
installed. It's available where mesos is built, but not where it's installed.
The install target deploys mesos's header files (needed to build frameworks) to
the prefix location, but it doesn't deploy the 3rd party headers. So one can't
build frameworks against mesos on a machine where mesos is installed (not
built).
> 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)