[
https://issues.apache.org/jira/browse/MESOS-9192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16596866#comment-16596866
]
James Peach commented on MESOS-9192:
------------------------------------
Per [the docs|http://mesos.apache.org/documentation/latest/building/] we
require clang >= 3.5. Maybe we ought to add a version check to the build like
we did for GCC?
> Mesos build fail on Ubuntu 14.04.
> ---------------------------------
>
> Key: MESOS-9192
> URL: https://issues.apache.org/jira/browse/MESOS-9192
> Project: Mesos
> Issue Type: Bug
> Reporter: Meng Zhu
> Priority: Major
>
> Ubuntu 14.04, clang3.4
> If I manually install protobuf-compiler, the build will pass.
> {noformat}
> make[3]: Entering directory
> `/home/mengzhu/workspace/mesos_current/build/3rdparty'
> cd grpc-1.10.0 && \
>
> CPPFLAGS="-I/home/mengzhu/workspace/mesos_current/build/3rdparty/protobuf-3.5.0/src
> \
> \
> \
> -Wno-array-bounds \
> -I/usr/include/subversion-1 -I/usr/include/apr-1
> -I/usr/include/apr-1.0 " \
> CFLAGS="-g1 -O0" \
> CXXFLAGS="-g1 -O0 -Wno-inconsistent-missing-override -std=c++11"
> \
> make \
>
> /home/mengzhu/workspace/mesos_current/build/3rdparty/grpc-1.10.0/libs/opt/libgrpc++_unsecure.a
>
> /home/mengzhu/workspace/mesos_current/build/3rdparty/grpc-1.10.0/libs/opt/libgrpc_unsecure.a
>
> /home/mengzhu/workspace/mesos_current/build/3rdparty/grpc-1.10.0/libs/opt/libgpr.a
> \
> CC="clang" \
> CXX="clang++" \
> LD="clang" \
> LDXX="clang++" \
>
> LDFLAGS="-L/home/mengzhu/workspace/mesos_current/build/3rdparty/protobuf-3.5.0/src/.libs
> \
> \
> \
> " \
> LDLIBS="" \
> HAS_PKG_CONFIG=false \
> NO_PROTOC=false \
>
> PROTOC="/home/mengzhu/workspace/mesos_current/build/3rdparty/protobuf-3.5.0/src/protoc"
> make[4]: Entering directory
> `/home/mengzhu/workspace/mesos_current/build/3rdparty/grpc-1.10.0'
> DEPENDENCY ERROR
> The target you are trying to run requires protobuf 3.0.0+
> Your system doesn't have it, and neither does the third_party directory.
> Please consult INSTALL to get more information.
> If you need information about why these tests failed, run:
> make run_dep_checks
> make[4]: *** [stop] Error 1
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)