Re: Error in compiling root v5-26-00 in MacOS

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Wed, 20 Jan 2010 11:24:29 +0100


Please install a newer version of gfortran (comes with gcc 4.4 on Fink).

Cheers, Fons.

Sidharth Kumar Prasad wrote:
> Dear All,
> I am trying to install root v5-26-00 in MacBook4,1
>
> It is having the Mac OS X 10.5.8 (9L30)
>
> The gcc version is "gcc version 4.0.1 (Apple Inc. build 5465)"
>
> I am getting the following error message,
>
> =========================================
>
> /usr/local/lib/gcc/i686-apple-darwin8/4.2.3/../../../x86_64/libgfortran.dylib
> /usr/local/lib/gcc/i686-apple-darwin8/4.2.3/x86_64/libgfortranbegin.a
> -lm -Wl,-rpath,@loader_path/../lib -pthread -ldl
> gfortran -O2 -m64 -std=legacy -o main/src/g2root.o -c main/src/g2root.f
> gfortran -O2 -m64 -o bin/g2root main/src/g2root.o \
> -Llib lib/libminicern.so \
>
> /usr/local/lib/gcc/i686-apple-darwin8/4.2.3/../../../x86_64/libgfortran.dylib
> /usr/local/lib/gcc/i686-apple-darwin8/4.2.3/x86_64/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
>
> collect2: ld returned 1 exit status
> make: *** [bin/g2root] Error 1
> rm core/utils/src/RStl_tmp.cxx core/utils/src/rootcint_tmp.cxx
> [root]$
> ===============================================
>
>
>
> Any suggestion and help to come out of the problem will be a great help
> to me.
>
> Thank you in advance.
> With my best regards,
> Sidharth Kumar Prasad(Graduate student)
>

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://fons.rademakers.org           Fax:   +41 22 7669640
Received on Wed Jan 20 2010 - 11:24:32 CET

This archive was generated by hypermail 2.2.0 : Wed Jan 20 2010 - 23:50:01 CET