[R-SIG-Mac] Fortran problem with LogicReg package on R.app 1.12 on MacOS
stefano iacus
stefano.iacus at unimi.it
Thu Aug 4 10:42:12 CEST 2005
you can't use gfortran with the R binary distrubted on CAN as
gfortran assumes gcc 4.x nad our binary uses gcc 3.3 to be
compatible with Panther.
You should try this instead
sudo installer -pkg g77.pkg -target /
from the shell (first move into the .mpkg directory for R-2.1.1.dmg
The install fails to install g77 due to some authorization problems.
The above command force the installation as root
stefano
On 04/ago/05, at 10:12, Georges.Brefort at sanofi-aventis.com wrote:
> Dear Members of the R-Mac Group,
>
> I have just installed the R.app binaries version 2.1-1 2005-06-20
> on both a PowerMac G4 (2 CPUs) running MacOSX 10.3.9 ("Panther")
> and a PowerMac G5 (2 CPUs) running MacOSX Server 10.4.2 ("Tiger"
> server).
>
> Actually, everything works fine, except the GNU Fortran 77 3.4.2
> optional package that fails repeatedly to install, without any
> diagnostic message that could help me find the problem.
>
> At this point the R application shows up nicely on my Macs.
>
> I have then installed the Logic Regression package LogicReg version
> 1.4.1, using the GFortran binaries for Mac OSX from http://
> quatramaran.ens.fr/~coudert/gfortran/macosx-dependencies/
> cctools-576.dmg. in order to compile the R package 'LogicReg'.
> Compilation and installation worked OK too (no error, no warning
> showing up on the terminal window).
>
> However, if I type: library('LogicReg') on the R console, I see the
> following fatal message:
> "
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
> Cannot load shared library '/Library/Frameworks/R.framework/
> Resources/library/LogicReg/libs/LogicReg.so':
> dlopen( /Library/Frameworks/R.framework/Resources/library/
> LogicReg/libs/LogicReg.so, 6):
> Symbol not found: __gfortran_pow_i4_i4
> Referenced from: /Library/Frameworks/R.framework/Resources/
> library/LogicReg/libs/LogicReg.so
> Expected in: flat namespace
> Error in library("LogicReg"): .First.lib failed for 'LogicReg'
> "
> Note: the LogicReg.so stuff was compiled with no error and no
> warning using the R command "R CMD INSTALL ..." on a terminal
> window, and the LogicReg.so file is in the right place.
> Apparently, this package has passed Charles Kooperberg's tests OK
> (see the relevant WEB page), so his Fortran library is not lacking
> that particular routine, but I have no indication on his computer
> settings and no address (sorry) to E-mail him for advice.
> So, if anyone has any idea on how to fix the problem, I will
> gratefully follow his/her advice. I am familiar with C/C++
> programming on a fairly wide variety of machines, but not at all on
> fortran and R, so, even if it is a fatal failure for me, it may
> just be a trivial problem for you.
> Thank you in advance for your help and your patience.
> Best regards.
> Georges BREFORT
> "Research Scientist" Sanofi-Aventis
> Evry Genetics Center
> tel. #(33) (0)1 60 79 87 09
>
>
> [[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
>
>
More information about the R-SIG-Mac
mailing list