sudo port uninstall clang-4.0 llvm-4.0 should do it for you.

don't forget to change the line in macports.conf about default_compilers, 
removing clang-4.0.

BTW I appear to have fixed clang-4.0 for snow leopard, and depending on what 
Jeremy wants to do with that, it should be working in macports or upstream 
eventually.

Although I'd recommend you stick with clang-3.8 or clang-3.9 for now, clang-4.0 
for snow leopard will work soonishly. There's a word... :>

Best,

Ken



On 2017-05-09, at 10:53 AM, ges...@ftp83plus.net wrote:

> Me again. 
> 
> I forgot, but how do I uninstall the broken llvm40 version?
> On Step 7, it complains about conflict between llvm39 and llvm 40.
> 
> Thanks
> 
> El 2017-05-05, a las 19:05, Ken Cunningham escribió:
> 
>> 
>> On 2017-05-04, at 12:32 PM, ges...@ftp83plus.net wrote:
>> 
>>>> Hello there, 
>>>> 
>>>> I needed to reinstall MacPorts on Snow Leopard, and followed the 
>>>> instructions in LibcxxOnOlderSystems (I recall some ports wouldn't compile 
>>>> properly without it), including the experimental steps. Only there, I 
>>>> replaced clang 3.9 by clang 4.0.
>>>> 
>>>> However, it failed on completing xsane compilation, as glib2 failed:
>>>> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/main.log
>>>> 
>>>> is pasted there:
>>>> https://pastebin.com/dmNJFQKU
>>>> 
>>>> From what I could read, it can't find a given header file. How did it went 
>>>> missing?
>>> 
>> 
>> 
>> As mentioned privately, it seems likely you've stumbled across this bug 
>> <https://bugs.llvm.org//show_bug.cgi?id=31504> which Jeremy reported a few 
>> months ago.
>> 
>> It looks like a new regression and I don't see that error on 10.6 with 
>> clang-3.7, clang-3.8, or clang-3.9, so if you back up in the 
>> libcxxonoldersystems instructions and install clang-3.8 or clang-3.9 you 
>> should be OK.
>> 
>> I haven't tried clang-4.0 to confirm this bug / error on my system yet, but 
>> I could assume I'd see it too if I did.
>> 
>> Best,
>> 
>> Ken
>> 
>> 
> 

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to