Dear list, I ultimately want to install a program called DosageConvertor that requires a version of cmake that is 3.2 or later. Therefore, I am trying to install a more recent version of cmake since the current version is 2.8.7.
When I run ./bootstrap, I get a message that there were problems running make: 2 errors generated. make: *** [cmAddCustomCommandCommand.o] Error 1 (I have added the complete output below.) I searched and found no clear solution to this problem. I did see that std should be set to gnu++11, but my output has “std=gnu++1y”. I specified the compiler because when I ran ./bootstrap by itself, I got an error message that there was no C++ compiler. Did I choose the wrong compiler? Am I missing a library? Any help would be appreciated. Paul paul@paul-VirtualBox:~/cmake-3.13.1$ CC=gcc ./bootstrap && make && sudo make install---------------------------------------------CMake 3.13.1, Copyright 2000-2018 Kitware, Inc. and ContributorsC compiler on this system is: gcc C++ compiler on this system is: clang++ -std=gnu++1y Makefile processor on this system is: makeclang++ has setenvclang++ has unsetenvclang++ does not have environ in stdlib.hclang++ has stl wstringclang++ has <ext/stdio_filebuf.h>---------------------------------------------clang++ -std=gnu++1y -I/home/paul/cmake-3.13.1/Bootstrap.cmk -I/home/paul/cmake-3.13.1/Source -I/home/paul/cmake- 3.13.1/Source/LexerParser -I/home/paul/cmake-3.13.1/Utilities -c /home/paul/cmake-3.13.1/Source/cmAddCustomCommandCommand.cxx -o cmAddCustomCommandCommand.o In file included from /home/paul/cmake-3.13.1/Source/cmAddCustomCommandCommand.cxx:9:In file included from /home/paul/cmake-3.13.1/Source/cmCustomCommand.h:9: /home/paul/cmake-3.13.1/Source/cmListFileCache.h:127:3: error: exception specification of explicitly defaulted move constructor does not match the cmListFileBacktrace(cmListFileBacktrace&&) // NOLINT(clang-tidy) ^ /home/paul/cmake-3.13.1/Source/cmListFileCache.h:130:24: error: exception specification of explicitly defaulted move assignment operator does not match the calculated one cmListFileBacktrace& operator=(cmListFileBacktrace&&) // NOLINT(clang-tidy) ^2 errors generated.make: *** [cmAddCustomCommandCommand.o] Error 1---------------------------------------------Error when bootstrapping CMake:Problem while running make---------------------------------------------Log of errors: /home/paul/cmake-3.13.1/Bootstrap.cmk/cmake_bootstrap.log---------------------------------------------paul@paul-VirtualBox:~/cmake-3.13.1$
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake