[R] Compile R-1.7.0 on Mac OS 10.2.6

David Orme d.orme at imperial.ac.uk
Tue May 20 10:59:10 CEST 2003


Hi,

Thanks for the suggestion but that isn't it. The library is there...

> [doibook:~] dorme% ls /sw/lib/libiconv.2.dylib
> /sw/lib/libiconv.2.dylib

... but something about the library version is wrong. My version of g77 
was freshly (last week) installed from source using finkcommander; I'm 
using the December 2002 Apple Developer Tools version of gcc.

David

On Monday, May 19, 2003, at 08:19  pm, Ulises Mora Alvarez wrote:

> Hi!
>
> Your log file clearly indicates that  /sw/lib/libiconv.2.dylib is 
> missing.
> You may want to verify with 'ls /sw/lib/libiconv.2.dylib'
>
> If your library is missing I'll recommend to reinstall  again g77 and 
> gcc.
> You may want to use the binaries instead of the sources to save some 
> time.
> I'll also recommend to install finkcommander
> (finkcommander.sourceforge.net)
>
> Regards.
>
>
> On Thu, 15 May 2003, David Orme wrote:
>
>> Hi,
>>
>> I can't get R-1.7.0 to compile on my Mac. Can someone give me some
>> pointers?
>>
>> The machine is an 800MHz iBook running OS 10.2.6. I have installed the
>> December 2002 Developers Tools and have installed g77, f2c and 
>> dlcompat
>> via fink. I've checked the versions of g77 and gcc and they're both
>> based on gcc version 3.1. I've got Apple's X11 (Beta 3). I've added
>> /sw/bin to my path. I've read through R-admin.pdf, particularly the
>> appendix on OS X.
>>
>> The problem seems to be something to do with the fortran compiler. The
>> final lines of the configure output are:
>>
>>> checking how to get verbose linking output from g77... configure:
>>> WARNING: compilation failed
>>>
>>> checking for Fortran 77 libraries...
>>> checking for dummy main to link with Fortran 77 libraries... none
>>> checking for Fortran 77 name-mangling scheme... configure: error:
>>> cannot compile a simple Fortran program
>>> See `config.log' for more details.
>>
>> Checking config.log, both the warning and error are associated with 
>> the
>> following message:
>>
>>> dyld: g77 version mismatch for library: /sw/lib/libiconv.2.dylib
>>> (compatibility version of user: 4.0.0 greater than library's version:
>>> 3.0.0)
>>
>> Can anyone help?
>>
>> Many thanks,
>> David
>> ---------------------------------------
>> Dr. David Orme
>>
>> Department of Biological Sciences
>> Imperial College London
>> Silwood Park Campus
>> Ascot, Berkshire SL5 7PY UK.
>>
>> Tel: +44 (0)20 759 42358
>> Fax: +44 (0)20 759 42339
>> e-mail: d.orme at imperial.ac.uk
>>
>> ______________________________________________
>> R-help at stat.math.ethz.ch mailing list
>> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>>
>
> -- 
> Ulises M. Alvarez
> LAB. DE ONDAS DE CHOQUE
> FISICA APLICADA Y TECNOLOGIA AVANZADA
> UNAM
> umalvarez at fata.unam.mx
>




More information about the R-help mailing list