<div dir="ltr"><div dir="ltr"><div dir="ltr">Did you try to pick a pre-compiled version of CMake?<div><a href="https://cmake.org/download/">https://cmake.org/download/</a></div><div><br></div><div><a href="https://github.com/Kitware/CMake/releases/download/v3.13.2/cmake-3.13.2-Linux-x86_64.tar.gz">https://github.com/Kitware/CMake/releases/download/v3.13.2/cmake-3.13.2-Linux-x86_64.tar.gz</a><br><div>CMake is statically linked so installing a binary should work.</div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">Le ven. 14 déc. 2018 à 17:48, Paul Jeffries <<a href="mailto:paulwjeffries@gmail.com">paulwjeffries@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dear list,</div>


        
        <span></span>
        
        


<p style="margin-bottom:0.08in">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. 
</p>
<p style="margin-bottom:0.08in">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.)</p>
<p style="margin-bottom:0.08in">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”.
</p>
<p style="margin-bottom:0.08in">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? 
</p>
<p style="margin-bottom:0.08in">Any help would be appreciated. 
</p>
<p style="margin-bottom:0.08in">Paul</p>
<pre class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace"><code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">paul@paul-VirtualBox:~/cmake-3.13.1$ CC=gcc ./bootstrap && make && sudo make install</code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">---------------------------------------------</code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">CMake 3.13.1, Copyright 2000-2018 Kitware, Inc. and Contributors</code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">C compiler on this system is: gcc       </code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">C++ compiler on this system is: clang++  -std=gnu++1y     </code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">Makefile processor on this system is: make</code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">clang++ has setenv</code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">clang++ has unsetenv</code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">clang++ does not have environ in stdlib.h</code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">clang++ has stl wstring</code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">clang++ has <ext/stdio_filebuf.h></code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">---------------------------------------------</code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">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  </code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">-I/home/paul/cmake-3.13.1/Utilities  -c /home/paul/cmake-3.13.1/Source/cmAddCustomCommandCommand.cxx -o cmAddCustomCommandCommand.o </code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">In file included from /home/paul/cmake-3.13.1/Source/cmAddCustomCommandCommand.cxx:9:</code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">In file included from /home/paul/cmake-3.13.1/Source/cmCustomCommand.h:9: </code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">/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)</code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">  </code><code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">^ /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)</code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">                   </code><code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">^</code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">2 errors generated.</code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">make: *** [cmAddCustomCommandCommand.o] Error 1</code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">---------------------------------------------</code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">Error when bootstrapping CMake:</code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">Problem while running make</code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">---------------------------------------------</code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">Log of errors: /home/paul/cmake-3.13.1/Bootstrap.cmk/cmake_bootstrap.log</code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">---------------------------------------------</code>
<code class="gmail-m_3945131249264050963gmail-western" style="font-family:"DejaVu Sans Mono",monospace">paul@paul-VirtualBox:~/cmake-3.13.1$ </code></pre><p style="margin-bottom:0in">
<br>

</p>

<div><br></div><div><br></div></div>
-- <br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://cmake.org/mailman/listinfo/cmake" rel="noreferrer" target="_blank">https://cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Eric<br></div></div></div></div></div>