Re: Error building Root 5.22 on Mac OS X

From: OKUMURA, Akira <oxon_at_ceres.phys.s.u-tokyo.ac.jp>
Date: Wed, 11 Mar 2009 15:37:46 +0900


Hello Tom and all,

Thanks, now I understand the situation. My "resolution" in the bug tracker is to use g95 instead of gfortran.

The version of gfortran I used was

$ gfortran --version
GNU Fortran (GCC) 4.2.3
Copyright (C) 2007 Free Software Foundation, Inc.

that is distributed from
http://quatramaran.ens.fr/~coudert/gfortran/gfortran-macosx-x86.dmg

But this version seems not to work properly at least in ROOT compilation.

> http://www.macresearch.org/gfortran-leopard

This version works well in my environment too.

Regards,

OKUMURA, Akira oxon_at_ceres.phys.s.u-tokyo.ac.jp Department of Physics, The University of Tokyo 7-3-1 Hongo, Bunkyo-ku, Tokyo 113-0033
TEL/FAX +81 3-5841-4173/4059
Skype : okumura.akira

On 2009/03/11, at 14:14, Tom Roberts wrote:

> OKUMURA, Akira wrote:
>> See also https://savannah.cern.ch/bugs/?47873
>
> Yes, that's my problem. No resolution there, but see below.
>
>
> Philippe said:
>> You probably either need to upgrade to XCode 3.1 or to download (from
>> fink) a newer version of gcc (making sure it is _not_ the 10.4
>> compatible one).
>
> I downloaded and installed Xcode 3.1.2 (I have no gcc from fink). No
> change. Note that gcc changed:
> Was: gcc version 4.0.1 (Apple Inc. build 5465)
> Now: gcc version 4.0.1 (Apple Inc. build 5490)
>
> Note that "gfortran --version" says:
> GNU Fortran 95 (GCC) 4.3.0 20061230 (experimental)
>
>
> Drio said:
>> I have compiled a quite recent ROOT trunk on Mac OS X 10.5.6 with
>> gfortran installed from here:
>> http://www.macresearch.org/gfortran-leopard
>> The command "gfortran --version" prints out:
>> GNU Fortran (GCC) 4.3.0 20071026 (experimental)
>
> Thanks! That worked (after upgrading Xcode as above). Perhaps you
> could enter a comment into the bug listed above.
>
> [I must do "configure macosx" because you get 64-bit by
> default and that won't link with my application (though
> the 64-bit root program ran fine). I also do "make static"
> and link my program with Root statically because it needs
> only TNtuple and its I/O.]
>
>
> Tom Roberts
>
Received on Wed Mar 11 2009 - 07:38:00 CET

This archive was generated by hypermail 2.2.0 : Wed Mar 11 2009 - 11:50:02 CET