You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Till Toenshoff (JIRA)" <ji...@apache.org> on 2013/12/03 21:42:37 UTC

[jira] [Commented] (MESOS-863) Get mesos' libprocess dependency protobuf to compile with clang and libc++

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

Till Toenshoff commented on MESOS-863:
--------------------------------------

Remedy:
Download latest release (2.5.0) via https://code.google.com/p/protobuf/downloads/detail?name=protobuf-2.5.0.tar.gz and copy that archive into mesos/3rdparty/libprocess/3rdparty/

Patch mesos/3rdparty/libprocess/3rdparty/versions.am 

replace
PROTOBUF_VERSION = 2.4.1 
with
PROTOBUF_VERSION = 2.5.0 
 

> Get mesos' libprocess dependency protobuf to compile with clang and libc++
> --------------------------------------------------------------------------
>
>                 Key: MESOS-863
>                 URL: https://issues.apache.org/jira/browse/MESOS-863
>             Project: Mesos
>          Issue Type: Improvement
>          Components: build, libprocess
>    Affects Versions: 0.14.2
>         Environment: OS X 10.9 (Mavericks), Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
>            Reporter: Till Toenshoff
>            Priority: Minor
>              Labels: build, libprocess, protobuf
>
> [mesos/build/3rdparty/libprocess/3rdparty/protobuf-2.4.1(master) ]
> Failure:
> google/protobuf/message.cc:130:60: error: implicit instantiation of undefined template 'std::__1::basic_istream<char, std::__1::char_traits<char> >'
>   return ParseFromZeroCopyStream(&zero_copy_input) && input->eof();
>                                                            ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iosfwd:108:28: note: template is declared here
>     class _LIBCPP_TYPE_VIS basic_istream;
>                            ^
> google/protobuf/message.cc:135:67: error: implicit instantiation of undefined template 'std::__1::basic_istream<char, std::__1::char_traits<char> >'
>   return ParsePartialFromZeroCopyStream(&zero_copy_input) && input->eof();
>                                                                   ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iosfwd:108:28: note: template is declared here
>     class _LIBCPP_TYPE_VIS basic_istream;
>                            ^
> google/protobuf/message.cc:175:16: error: implicit instantiation of undefined template 'std::__1::basic_ostream<char, std::__1::char_traits<char> >'
>   return output->good();
>                ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/iosfwd:110:28: note: template is declared here
>     class _LIBCPP_TYPE_VIS basic_ostream;
>                            ^
> 3 errors generated.
> make[9]: *** [message.lo] Error 1



--
This message was sent by Atlassian JIRA
(v6.1#6144)