<div dir="ltr"><div>Can't help with the prebuilt versions -- they are mostly provided to test new versions and not used for anything else.</div><div><br></div>But I will try to help you build it, so please run the following commands (and never run sudo or login as root unless you absolutely have to). Please provide both the command and the output -- just cut-n-paste both from your terminal: <div><br></div><div>$ uname -a</div><div>$ cmake --version</div><div>$ gcc -v</div><div>$ python -V</div><div><br></div><div>This should tell you the defaults that cmake will use. Also, as Serge noted above, the cmake_error.txt file you provided showed that you were using the wrong versions of both gcc and python.</div><div><br></div><div>If you have newer versions for gcc and python installed on your box, you can always use the CC and CXX environment variables to select a different compiler or different version, e.g.,</div><div><br></div><div>$ CC=gcc-6.2 CXX=g++-6.2 cmake ../llvm ........</div><div><br></div><div>Not sure the best way to set your python version, other than symlink or alias, but a google search should provide plenty of alternatives.</div><div><br></div><div>Once you have fixed those 2 problems, we can try running cmake. </div><div><br></div><div>hth...</div><div>don</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 14, 2017 at 12:01 AM, <a href="mailto:chandini.sainu@wipro.com">chandini.sainu@wipro.com</a> <span dir="ltr"><<a href="mailto:chandini.sainu@wipro.com" target="_blank">chandini.sainu@wipro.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div class="m_-7841964137590941949WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Can I have update on the below mail.<u></u><u></u></span></p><span class="">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Your quick reply would be highly appreciated.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79">Chandini<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
</span><div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Chandini Sainu (GIS)
<br>
<b>Sent:</b> Friday, March 17, 2017 12:39 PM<br>
<b>To:</b> <a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<b>Cc:</b> 'don hinton' <<a href="mailto:hintonda@gmail.com" target="_blank">hintonda@gmail.com</a>><br>
<b>Subject:</b> RE: [cfe-dev] clang 3.9 installation<u></u><u></u></span></p>
</div>
</div><span class="">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Can someone help me with the below query.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
</span><div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f4e79">Chandini<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> don hinton [<a href="mailto:hintonda@gmail.com" target="_blank">mailto:hintonda@gmail.com</a>]
<br>
<b>Sent:</b> Thursday, March 16, 2017 7:23 PM<span class=""><br>
<b>To:</b> Chandini Sainu (GIS) <<a href="mailto:chandini.sainu@wipro.com" target="_blank">chandini.sainu@wipro.com</a>><br>
<b>Cc:</b> <a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
</span></span></p><div><div class="h5"><b>Subject:</b> Re: [cfe-dev] clang 3.9 installation<u></u><u></u></div></div><p></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p><span style="font-size:10.0pt">** This mail has been sent from an external source **</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Hi Chandini: <u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I've never used any of the pre-built binaries, so I really don't know. Perhaps someone else could give a better answer.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">take care...<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">don<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Thu, Mar 16, 2017 at 1:34 AM, <a href="mailto:chandini.sainu@wipro.com" target="_blank">
chandini.sainu@wipro.com</a> <<a href="mailto:chandini.sainu@wipro.com" target="_blank">chandini.sainu@wipro.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Don,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Greetings for the day!</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">As the clang 4.0 been released, can you help me in selecting the correct version from the pre-built
binaries for RHEL7 - x86_64</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><a href="http://llvm.org/releases/download.html" target="_blank">http://llvm.org/releases/<wbr>download.html</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><img border="0" width="398" height="280" id="m_-7841964137590941949m_-6681796733104275935Picture_x0020_1" src="cid:image001.png@01D2B51A.FD084340" alt="cid:image001.png@01D29E5D.C6E50290"><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Your quick reply would be highly appreciated.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Thanks,<br>
Chandini</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> don hinton [<a href="mailto:hintonda@gmail.com" target="_blank">mailto:hintonda@gmail.com</a>]
<br>
<b>Sent:</b> Tuesday, November 15, 2016 4:56 PM<br>
<b>To:</b> Chandini Sainu (GIS) <<a href="mailto:chandini.sainu@wipro.com" target="_blank">chandini.sainu@wipro.com</a>><br>
<b>Cc:</b> <a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>;
<a href="mailto:sepavloff@gmail.com" target="_blank">sepavloff@gmail.com</a></span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><br>
<b>Subject:</b> Re: [cfe-dev] clang 3.9 installation<u></u><u></u></p>
</div>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<p><span style="font-size:10.0pt">** This mail has been sent from an external source **</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">If you want to build llvm+clang from scratch, please follow these instructions:<br>
<br>
<a href="http://clang.llvm.org/get_started.html" target="_blank">http://clang.llvm.org/get_<wbr>started.html</a><br>
<br>
But, if you just want to use it, I'd suggest you download one of the pre-built binaries found here:<br>
<br>
<a href="http://llvm.org/releases/download.html" target="_blank">http://llvm.org/releases/<wbr>download.html</a><u></u><u></u></p>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">On Tue, Nov 15, 2016 at 2:34 AM <<a href="mailto:chandini.sainu@wipro.com" target="_blank">chandini.sainu@wipro.com</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Don,</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Tried without sudo but still the same issue.</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">llvm 3.9 is downloaded. Do you want me to link clang to
llvm/tools?</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">FYI</span></b></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">[sainu@oulnxc55 xfer/sainu/cfe-3.9.0.src]$ls</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:9.0pt;font-family:"Courier New";color:#1f497d">bindings CMakeLists.txt docs include INSTALL.txt LICENSE.TXT
NOTES.txt runtime tools utils</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:9.0pt;font-family:"Courier New";color:#1f497d">cmake CODE_OWNERS.TXT examples INPUTS lib ModuleInfo.txt
README.txt test unittests www</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">[sainu@oulnxc55 xfer/sainu/llvm-3.9.0.src/<wbr>tools]$ls</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:9.0pt;font-family:"Courier New";color:#1f497d">bugpoint llvm-ar <wbr> llvm-cov
llvm-extract llvm-mcmarkup llvm-shlib msbuild yaml2obj</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:9.0pt;font-family:"Courier New";color:#1f497d">bugpoint-passes llvm-as <wbr> llvm-c-test
llvm-go llvm-nm llvm-size obj2yaml</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:9.0pt;font-family:"Courier New";color:#1f497d">CMakeLists.txt llvm-as-fuzzer <wbr> llvm-cxxdump
llvm-jitlistener llvm-objdump llvm-split opt</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:9.0pt;font-family:"Courier New";color:#1f497d">dsymutil llvm-as-parasitic-coverage-<wbr>repro llvm-diff
llvm-link llvm-pdbdump llvm-stress sancov</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:9.0pt;font-family:"Courier New";color:#1f497d">gold llvm-bcanalyzer <wbr> llvm-dis
llvm-lto llvm-profdata llvm-symbolizer sanstats</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:9.0pt;font-family:"Courier New";color:#1f497d">llc LLVMBuild.txt <wbr> llvm-dwarfdump
llvm-mc llvm-readobj llvm-vtabledump verify-uselistorder</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:9.0pt;font-family:"Courier New";color:#1f497d">lli llvm-config <wbr> llvm-dwp
llvm-mc-fuzzer llvm-rtdyld lto xcode-toolchain</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">[sainu@oulnxc55 xfer/sainu/llvm-3.9.0.src/<wbr>tools]$</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Thanks,</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Chandini</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></span><u></u><u></u></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b></span><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">
don hinton [mailto:<a href="mailto:hintonda@gmail.com" target="_blank">hintonda@gmail.com</a>]
</span></span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><br>
<span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><b>Sent:</b> Monday, November 14, 2016 8:38 PM</span></span><u></u><u></u></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><br>
<span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><b>To:</b> Chandini Sainu (GIS) <<a href="mailto:chandini.sainu@wipro.com" target="_blank">chandini.sainu@wipro.com</a>></span></span><u></u><u></u></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Cc:</span></b></span><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">
<a href="mailto:sepavloff@gmail.com" target="_blank">sepavloff@gmail.com</a>; clang developer list <<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>>; Suryakanta Sahoo (GIS) <<a href="mailto:suryakanta.sahoo@wipro.com" target="_blank">suryakanta.sahoo@wipro.com</a>></span></span><u></u><u></u></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><br>
<span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><b>Subject:</b> Re: [cfe-dev] clang 3.9 installation</span></span><u></u><u></u></p>
</div>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="m_-7841964137590941949m-6681796733104275935gmailmsg1"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:10.0pt">** This mail has been sent from an external source **</span></span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Btw, sudo only explains the gcc version issue.
<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">The other errors seem to indicate cmake can't find the llvm directory. Did you download llvm? Normally, you download clang under the llvm/tools directory (renaming or linking
cfe as clang), then run cmake like this:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> cmake <options> ../llvm<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">where ../llvm points to the llvm root directory.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">again, hth...<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">don <u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">On Mon, Nov 14, 2016 at 6:52 AM, <<a href="mailto:chandini.sainu@wipro.com" target="_blank">chandini.sainu@wipro.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Hinton,</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Will check and revert back.</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Thanks,</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Chandini</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></span><u></u><u></u></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b></span><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">
don hinton [mailto:<a href="mailto:hintonda@gmail.com" target="_blank">hintonda@gmail.com</a>]
</span></span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><br>
<span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><b>Sent:</b> Monday, November 14, 2016 8:07 PM</span><br>
<span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><b>To:</b> Chandini Sainu (GIS) <<a href="mailto:chandini.sainu@wipro.com" target="_blank">chandini.sainu@wipro.com</a>>;
<a href="mailto:sepavloff@gmail.com" target="_blank">sepavloff@gmail.com</a></span><br>
<span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><b>Cc:</b> <a href="mailto:cfe-dev@lists.llvm.org" target="_blank">
cfe-dev@lists.llvm.org</a>; Suryakanta Sahoo (GIS) <<a href="mailto:suryakanta.sahoo@wipro.com" target="_blank">suryakanta.sahoo@wipro.com</a>></span></span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><br>
<b>Subject:</b> Re: [cfe-dev] clang 3.9 installation<u></u><u></u></p>
</div>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="m_-7841964137590941949m-6681796733104275935gmailmsg1"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:10.0pt">** This mail has been sent from an external source **</span></span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">The problem is sudo.<br>
<br>
Once you run sudo, you are root and have a completely different environment. My guess is that the newer version of gcc is installed in a non-standard location. If that's the case, you may need a few more options.<br>
<br>
Try running cmake and make without sudo, then, if needed, run "sudo make install" to actually do the installation step.<br>
<br>
hth...<br>
don<u></u><u></u></p>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">On Mon, Nov 14, 2016 at 5:35 AM via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Serge,</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Thanks for the response!</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">We are using the latest version of gcc (6.2)and python(3.3)
but the cmake is picking up the server installed packages only.</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Kindly suggest.</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Regards,</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Chandini</span></span><u></u><u></u></p>
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></span><u></u><u></u></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b></span><span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">
Serge Pavlov [mailto:<a href="mailto:sepavloff@gmail.com" target="_blank">sepavloff@gmail.com</a>]
</span></span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><br>
<span class="m_-7841964137590941949m-6681796733104275935m-304784531293601737m4945961684187394763gmailmsg"><b>Sent:</b> Monday, November 14, 2016 6:45 PM</span><br>
<span class="m_-7841964137590941949m-6681796733104275935m-304784531293601737m4945961684187394763gmailmsg"><b>To:</b> Chandini Sainu (GIS) <<a href="mailto:chandini.sainu@wipro.com" target="_blank">chandini.sainu@wipro.com</a>></span><br>
<span class="m_-7841964137590941949m-6681796733104275935m-304784531293601737m4945961684187394763gmailmsg"><b>Cc:</b>
<a href="mailto:dwiberg@gmail.com" target="_blank">dwiberg@gmail.com</a>; Joerg Sonnenberger <<a href="mailto:joerg@bec.de" target="_blank">joerg@bec.de</a>>; Clang Dev <<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>>; Suryakanta
Sahoo (GIS) <<a href="mailto:suryakanta.sahoo@wipro.com" target="_blank">suryakanta.sahoo@wipro.com</a>></span></span><u></u><u></u></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><br>
<span class="m_-7841964137590941949m-6681796733104275935m-304784531293601737m4945961684187394763gmailmsg"><b>Subject:</b> Re: [cfe-dev] clang 3.9 installation</span></span><u></u><u></u></p>
</div>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="m_-7841964137590941949m-6681796733104275935m-304784531293601737m4945961684187394763gmailmsg1">
<span class="m_-7841964137590941949m-6681796733104275935gmailmsg"><span style="font-size:10.0pt">** This mail has been sent from an external source **</span></span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">According to the attached files you are using too old gcc (4.4.6 but 4.8+ is needed) and python (2.6 but 2.7+ is needed).<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Thanks,<br>
--Serge<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">2016-11-14 14:50 GMT+07:00 via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>>:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<p class="MsoNormal">Hi David/Joerg,<br>
<br>
Below are requested details.<br>
<br>
Your quick support is highly appreciated!<br>
<br>
Thanks,<br>
Chandini<br>
<br>
-----Original Message-----<br>
From: David Wiberg [mailto:<a href="mailto:dwiberg@gmail.com" target="_blank">dwiberg@gmail.com</a>]<br>
Sent: Monday, November 14, 2016 2:39 AM<br>
To: Suryakanta Sahoo (GIS) <<a href="mailto:suryakanta.sahoo@wipro.com" target="_blank">suryakanta.sahoo@wipro.com</a>><br>
Cc: <a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>; Chandini Sainu (GIS) <<a href="mailto:chandini.sainu@wipro.com" target="_blank">chandini.sainu@wipro.com</a>><br>
Subject: Re: [cfe-dev] clang 3.9 installation<br>
<br>
** This mail has been sent from an external source **<br>
<br>
Hi,<br>
<br>
You will need to provide more information for anyone to be able to help you.<br>
<br>
For example:<br>
- Which Linux distribution/version are you running? → RHEL6.7<br>
- What steps have you performed?<br>
<br>
GCC version → gcc_6_2_0<br>
Cmake version → cmake-3_6_2<br>
Python version → python3_3_2<br>
<br>
Command being used → sudo cmake -DCMAKE_INSTALL_PREFIX=/<wbr>applics/platform/clang_3_9_0 -DLLVM_ENABLE_FFI=ON -DCMAKE_BUILD_TYPE=Release -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_TARGETS_TO_BUILD="host;<wbr>AMDGPU" -Wno-dev ..<br>
<br>
- What error messages do you receive?<br>
<br>
Errors attached.<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><br>
Best regards<br>
David<br>
<br>
2016-11-11 0:15 GMT+01:00 via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>>:<br>
> Hi Team,<br>
><br>
><br>
><br>
> We are trying to install clang 3.9 in Linux Server. We tried<br>
> installing using the steps available in the website, we are getting errors.<br>
><br>
><br>
><br>
> Could you please assist us with the procedure to do so.<br>
><br>
><br>
><br>
><br>
><br>
> Thanks & Regards,<br>
><br>
> Suryakanta Sahoo<br>
><br>
> Project Engineer,<br>
><br>
> Wipro Technology Services Ltd<br>
><br>
><br>
><br>
> The information contained in this electronic message and any<br>
> attachments to this message are intended for the exclusive use of the<br>
> addressee(s) and may contain proprietary, confidential or privileged<br>
> information. If you are not the intended recipient, you should not<br>
> disseminate, distribute or copy this e-mail. Please notify the sender<br>
> immediately and destroy all copies of this message and any<br>
> attachments. WARNING: Computer viruses can be transmitted via email.<br>
> The recipient should check this email and any attachments for the<br>
> presence of viruses. The company accepts no liability for any damage<br>
> caused by any virus transmitted by this email. <a href="http://www.wipro.com" target="_blank">
www.wipro.com</a><br>
><br>
> ______________________________<wbr>_________________<br>
> cfe-dev mailing list<br>
> <a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" target="_blank">
http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-dev</a><br>
><br>
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should
not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments
for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
<a href="http://www.wipro.com" target="_blank">www.wipro.com</a><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
______________________________<wbr>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-dev</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
<div>
<p class="MsoNormal">The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential
or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be
transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
<a href="http://www.wipro.com" target="_blank">www.wipro.com</a> <u></u><u></u></p>
</div>
<p class="MsoNormal">______________________________<wbr>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-dev</a><u></u><u></u></p>
</blockquote>
</div>
</div>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal">The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential
or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be
transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
<a href="http://www.wipro.com" target="_blank">www.wipro.com</a> <u></u><u></u></p>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
<div>
<p class="MsoNormal">The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential
or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be
transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
<a href="http://www.wipro.com" target="_blank">www.wipro.com</a> <u></u><u></u></p>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal">The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended
recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this
email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
<a href="http://www.wipro.com" target="_blank">www.wipro.com</a> <u></u><u></u></p>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div></div></div><div><div class="h5">
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should
not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments
for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. <a href="http://www.wipro.com" target="_blank">www.wipro.com</a>
</div></div></div>
</blockquote></div><br></div>