<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi,<div>thanks all for you help, it works.</div><div><br></div><div><br></div><div><br></div><div><br><div><div>Le 17 juil. 2015 à 05:33, Christopher Jones &lt;<a href="mailto:jonesc@hep.phy.cam.ac.uk">jonesc@hep.phy.cam.ac.uk</a>&gt; a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi,</div><div class=""><br class=""></div><div class="">/usr/bin/clang is the Apple system clang. You REALLY REALLY should not go fiddling with this. If you have changed it, change it back… Much breakage will occur if you do not.</div><div class=""><br class=""></div><div class="">Macports installs everything under /opt/local&nbsp;</div><div class=""><br class=""></div><div class="">You can make a specific MacPorts clang version the default MP one using for example</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 12px; font-family: Menlo; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);">&nbsp;&gt; sudo port select clang mp-clang-3.6</div></div><div class=""><br class=""></div><div class="">This will make /opt/local/bin/clang etc. point to the MP 3.6 clang version.</div><div class=""><br class=""></div><div class="">Then, to make this the ‘default’ you get at the command line, simply make sure /opt/local/bin is first in your PATH.</div><div class=""><br class=""></div><div class="">Chris</div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On 17 Jul 2015, at 9:33am, firetiti &lt;<a href="mailto:firetiti@gmail.com" class="">firetiti@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=windows-1252" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi,</div><div class=""><br class=""></div><div class="">I just installed the Clang last version using « sudo port install clang-3.6 @3.6.1_1&nbsp;», and it worked perfectly fine.</div><div class="">But when I check the current version « clang —version », I still have the old clang version.</div><div class="">I tried to modify /usr/bin/clang in order to make a symbolic link on «&nbsp;/opt/local/bin/clang-mp-3.6&nbsp;», but then macport does not work anymore:</div><div class=""><div style="margin: 0px; font-family: Monaco; color: rgb(204, 204, 204); background-color: rgb(2, 2, 2);" class=""><span style="color: #34bd27" class="">FiReTiTi</span><span style="color: #9cd6dd" class=""> </span><span style="color: #5431e2" class="">~</span><span style="color: #9cd6dd" class=""> </span><span style="color: #34bd27" class="">$ </span>sudo port upgrade outdated</div><div style="margin: 0px; font-family: Monaco; color: rgb(204, 204, 204); background-color: rgb(2, 2, 2);" class="">Error: Unable to open port: can't set "compiler.blacklist": couldn't determine build number of compiler "clang"</div><div style="margin: 0px; font-family: Monaco; color: rgb(204, 204, 204); background-color: rgb(2, 2, 2);" class="">To report a bug, follow the instructions in the guide:</div><div style="margin: 0px; font-family: Monaco; color: rgb(204, 204, 204); background-color: rgb(2, 2, 2); position: static; z-index: auto;" class="">&nbsp; &nbsp; <a href="http://guide.macports.org/#project.tickets" class="">http://guide.macports.org/#project.tickets</a></div></div><div class=""><br class=""></div><div class="">How can I do in order to have the last clang version as the current one?</div><div class=""><br class=""></div><div class="">Thank you for your help,</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div apple-content-edited="true" class="">
<div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; -webkit-text-stroke-width: 0px; word-spacing: 0px; white-space: normal; text-transform: none; letter-spacing: normal;" class=""><div style="orphans: 2; widows: 2; font-family: Helvetica;" class="">__________________________________</div></div></div><div apple-content-edited="true" class=""><div style="orphans: 2; widows: 2;" class=""><font color="#00beff" size="1" class=""><i class="">&nbsp;- 22 - It’s only when a mosquito lands on your testicules that you realize there is always a way to solve problems without using violence (Chinese&nbsp;proverb?).</i></font></div>
</div>


<br class=""></div>_______________________________________________<br class="">macports-users mailing list<br class=""><a href="mailto:macports-users@lists.macosforge.org" class="">macports-users@lists.macosforge.org</a><br class=""><a href="https://lists.macosforge.org/mailman/listinfo/macports-users">https://lists.macosforge.org/mailman/listinfo/macports-users</a><br class=""></div></blockquote></div><br class=""></div></blockquote></div><br><div apple-content-edited="true">
<div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; -webkit-text-stroke-width: 0px; word-spacing: 0px; white-space: normal; text-transform: none; letter-spacing: normal; color: rgb(0, 0, 0);"><div style="orphans: 2; widows: 2; font-family: Helvetica;">__________________________________</div><div style="orphans: 2; widows: 2; font-family: Helvetica;">Guillaume</div><div style="orphans: 2; widows: 2; font-family: Helvetica;"><br></div><div style=" orphans: 2; widows: 2;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><font size="1"><i><span style="color: rgb(0, 190, 255);">&nbsp;- 18</span><font color="#00beff">&nbsp;- Education is not the learning of facts, but the training of the mind to think&nbsp;(Albert Einstein)</font><span style="color: rgb(0, 190, 255);">.</span></i></font></div></div></span></div></div></div>
</div>
<br></div></body></html>