qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-1611) cmake fails if g++ not installed
Date Tue, 17 Oct 2017 18:22:00 GMT

    [ https://issues.apache.org/jira/browse/PROTON-1611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16208080#comment-16208080

ASF subversion and git services commented on PROTON-1611:

Commit ab97f488a3690afa36852602f3b91da7752ea56f in qpid-proton's branch refs/heads/master
from [~astitcher]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=ab97f48 ]

PROTON-1611: Always enable building C++ binding
- There is no proper way to discover if there is a C++ compiler except
  enable_language(CXX) which has no way to fail and allow the rest of the
  build to carry on.

> cmake fails if g++ not installed
> --------------------------------
>                 Key: PROTON-1611
>                 URL: https://issues.apache.org/jira/browse/PROTON-1611
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: build, cpp-binding
>    Affects Versions: proton-c-0.18.0
>         Environment: "clean" centos docker image docker.io/centos:latest
>            Reporter: Ken Giusti
>            Assignee: Andrew Stitcher
>             Fix For: proton-c-0.18.0
> While testing the 0.18 proton beta I created a stock centos docker container and followed
the instructions in the INSTALL.md file, installing all the documented dependencies.
> cmake failed with:
> cmake .. -DCMAKE_INSTALL_PREFIX=/usr
> CMake Error at /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:446 (execute_process):
>   execute_process given COMMAND argument with no value.
> Call Stack (most recent call first):
>   /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:48 (CMAKE_DETERMINE_COMPILER_ID_VENDOR)
>   /usr/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake:127 (CMAKE_DETERMINE_COMPILER_ID)
>   CMakeLists.txt:24 (enable_language)
> -- The CXX compiler identification is unknown
> -- Build type is "RelWithDebInfo" (has debug symbols)
> -- PN_VERSION: 0.18.0 (beta)
> -- Can't locate the valgrind command; no run-time error detection
> -- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
> -- Building the epoll proactor
> -- Node.js (http://nodejs.org) is not installed: can't build JavaScript binding
> -- Could NOT find Perl (missing:  PERL_EXECUTABLE) 
> -- Could NOT find Perl (missing:  PERL_EXECUTABLE) 
> -- Could NOT find PerlLibs (missing:  PERL_LIBRARY PERL_INCLUDE_PATH) 
> -- Trying alternative search for Perl
> -- Looking for 
> -- No Perl devel environment found - skipping Perl bindings
> -- The tox tool is not available; skipping the python-tox-tests
> -- Configuring incomplete, errors occurred!
> See also "/root/qpid-proton-0.18.0-beta/BUILD/CMakeFiles/CMakeOutput.log".
> See also "/root/qpid-proton-0.18.0-beta/BUILD/CMakeFiles/CMakeError.log".
> Had to ' yum install gcc-c++' in order to get cmake generation to succeed. 
> Either the INSTALL.md needs to list gcc-c++ for a required dep, or the cmake scripts
need to avoid building the c++ binding if no c++ compiler is installed.
> Did not test but suspect ubuntu build may fail in a similar fashion.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message