Gregorio, what you sent is not an R package at all! It's just a heap of R scripts and sources. The implication is that you may need to hand-tweak the Makefile to match your system. I had a quick look and the only modification I had to make was to add -fnested-functions to CFLAGS. Other than that is worked:
ginaz:$ cd sources/Flowgraph_Analysis_Threaded/msm_ss_sp ginaz:msm_ss_sp$ Rscript saddlept_ss.r Read 314 items gcc -fPIC -O2 -fnested-functions -c -o ../optimize.o ../optimize.c gcc -fPIC -O2 -fnested-functions -c -o post.o post.c [...] Thread = 3, i = 5, q = 27.6653 rm -f *.so ginaz:msm_ss_sp$ There is no reference to Fortran at all so I have no clue where you got that error from ... (This is using GSL from http://r.research.att.com/libs/ ) Cheers, Simon On Sep 2, 2011, at 10:21 AM, Gregorio Rubio Navarro wrote: > > The work directory is msm_ss_sp, and the source file is saddlept_ss.r. > > Thank you! > > > Mensaje citado por Simon Urbanek <[email protected]>: > >> On Sep 2, 2011, at 9:42 AM, Gregorio Rubio Navarro wrote: >> >>> -- >>> Hi: >>> >>> I am trying to use a package made of R files and C-code on a Mac OS X Lion >> 10.7.1. This software was tested with R 2.1.1, gcc 3.2.3 and gsl 1.6, >> >> Wow - this is an unbelievably ancient setup (over 6 years old!) .. >> >> >>> both on linux and Mac (older than 10.7). I have installed R-2.13-patched >> (precompiled binaries), gfortran-lion, and gsl-1.15, in the Mac OS X Lion >> 10.7.1 >>> >>> The following error occurs: >>> >>> make: f77: No such file or directory >>> >>> and the program fails. >>> >>> Can anybody help me? >>> >> >> This seems like a bug in the package - it's using the wrong compiler. You >> should not write your own compilation targets and make sure you get compiler >> flags from R. You'd have to provide your package sources if you want us to >> give you more specific advice. >> >> Cheers, >> Simon >> >> >> > > > -- > <sources.zip> _______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
