Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-7759

Unbundled protobuf build doesn't work.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • build
    • None

    Description

      /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++
      

      On Fedora 26, this results in the following configure error:

      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.
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jamespeach James Peach
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: