[R-SIG-Mac] Which gfortran for Snow Leopard?

Simon Urbanek simon.urbanek at r-project.org
Mon Apr 26 19:12:04 CEST 2010


On Apr 26, 2010, at 12:59 PM, cstrato wrote:

> Dear Simon,
> 
> Sadly, this time your answer is not really helpful for me.
> 

The helpfulness of an answer depends directly on the question asked. That's why it is really pays off to think before posting and make yourself clear on what you really want.


> I have checked after installing gfortran-42-5646.pkg whether there is a libgfortran.dylib file and could not find one. Are dylib files no longer necessary for Snow Leopard?
> 

No - they never were.


> Looking once again at http://r.research.att.com/tools/ I just realized that there is a dynamic libgfortran: libgfortran-4.2.4-5646.tar.gz.
> Since I have already installed gfortran-42-5646.pkg can I simply install the tar file, too, or do I need to deinstall the pkg file first?
> 

If you need dynamic gfortran library for some particular reason you can use that tar ball - it contains just the gfortran library (as the name implies). And as the accompanying text says you better know what the implications are.

Cheers,
Simon



> 
> On 4/26/10 4:57 PM, Simon Urbanek wrote:
>> 
>> On Apr 25, 2010, at 2:57 PM, cstrato wrote:
>> 
>>> Dear Simon,
>>> 
>>> Since R-2.11.0 does no longer support Tiger I have just installed on my
>>> MacBook Pro Snow Leopard 10.6.3 and downloaded from Apple Xcode 3.2.2.
>>> Since there is still no gfortran I have installed your
>>> "gfortran-42-5646.pkg".
>>> 
>>> Now I wanted to compile ROOT for my BioC package xps and got the
>>> following error:
>>> g++ -dynamiclib -single_module -undefined dynamic_lookup -install_name
>>> @rpath/libminicern.so -O2 -o lib/libminicern.so
>>> misc/minicern/src/cernlib.o -ldl misc/minicern/src/hbook.o
>>> misc/minicern/src/kernlib.o misc/minicern/src/zebra.o libgfortran.dylib
>>> /usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64/libgfortranbegin.a
>>> i686-apple-darwin10-g++-4.2.1: libgfortran.dylib: No such file or directory
>>> 
>>> If this sounds familiar to you, you remember correctly, see:
>>> https://stat.ethz.ch/pipermail/r-sig-mac/2010-January/007048.html
>>> 
>>> Thus my obvious questions are:
>>> Is there a problem with gfortran-42-5646.pkg?
>> 
>> Not really.
>> 
>> 
>>> Which gfortran should I use for Xcode 3.2.2?
>>> 
>> 
>> Apple has not released sources for Xcode 3.2.2 so there is no Fortran (if you're picky).
>> 
>> Cheers,
>> Simon
>> 
>> 
>> 
>>> Best regards
>>> Christian
>>> _._._._._._._._._._._._._._._._._._
>>> C.h.r.i.s.t.i.a.n   S.t.r.a.t.o.w.a
>>> V.i.e.n.n.a           A.u.s.t.r.i.a
>>> e.m.a.i.l:        cstrato at aon.at
>>> _._._._._._._._._._._._._._._._._._
>>> 
>>> 
>>> 	[[alternative HTML version deleted]]
>>> 
>> 
>> Please do respect the posting guide - you are ignoring it quite stubbornly and it's starting to have an effect on the answers you get.
>> 
>> 
>> 
> 
> 



More information about the R-SIG-Mac mailing list