Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A4C7D200C00 for ; Wed, 18 Jan 2017 09:04:33 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A33F6160B3A; Wed, 18 Jan 2017 08:04:33 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C485C160B44 for ; Wed, 18 Jan 2017 09:04:32 +0100 (CET) Received: (qmail 40648 invoked by uid 500); 18 Jan 2017 08:04:32 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 40639 invoked by uid 99); 18 Jan 2017 08:04:32 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jan 2017 08:04:32 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 83BB21804B1 for ; Wed, 18 Jan 2017 08:04:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 5KUuMLLfF464 for ; Wed, 18 Jan 2017 08:04:30 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 69E1C5F282 for ; Wed, 18 Jan 2017 08:04:29 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 74C10E104D for ; Wed, 18 Jan 2017 08:04:28 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id C7F9D25284 for ; Wed, 18 Jan 2017 08:04:26 +0000 (UTC) Date: Wed, 18 Jan 2017 08:04:26 +0000 (UTC) From: "Michael Park (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (MESOS-6942) CMake build with `-DENABLE_LIBEVENT=ON` requires system-installed openssl. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 18 Jan 2017 08:04:33 -0000 [ https://issues.apache.org/jira/browse/MESOS-6942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Park updated MESOS-6942: -------------------------------- Summary: CMake build with `-DENABLE_LIBEVENT=ON` requires system-installed openssl. (was: CMake build with `-DENABLE_LIBEVENT=ON` looks for system openssl.) > CMake build with `-DENABLE_LIBEVENT=ON` requires system-installed openssl. > -------------------------------------------------------------------------- > > Key: MESOS-6942 > URL: https://issues.apache.org/jira/browse/MESOS-6942 > Project: Mesos > Issue Type: Bug > Components: cmake > Reporter: Michael Park > > Trying to build with CMake with {{-DENABLE_LIBEVENT=ON}} on Ubuntu without {{openssl}} installed produces the following error message. On OS X, it doesn't know to use the brew installed {{openssl}}. > {code} > -- Performing Test EVENT__HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY > -- Performing Test EVENT__HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY - Failed > CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message): > Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the > system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES > OPENSSL_INCLUDE_DIR) > Call Stack (most recent call first): > /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE) > /usr/share/cmake-3.5/Modules/FindOpenSSL.cmake:370 (find_package_handle_standard_args) > CMakeLists.txt:591 (find_package) > -- Configuring incomplete, errors occurred! > See also "/BUILD/3rdparty/libevent-2.1.5-beta/src/libevent-2.1.5-beta-build/CMakeFiles/CMakeOutput.log". > See also "/BUILD/3rdparty/libevent-2.1.5-beta/src/libevent-2.1.5-beta-build/CMakeFiles/CMakeError.log". > -- Cache values > // Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel. > CMAKE_BUILD_TYPE:STRING= > // Limited configurations > CMAKE_CONFIGURATION_TYPES:STRING=Debug;Release > // Install path prefix, prepended onto install directories. > CMAKE_INSTALL_PREFIX:PATH=/usr/local > // Define if libevent should be built with shared libraries instead of archives > EVENT__BUILD_SHARED_LIBRARIES:BOOL=OFF > // Enable running gcov to get a test coverage report (only works with GCC/CLang). Make sure to enable -DCMAKE_BUILD_TYPE=Debug as well. > EVENT__COVERAGE:BOOL=OFF > // Defines if libevent should build without the benchmark exectuables > EVENT__DISABLE_BENCHMARK:BOOL=OFF > // Define if libevent should build without support for a debug mode > EVENT__DISABLE_DEBUG_MODE:BOOL=OFF > // Disable verbose warnings with GCC > EVENT__DISABLE_GCC_WARNINGS:BOOL=OFF > // Define if libevent should not allow replacing the mm functions > EVENT__DISABLE_MM_REPLACEMENT:BOOL=OFF > // Define if libevent should build without support for OpenSSL encrpytion > EVENT__DISABLE_OPENSSL:BOOL=OFF > // Disable the regress tests > EVENT__DISABLE_REGRESS:BOOL=OFF > // Disable sample files > EVENT__DISABLE_SAMPLES:BOOL=OFF > // If tests should be compiled or not > EVENT__DISABLE_TESTS:BOOL=OFF > // Define if libevent should not be compiled with thread support > EVENT__DISABLE_THREAD_SUPPORT:BOOL=OFF > // Enable gcc function sections > EVENT__ENABLE_GCC_FUNCTION_SECTIONS:BOOL=OFF > // Enable compiler security checks > EVENT__ENABLE_GCC_HARDENING:BOOL=OFF > // Make all GCC warnings into errors > EVENT__ENABLE_GCC_WARNINGS:BOOL=OFF > // Enables verbose debugging > EVENT__ENABLE_VERBOSE_DEBUG:BOOL=OFF > // When crosscompiling forces running a test program that verifies that Kqueue works with pipes. Note that this requires you to manually run the test program on the the cross compilation target to verify that it works. See cmake documentation for try_run for more details > EVENT__FORCE_KQUEUE_CHECK:BOOL=OFF > // Path to a file. > OPENSSL_INCLUDE_DIR:PATH=OPENSSL_INCLUDE_DIR-NOTFOUND > 3rdparty/CMakeFiles/libevent-2.1.5-beta.dir/build.make:111: recipe for target '3rdparty/libevent-2.1.5-beta/src/libevent-2.1.5-beta-stamp/libevent-2.1.5-beta-configure' failed > make[3]: *** [3rdparty/libevent-2.1.5-beta/src/libevent-2.1.5-beta-stamp/libevent-2.1.5-beta-configure] Error 1 > make[3]: Leaving directory '/BUILD' > CMakeFiles/Makefile2:534: recipe for target '3rdparty/CMakeFiles/libevent-2.1.5-beta.dir/all' failed > make[2]: Leaving directory '/BUILD' > make[2]: *** [3rdparty/CMakeFiles/libevent-2.1.5-beta.dir/all] Error 2 > CMakeFiles/Makefile2:546: recipe for target '3rdparty/CMakeFiles/libevent-2.1.5-beta.dir/rule' failed > make[1]: *** [3rdparty/CMakeFiles/libevent-2.1.5-beta.dir/rule] Error 2 > make[1]: Leaving directory '/BUILD' > Makefile:234: recipe for target '3rdparty/CMakeFiles/libevent-2.1.5-beta.dir/rule' failed > make: *** [3rdparty/CMakeFiles/libevent-2.1.5-beta.dir/rule] Error 2 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)