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

Official 1.7.0 tarball can't be built on Ubuntu 16.04 LTS.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.7.0
    • 1.7.1, 1.8.0
    • build
    • None
    • Storage R9 Sprint 36
    • 2

    Description

      I installed Ubuntu 16.04.5 LTS in a VM and precisely followed the steps in http://mesos.apache.org/documentation/latest/building/ to build Mesos (fetching the 1.7.0 release). Nevertheless what I get is the following error message:

      make[4]: Entering directory '/home/max/mesos-1.7.0/build/3rdparty/grpc-1.10.0'
      
      DEPENDENCY ERROR
      
      The target you are trying to run requires an OpenSSL implementation.
      Your system doesn't have one, and either the third_party directory
      doesn't have it, or your compiler can't build BoringSSL.
      

      I ran configure without any options. This is its output:

      max@ubuntu:~/mesos-1.7.0/build$ ../configure 
      checking build system type... x86_64-unknown-linux-gnu
      checking host system type... x86_64-unknown-linux-gnu
      checking target system type... x86_64-unknown-linux-gnu
      checking for g++... g++
      checking whether the C++ compiler works... yes
      checking for C++ compiler default output file name... a.out
      checking for suffix of executables... 
      checking whether we are cross compiling... no
      checking for suffix of object files... o
      checking whether we are using the GNU C++ compiler... yes
      checking whether g++ accepts -g... yes
      checking for gcc... gcc
      checking whether we are using the GNU C compiler... yes
      checking whether gcc accepts -g... yes
      checking for gcc option to accept ISO C89... none needed
      checking whether gcc understands -c and -o together... yes
      checking whether ln -s works... yes
      checking for C++ compiler vendor... gnu
      checking for a sed that does not truncate output... /bin/sed
      checking for C++ compiler version... 5.4.0
      checking for C++ compiler vendor... (cached) gnu
      checking for a BSD-compatible install... /usr/bin/install -c
      checking whether build environment is sane... yes
      checking for a thread-safe mkdir -p... /bin/mkdir -p
      checking for gawk... gawk
      checking whether make sets $(MAKE)... yes
      checking for style of include used by make... GNU
      checking whether make supports nested variables... yes
      checking dependency style of gcc... gcc3
      checking dependency style of g++... gcc3
      checking whether to enable maintainer-specific portions of Makefiles... yes
      checking for ar... ar
      checking the archiver (ar) interface... ar
      checking how to print strings... printf
      checking for a sed that does not truncate output... (cached) /bin/sed
      checking for grep that handles long lines and -e... /bin/grep
      checking for egrep... /bin/grep -E
      checking for fgrep... /bin/grep -F
      checking for ld used by gcc... /usr/bin/ld
      checking if the linker (/usr/bin/ld) is GNU ld... yes
      checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
      checking the name lister (/usr/bin/nm -B) interface... BSD nm
      checking the maximum length of command line arguments... 1572864
      checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
      checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
      checking for /usr/bin/ld option to reload object files... -r
      checking for objdump... objdump
      checking how to recognize dependent libraries... pass_all
      checking for dlltool... no
      checking how to associate runtime and link libraries... printf %s\n
      checking for archiver @FILE support... @
      checking for strip... strip
      checking for ranlib... ranlib
      checking command to parse /usr/bin/nm -B output from gcc object... ok
      checking for sysroot... no
      checking for a working dd... /bin/dd
      checking how to truncate binary pipes... /bin/dd bs=4096 count=1
      checking for mt... mt
      checking if mt is a manifest tool... no
      checking how to run the C preprocessor... gcc -E
      checking for ANSI C header files... yes
      checking for sys/types.h... yes
      checking for sys/stat.h... yes
      checking for stdlib.h... yes
      checking for string.h... yes
      checking for memory.h... yes
      checking for strings.h... yes
      checking for inttypes.h... yes
      checking for stdint.h... yes
      checking for unistd.h... yes
      checking for dlfcn.h... yes
      checking for objdir... .libs
      checking if gcc supports -fno-rtti -fno-exceptions... no
      checking for gcc option to produce PIC... -fPIC -DPIC
      checking if gcc PIC flag -fPIC -DPIC works... yes
      checking if gcc static flag -static works... yes
      checking if gcc supports -c -o file.o... yes
      checking if gcc supports -c -o file.o... (cached) yes
      checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
      checking whether -lc should be explicitly linked in... no
      checking dynamic linker characteristics... GNU/Linux ld.so
      checking how to hardcode library paths into programs... immediate
      checking whether stripping libraries is possible... yes
      checking if libtool supports shared libraries... yes
      checking whether to build shared libraries... yes
      checking whether to build static libraries... no
      checking how to run the C++ preprocessor... g++ -E
      checking for ld used by g++... /usr/bin/ld -m elf_x86_64
      checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
      checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
      checking for g++ option to produce PIC... -fPIC -DPIC
      checking if g++ PIC flag -fPIC -DPIC works... yes
      checking if g++ static flag -static works... yes
      checking if g++ supports -c -o file.o... yes
      checking if g++ supports -c -o file.o... (cached) yes
      checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
      checking dynamic linker characteristics... (cached) GNU/Linux ld.so
      checking how to hardcode library paths into programs... immediate
      configure: creating ./config.lt
      config.lt: creating libtool
      checking whether to enable GC of unused sections... no
      configure: Setting up CXXFLAGS for g++ version >= 4.8
      checking whether C++ compiler accepts -fstack-protector-strong... yes
      checking whether g++ supports C++11 features by default... no
      checking whether g++ supports C++11 features with -std=c++11... yes
      checking if compiler needs -Werror to reject unknown flags... no
      checking for the pthreads library -lpthreads... no
      checking whether pthreads work without any flags... no
      checking whether pthreads work with -Kthread... no
      checking whether pthreads work with -kthread... no
      checking for the pthreads library -llthread... no
      checking whether pthreads work with -pthread... yes
      checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
      checking if more special flags are required for pthreads... no
      checking for PTHREAD_PRIO_INHERIT... yes
      configure: Setting up build environment for x86_64 linux-gnu
      checking for backtrace in -lunwind... no
      checking for main in -lgflags... no
      checking for patch... patch
      checking fts.h usability... yes
      checking fts.h presence... yes
      checking for fts.h... yes
      checking for library containing fts_close... none required
      checking apr_pools.h usability... yes
      checking apr_pools.h presence... yes
      checking for apr_pools.h... yes
      checking for apr_initialize in -lapr-1... yes
      checking for curl_global_init in -lcurl... yes
      checking for javac... /usr/bin/javac
      checking for java... /usr/bin/java
      checking value of Java system property 'java.home'... /usr/lib/jvm/java-8-openjdk-amd64/jre
      configure: using JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
      checking whether or not we can build with JNI... yes
      checking for mvn... /usr/bin/mvn
      checking for javah... /usr/lib/jvm/java-8-openjdk-amd64/bin/javah
      checking for sasl_done in -lsasl2... yes
      checking SASL CRAM-MD5 support... yes
      checking for RAND_poll in -lcrypto... no
      checking openssl/ssl.h usability... no
      checking openssl/ssl.h presence... no
      checking for openssl/ssl.h... no
      checking svn_version.h usability... yes
      checking svn_version.h presence... yes
      checking for svn_version.h... yes
      checking for svn_stringbuf_create_ensure in -lsvn_subr-1... yes
      checking svn_delta.h usability... yes
      checking svn_delta.h presence... yes
      checking for svn_delta.h... yes
      checking for svn_txdelta in -lsvn_delta-1... yes
      checking whether to enable the XFS disk isolator... no
      checking zlib.h usability... yes
      checking zlib.h presence... yes
      checking for zlib.h... yes
      checking for deflate, gzread, gzwrite, inflate in -lz... yes
      checking C++ standard library for undefined behaviour with selected optimization level... no
      checking for python... /usr/bin/python
      checking for python version... 2.7
      checking for python platform... linux2
      checking for python script directory... ${prefix}/lib/python2.7/dist-packages
      checking for python extension module directory... ${exec_prefix}/lib/python2.7/dist-packages
      checking for python2.7... (cached) /usr/bin/python
      checking for a version of Python >= '2.1.0'... yes
      checking for a version of Python >= '2.6'... yes
      checking for the distutils Python package... yes
      checking for Python include path... -I/usr/include/python2.7
      checking for Python library path... -L/usr/lib -lpython2.7
      checking for Python site-packages path... /usr/lib/python2.7/dist-packages
      checking python extra libraries... -lpthread -ldl  -lutil -lm
      checking python extra linking flags... -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
      checking consistency of all components of python development environment... yes
      checking whether we can build usable Python eggs... cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
      yes
      checking for an old installation of the Mesos egg (before 0.20.0)... no
      checking whether to enable new CLI... no
      checking that generated files are newer than configure... done
      configure: creating ./config.status
      config.status: creating Makefile
      config.status: creating mesos.pc
      config.status: creating src/Makefile
      config.status: creating 3rdparty/Makefile
      config.status: creating 3rdparty/libprocess/Makefile
      config.status: creating 3rdparty/libprocess/include/Makefile
      config.status: creating 3rdparty/stout/Makefile
      config.status: creating 3rdparty/stout/include/Makefile
      config.status: creating 3rdparty/gmock_sources.cc
      config.status: creating bin/mesos.sh
      config.status: creating bin/mesos-agent.sh
      config.status: creating bin/mesos-local.sh
      config.status: creating bin/mesos-master.sh
      config.status: creating bin/mesos-slave.sh
      config.status: creating bin/mesos-tests.sh
      config.status: creating bin/mesos-agent-flags.sh
      config.status: creating bin/mesos-local-flags.sh
      config.status: creating bin/mesos-master-flags.sh
      config.status: creating bin/mesos-slave-flags.sh
      config.status: creating bin/mesos-tests-flags.sh
      config.status: creating bin/gdb-mesos-agent.sh
      config.status: creating bin/gdb-mesos-local.sh
      config.status: creating bin/gdb-mesos-master.sh
      config.status: creating bin/gdb-mesos-slave.sh
      config.status: creating bin/gdb-mesos-tests.sh
      config.status: creating bin/lldb-mesos-agent.sh
      config.status: creating bin/lldb-mesos-local.sh
      config.status: creating bin/lldb-mesos-master.sh
      config.status: creating bin/lldb-mesos-slave.sh
      config.status: creating bin/lldb-mesos-tests.sh
      config.status: creating bin/valgrind-mesos-agent.sh
      config.status: creating bin/valgrind-mesos-local.sh
      config.status: creating bin/valgrind-mesos-master.sh
      config.status: creating bin/valgrind-mesos-slave.sh
      config.status: creating bin/valgrind-mesos-tests.sh
      config.status: creating src/deploy/mesos-daemon.sh
      config.status: creating src/deploy/mesos-start-agents.sh
      config.status: creating src/deploy/mesos-start-cluster.sh
      config.status: creating src/deploy/mesos-start-masters.sh
      config.status: creating src/deploy/mesos-start-slaves.sh
      config.status: creating src/deploy/mesos-stop-agents.sh
      config.status: creating src/deploy/mesos-stop-cluster.sh
      config.status: creating src/deploy/mesos-stop-masters.sh
      config.status: creating src/deploy/mesos-stop-slaves.sh
      config.status: creating include/mesos/version.hpp
      config.status: creating src/java/generated/org/apache/mesos/MesosNativeLibrary.java
      config.status: creating mpi/mpiexec-mesos
      config.status: creating src/examples/java/test-exception-framework
      config.status: creating src/examples/java/test-executor
      config.status: creating src/examples/java/test-framework
      config.status: creating src/examples/java/test-multiple-executors-framework
      config.status: creating src/examples/java/test-log
      config.status: creating src/examples/java/v1-test-framework
      config.status: creating src/java/mesos.pom
      config.status: creating src/examples/python/test-executor
      config.status: creating src/examples/python/test-framework
      config.status: creating src/python/setup.py
      config.status: creating src/python/cli/setup.py
      config.status: creating src/python/interface/setup.py
      config.status: creating src/python/native_common/ext_modules.py
      config.status: creating src/python/executor/setup.py
      config.status: creating src/python/native/setup.py
      config.status: creating src/python/scheduler/setup.py
      config.status: linking src/python/native_common/ext_modules.py to src/python/executor/ext_modules.py
      config.status: linking src/python/native_common/ext_modules.py to src/python/scheduler/ext_modules.py
      config.status: executing depfiles commands
      config.status: executing libtool commands
      configure: Build option summary:
          CXX:        g++
          CXXFLAGS:   -g1 -O0 -Wno-unused-local-typedefs -std=c++11
          CPPFLAGS:   -I/usr/include/subversion-1 -I/usr/include/apr-1 -I/usr/include/apr-1.0	      
          LDFLAGS:    
          LIBS:       -lz -lsvn_delta-1 -lsvn_subr-1 -lsasl2 -lcurl -lapr-1  -lrt
          JAVA_TEST_LDFLAGS: -L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server -R/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server -Wl,-ljvm
          JAVA_JVM_LIBRARY:  /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so
      

      Attachments

        Activity

          People

            chhsia0 Chun-Hung Hsiao
            makkesham Max Jonas Werner
            Jie Yu Jie Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: