CMake and Fortran compiler

Chris Jones jonesc at
Fri Dec 9 16:21:04 PST 2011

On 10 Dec 2011, at 12:02am, Mojca Miklavec wrote:

> On Sat, Dec 10, 2011 at 00:45, Chris Jones wrote:
>> On 9 Dec 2011, at 11:33pm, Mojca Miklavec wrote:
>>> Hello,
>>> I'm trying to compile Root with CMake (the Root package is MacPorts is
>>> broken, but even if it wasn't, there might be reasons why I would want
>>> to use a standalone version).
>> In what way is ROOT broken for you ?
> See my attachment in

and if you read further down you will find the problem. My bet is like another user you are using an external (and broken) gfortran compiler.

Try building with one of the gcc variants, to pick up a working one.

> But nevertheless ... my main question was about fortran. While the
> ticket with root can be solved independently, it is not even clear to
> me whether this is a problem with MacPorts or with Root.
>> I know there are a few issues, but all have workarounds or solutions. To say its broken is incorrect.
> What is the politically correct way to say that it doesn't compile then? ;)

It does compile if you use a working compiler …


> The way how it works or doesn't work is yet a different issue ... I
> haven't even started using it.
> (It might be that there is a workaround, but I'm not aware which one
> that is. I spent soooooo much time trying to figure out why
> clhep/geant4/root/gate don't compile that I almost gave up. Luckily
> some angel sent a link to a standalone with working Qt
> interface today.)
> Mojca

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

More information about the macports-users mailing list