[
https://issues.apache.org/jira/browse/MESOS-4453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15112106#comment-15112106
]
kreats commented on MESOS-4453:
-------------------------------
in mesos/src/uri/fetcher.cpp file, line 23:
```
#include "uri/fetcher.hpp"
```
It should use local directory file "fetcher.hpp",
there is a file with the same at "/mesos/include/mesos/uri/fetcher.hpp",
however, their contents are different.
and in the CMAKE file "mesos/src/slave/cmake/SlaveConfigure.cmake" line 34:
```
set(AGENT_INCLUDE_DIRS
${AGENT_INCLUDE_DIRS}
${MESOS_PUBLIC_INCLUDE_DIR}
# Contains (e.g.) compiled *.pb.h files.
${MESOS_BIN_INCLUDE_DIR}
${MESOS_BIN_INCLUDE_DIR}/mesos
${MESOS_BIN_SRC_DIR}
${MESOS_SRC_DIR}
)
```
It sets include searching path should begin from ""/mesos/include/" first, this
will occur an error.
we may put "${MESOS_SRC_DIR}" before ${MESOS_PUBLIC_INCLUDE_DIR}, but i an not
sure whether it's a good solution or not.
> CMAKE: include directores rules' bug
> ------------------------------------
>
> Key: MESOS-4453
> URL: https://issues.apache.org/jira/browse/MESOS-4453
> Project: Mesos
> Issue Type: Bug
> Components: master
> Affects Versions: 0.27.0
> Reporter: kreats
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)