[R-SIG-Mac] Problem with readline when building R from source.

Simon Urbanek simon.urbanek at r-project.org
Fri May 21 14:44:49 CEST 2010


On May 21, 2010, at 1:08 AM, Rolf Turner wrote:

> 
> On 21/05/2010, at 4:26 PM, Berend Hasselman wrote:
> 
>> 
>> On 21-05-2010, at 04:20, Rolf Turner wrote:
>> 
>>> 
>>> On 21/05/2010, at 1:46 PM, Simon Urbanek wrote:
>>> 
>>>> Rolf,
>>>> 
>>>> you have broken fink is /sw -- remove it (or move aside) and all should be well :)
>>> 
>>> 
>>> 	Psigh. I'm sure this is getting tedious for you ... but where else can I turn?
>>> 
>>> 	I did:
>>> 
>>> 		cd /sw
>>> 		sudo mv fink fink.broken
>>> 
>>> 	Then I tried the ./configure trick again.  Same error message as before.
>>> 
>>> 	Any other ideas? :-(
>> 
>> I believe Simon meant: remove or rename /sw and get rid of references to /sw/... in PATH
> 
> 
> I believe you're right!  I renamed /sw and did the ./configure thing.  That got me past
> the readline problem.  YAYYYYY!!!
> 
> But then a new problem reared it's ugly little head.  BOOOOOOO!!!
> 
>          .
>          .
>          .
>> checking for Fortran 77 libraries of gfortran...  -L/usr/local/lib -L/usr/local/lib/gcc/i686-apple-darwin8/4.2.3 -L/usr/local/lib/gcc/i686-apple-darwin8/4.2.3/../../.. -lgfortranbegin -lgfortran
>> checking how to get verbose linking output from gcc -std=gnu99... -v
>> checking for C libraries of gcc -std=gnu99...  -lcrt1.10.6.o -L/usr/local/lib -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64 -L/usr/lib/i686-apple-darwin10/4.2.1 -L/usr/lib/gcc/i686-apple-darwin10/4.2.1 -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../../i686-apple-darwin10/4.2.1 -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/../../.. -lSystem
>> checking for dummy main to link with Fortran 77 libraries... rm: conftest.dSYM: is a directory
>> none
>> checking for Fortran 77 name-mangling scheme... rm: conftest.dSYM: is a directory
>> unknown
>> configure: WARNING: unknown Fortran name-mangling scheme
>> checking whether gfortran appends underscores to external names... unknown
>> configure: error: cannot use Fortran
> 
> Any idea what the devil is going on here?  I'm getting very frustrated.  As usual. :-)
> 

I bet you are using 32-bit Fortran while using 64-bit gcc for everything else (see this list). You have two options: use F77="gfortran -arch x86_64" FC="gfortran -arch x86_64" or use the Leopard Fortran for Xcode instead of the old Tiger Fortran.

Cheers,
Simon



> 	cheers,
> 
> 		Rolf Turner
>> 
> ######################################################################
> Attention: 
> This e-mail message is privileged and confidential. If you are not the 
> intended recipient please delete the message and notify the sender. 
> Any views or opinions presented are solely those of the author.
> 
> This e-mail has been scanned and cleared by MailMarshal 
> www.marshalsoftware.com
> ######################################################################
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 
> 



More information about the R-SIG-Mac mailing list