Re: Error building Root 5.22 on Mac OS X

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Tue, 10 Mar 2009 16:31:47 -0500


Hi,

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).

Cheers,
Philippe

Tom Roberts wrote:
> I have Mac OS X 10.5.6 (latest release of Leopard). This is a Mac Pro
> (4-core Intel), but I have done "unset MAKEFLAGS" so only 1 CPU is used.
>
> I tried to build Root 5.22. The make fails with this message:
>
> gfortran -O2 -bind_at_load -o bin/g2root main/src/g2root.o \
> -Llib lib/libminicern.so \
> /usr/local/lib/gcc/i386-apple-darwin8.8.1/4.3.0/../../../libgfortran.dylib
> /usr/local/lib/gcc/i386-apple-darwin8.8.1/4.3.0/libgfortranbegin.a -lm
> -Wl,-rpath,@loader_path/../lib -pthread -ldl
> ld: -rpath can only be used when targeting Mac OS X 10.5 or later
>
>
> type gfortran
> gfortran is hashed (/usr/local/bin/gfortran)
>
> gfortran --version
> GNU Fortran 95 (GCC) 4.3.0 20061230 (experimental)
>
> Being in /usr/local/bin implies that gfortran probably came from Fink,
> not Mac OS X. Is there a version problem with it?
>
>
> How can I fix this?
>
>
> Tom Roberts
>
>
Received on Tue Mar 10 2009 - 22:31:53 CET

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