You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Stitcher (JIRA)" <ji...@apache.org> on 2017/10/11 20:19:00 UTC
[jira] [Commented] (PROTON-1611) cmake fails if g++ not installed
[ https://issues.apache.org/jira/browse/PROTON-1611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16200891#comment-16200891 ]
Andrew Stitcher commented on PROTON-1611:
-----------------------------------------
This is peculiar because the referenced CMake line is:
{{enable_language(CXX OPTIONAL)}}
So it explicitly tells CMake that it doesn't need to find the language!
> 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 Ruby (missing: RUBY_EXECUTABLE RUBY_INCLUDE_DIR RUBY_LIBRARY)
> -- 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
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org