Building clang/cling 3.5 for ROOT on Lion

Christopher Jones jonesc at
Mon Apr 7 16:03:22 PDT 2014


For me, I’m afraid, I think this means ROOT6 can only be properly supported on 10.8 or newer. As its only these OS versions that have c++11 support. If upstream have decided ROOT from version 6 onwards requires c++11 support, I am not going to second guess them.

I previously had variants in the ROOT port that allowed users to build the C++ sources with gcc, but this lead to all the well know issues and was removed. I will not be adding it back.

Unofficially, you might have luck on 10.7 with

> sudo port install root6 configure.compiler=macports-gcc-4.8

but given the issues, it will have to stay unofficial...


On 7 Apr 2014, at 11:13pm, Mojca Miklavec <mojca at> wrote:

> Hi,
> I would like to ask for advice about how to properly support building
> ROOT 6 (which builds clang/cling 3.5 as part of the installation) on
> Lion.
> I'm aware of But it's not
> clear to me if dependency on clang 3.5 means that one will be unable
> to to run ROOT 6 on 10.7 and earlier. Or if we just need to blacklist
> certain compilers.
> The first response from upstream was:
>> ROOT6 requires C++11, which is supported (using libc++) on 10.8
>> and 10.9 e.g. with XCode 5.1.
>> For 10.7 you can get GCC 4.7 or 4.8 from the usual Mac packagers,
>> or build clang with libc++ yourself; either one should work but the
>> former might be simpler.
> Mojca
> _______________________________________________
> macports-dev mailing list
> macports-dev at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2030 bytes
Desc: not available
URL: <>

More information about the macports-dev mailing list