[R-SIG-Mac] problem installing BMA with R.Gui (2.1.0) on Tiger

Anestis Antoniadis antonia at imag.fr
Sat May 7 09:12:31 CEST 2005


Dear Simon,
I am using R from CRAN.
I am already set up for gcc3

[liontari:~] anestisa% sudo gcc_select 3.3
Password:
You are already using gcc version 3.3 as the default compiler.

I have g77 v.3.4

I have suppressed the -lcc-dynamic in MakeConf in etc

However here is what I get:


* Installing *source* package 'BMA' ...
** libs
g77   -fno-common  -g -O2 -c fwleaps.f -o fwleaps.o
gcc -bundle -flat_namespace -undefined suppress -L/usr/local/lib -o  
BMA.so fwleaps.o  -L/usr/local/lib/gcc/powerpc-apple-darwin6.8/3.4.2 - 
lg2c -lSystem -lcc_dynamic -framework R
** R
** data
** preparing package for lazy loading
Error in dyn.load(x, as.logical(local), as.logical(now)) :
     unable to load shared library '/Library/Frameworks/R.framework/ 
Resources/library/grDevices/libs/grDevices.so':
   dlopen(/Library/Frameworks/R.framework/Resources/library/grDevices/ 
libs/grDevices.so, 6): Library not loaded: /System/Library/Frameworks/ 
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ 
Versions/A/Resources/libTIFF.dylib
   Referenced from: /System/Library/Frameworks/ 
ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/ 
Versions/A/ImageIO
   Reason: Incompatible library version: ImageIO requires version  
1.0.0 or later, but libTIFF.dylib provides version 0.0.0
Loading required package: grDevices
Error in dyn.load(x, as.logical(local), as.logical(now)) :
     unable to load shared library '/Library/Frameworks/R.framework/ 
Resources/library/grDevices/libs/grDevices.so':
   dlopen(/Library/Frameworks/R.framework/Resources/library/grDevices/ 
libs/grDevices.so, 6): corrupt binary, library ordinal too big
In addition: Warning message:
package grDevices in options("defaultPackages") was not found
Error: package 'grDevices' could not be loaded
Execution halted
ERROR: lazy loading failed for package 'BMA'
** Removing '/Users/anestisa/Library/R/library/BMA'
     npackage installation failed
** Restoring previous '/Users/anestisa/Library/R/library/BMA'


SO what do I do???
MAny thanks
Anestis


On May 6, 2005, at 11:41 PM, Simon Urbanek wrote:

>
> On May 6, 2005, at 4:40 PM, Anestis Antoniadis wrote:
>
>
>> Dear Ian,
>> many thanks for proposing your help.
>> Let's wait first  some suggestions from ROb.
>>
>
> Um... I'm not sure what Rob can do here - basically you have two  
> options:
> 1) use R from CRAN and switch to gcc3 and g77
> or
> 2) make the package Fortran95 compliant
>
> As of 1)
> The R binary on CRAN was built on Panther using gcc3, so you need  
> to switch your Tiger tools to use gcc3 and g77. You can do that as  
> follows:
> a) in Terminal run:
> sudo gcc_select 3.3
> b) get g77 from HPC pages ( http://hpc.sourceforge.net/ ) and  
> install it
> Now you should be able to compile the package.
> One you're done, you can switch back to gcc 4 if desired with sudo  
> gcc_select 4.0
>
> As of 2)
> Well, I'm not a Fortran programmer, either, so I can't help you  
> with that one. You may ask some Fortran-savvy folks for help.
>
> Cheers,
> Simon
>

====================================================
Prof. Anestis ANTONIADIS
Laboratoire de Modelisation et Calcul(LMC-IMAG)
Universite Joseph Fourier
Tour IRMA
B.P.53
38041 Grenoble CEDEX 9
FRANCE

Tel:(33) (0) 476514306
Fax:(33) (0) 476631263
=======================================================


	[[alternative HTML version deleted]]



More information about the R-SIG-Mac mailing list