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

Anestis Antoniadis antonia at imag.fr
Fri May 6 22:40:11 CEST 2005


Dear Ian,
many thanks for proposing your help.
Let's wait first  some suggestions from ROb.
Best
Anestis

On May 6, 2005, at 6:51 PM, Ian Painter wrote:

> Let me know if there is anything that I can do at this end, thought I
> would prefer not to have to modify the Fortran code unless I
> absolutely have to, it is a modification of code written prior to
> 1972, and I am not a Fortran programmer,
>
> cheers
> Ian.
>
>
> On 5/5/05, Anestis Antoniadis <Anestis.Antoniadis at imag.fr> wrote:
>
>> Dear Rob, many thanks for replying.
>> I will wait for your help whenever you can
>> Best
>> Anestis
>>
>> On 5 mai 05, at 18:42, Rob J Goedman wrote:
>>
>>
>>> Anestis,
>>>
>>> Trying this on R.app for R-2.1.0 following the hints on Simon's
>>> Wiki page:
>>>
>>> * Installing *source* package 'BMA' ...
>>> ** libs
>>> gfortran   -fno-common  -g -O2 -c fwleaps.f -o fwleaps.o
>>>     npackage installation failed
>>> ** Removing '/Library/Frameworks/R.framework/Versions/2.1.0/
>>> Resources/library/BMA'
>>> ** Restoring previous '/Library/Frameworks/R.framework/Versions/
>>> 2.1.0/Resources/library/BMA'
>>>
>>>
>>> and in the console:
>>>
>>> In file fwleaps.f:240
>>>
>>>        sbs(curr)=cl(lb)
>>>           1
>>> Error: Array index at (1) must be of INTEGER type
>>> In file fwleaps.f:255
>>>
>>>        rss(curr)=rsret
>>>           1
>>> Error: Array index at (1) must be of INTEGER type
>>> make: *** [fwleaps.o] Error 1
>>> ERROR: compilation failed for package 'BMA'
>>>
>>> From below output you have not updated the Fortran compiler, nor
>>> updated the
>>> links as on the TigeR page of the Wiki (1st 2 sections, I did make
>>> a small update
>>> to the page yesterday).
>>>
>>> From above output it seems the gcc-4 Fortran is more strict then
>>> g77. I believe
>>> Stefano has compiled a binary for 2.1.0, but I guess that failed as
>>> well as the
>>> package is kind of empty. I can have a look after this weekend.
>>>
>>> Rob
>>>
>>> On May 5, 2005, at 4:24 AM, Anestis Antoniadis wrote:
>>>
>>>
>>>
>>>> I am trying to install the updated BMA package but here what I have
>>>>
>>>> * 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
>>>>      npackage installation failed
>>>> 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
>>>> ** Removing '/Users/anestisa/Library/R/library/BMA'
>>>> ** Restoring previous '/Users/anestisa/Library/R/library/BMA'
>>>> 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'
>>>>
>>>> I followed the instructions by simon in his Wiki pages but no
>>>> difference.
>>>> Many thanks for any hints
>>>> Anestis
>>>>
>>>> ====================================================
>>>> 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]]
>>>>
>>>> _______________________________________________
>>>> R-SIG-Mac mailing list
>>>> R-SIG-Mac at stat.math.ethz.ch
>>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>>>
>>>>
>>>>
>>>
>>> _______________________________________________
>>> R-SIG-Mac mailing list
>>> R-SIG-Mac at stat.math.ethz.ch
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>>>
>>>
>>
>>
>

====================================================
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