Make errors when running ./bootstrap to compile and install cmake-3.13.1 on Ubuntu 12.04












0














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 complier because when I ran ./bootstrap by itself, I got an error message that there was no C++ complier. 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 Contributors
C compiler on this system is: gcc
C++ compiler on this system is: clang++ -std=gnu++1y
Makefile processor on this system is: make
clang++ has setenv
clang++ has unsetenv
clang++ does not have environ in stdlib.h
clang++ has stl wstring
clang++ 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$









share|improve this question



























    0














    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 complier because when I ran ./bootstrap by itself, I got an error message that there was no C++ complier. 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 Contributors
    C compiler on this system is: gcc
    C++ compiler on this system is: clang++ -std=gnu++1y
    Makefile processor on this system is: make
    clang++ has setenv
    clang++ has unsetenv
    clang++ does not have environ in stdlib.h
    clang++ has stl wstring
    clang++ 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$









    share|improve this question

























      0












      0








      0







      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 complier because when I ran ./bootstrap by itself, I got an error message that there was no C++ complier. 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 Contributors
      C compiler on this system is: gcc
      C++ compiler on this system is: clang++ -std=gnu++1y
      Makefile processor on this system is: make
      clang++ has setenv
      clang++ has unsetenv
      clang++ does not have environ in stdlib.h
      clang++ has stl wstring
      clang++ 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$









      share|improve this question













      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 complier because when I ran ./bootstrap by itself, I got an error message that there was no C++ complier. 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 Contributors
      C compiler on this system is: gcc
      C++ compiler on this system is: clang++ -std=gnu++1y
      Makefile processor on this system is: make
      clang++ has setenv
      clang++ has unsetenv
      clang++ does not have environ in stdlib.h
      clang++ has stl wstring
      clang++ 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$






      12.04 compiling c++






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 13 at 19:50









      PaulJ

      11




      11



























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1100713%2fmake-errors-when-running-bootstrap-to-compile-and-install-cmake-3-13-1-on-ubun%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1100713%2fmake-errors-when-running-bootstrap-to-compile-and-install-cmake-3-13-1-on-ubun%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

          Eduardo VII do Reino Unido