James Peach created MESOS-7759:
----------------------------------

             Summary: Unbundled protobuf build doesn't work.
                 Key: MESOS-7759
                 URL: https://issues.apache.org/jira/browse/MESOS-7759
             Project: Mesos
          Issue Type: Bug
          Components: build
            Reporter: James Peach


{noformat}
/opt/home/src/mesos/configure \
        --prefix=/opt/mesos \
        --disable-python \
        --disable-java \
        --enable-port-mapping-isolator \
        --enable-silent-rules \
        --with-protobuf=/usr \
CC=clang CXX=clang++
{noformat}

On Fedora 26, this results in the following configure error:
{noformat}
configure:22840: $? = 0
configure:22849: result: yes
configure:22955: checking google/protobuf/message.h usability
configure:22955: /usr/lib64/ccache/clang++ -c -O0 -g -Wno-unused-local-typedef 
-std=c++11 -isystem /usr/include/libnl3 -isystem /usr/include/apr-1 -isystem 
/usr/include/apr-1.0               -isystem /usr/include conftest.cpp >&5
In file included from conftest.cpp:70:
In file included from /usr/include/google/protobuf/message.h:114:
In file included from 
/usr/bin/../lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/string:52:
In file included from 
/usr/bin/../lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/bits/basic_string.h:6159:
In file included from 
/usr/bin/../lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/ext/string_conversions.h:41:
/usr/bin/../lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/cstdlib:75:15:
 fatal error: 'stdlib.h' file not found
#include_next <stdlib.h>
              ^~~~~~~~~~
1 error generated.
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to