On Tue, Mar 10, 2009 at 10:23 PM, Tom Roberts <tjrob_at_fnal.gov> 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)
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)
Software installed via Fink should all stay (as far as I know) under /sw, so I don't think your gfortran comes from there.
Hope this helps.
Cheers,
-- : Dario Berzano : Department of Physics - University of Torino : Wiki: http://newton.ph.unito.it/~berzano/ : GPG: http://newton.ph.unito.it/~berzano/gpgReceived on Wed Mar 11 2009 - 01:21:17 CET
This archive was generated by hypermail 2.2.0 : Wed Mar 11 2009 - 05:50:03 CET