Re: Error building Root 5.22 on Mac OS X

From: Tom Roberts <tjrob_at_fnal.gov>
Date: Wed, 11 Mar 2009 00:14:46 -0500


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 - 06:14:56 CET

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