MacPorts and Clang
firetiti at gmail.com
Fri Jul 17 12:01:56 PDT 2015
thanks all for you help, it works.
Le 17 juil. 2015 à 05:33, Christopher Jones <jonesc at hep.phy.cam.ac.uk> a écrit :
> /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.
> Macports installs everything under /opt/local
> You can make a specific MacPorts clang version the default MP one using for example
> > sudo port select clang mp-clang-3.6
> This will make /opt/local/bin/clang etc. point to the MP 3.6 clang version.
> Then, to make this the ‘default’ you get at the command line, simply make sure /opt/local/bin is first in your PATH.
>> On 17 Jul 2015, at 9:33am, firetiti <firetiti at gmail.com> wrote:
>> I just installed the Clang last version using « sudo port install clang-3.6 @3.6.1_1 », and it worked perfectly fine.
>> But when I check the current version « clang —version », I still have the old clang version.
>> I tried to modify /usr/bin/clang in order to make a symbolic link on « /opt/local/bin/clang-mp-3.6 », but then macport does not work anymore:
>> FiReTiTi ~ $ sudo port upgrade outdated
>> Error: Unable to open port: can't set "compiler.blacklist": couldn't determine build number of compiler "clang"
>> To report a bug, follow the instructions in the guide:
>> How can I do in order to have the last clang version as the current one?
>> Thank you for your help,
>> - 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 proverb?).
>> macports-users mailing list
>> macports-users at lists.macosforge.org
- 18 - Education is not the learning of facts, but the training of the mind to think (Albert Einstein).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the macports-users