[R-SIG-Mac] error trying to exec 'f951': execvp: No such file or directory

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Oct 22 09:19:18 CEST 2013


On 22/10/2013 05:15, John Maindonald wrote:
> In trying to install the randomForest package from source under r-devel (2013-10-20 r64082)

You have your compilers set up incorrectly.

> I get
> <<<<
> [R.app GUI 1.62 (6580) x86_64-apple-darwin10.8.0]
>
> [Workspace restored from /Users/johnm1/r/.RData]
> [History restored from /Users/johnm1/r/.Rhistory]
>
> trying URL 'http://cran.r-project.org/src/contrib/randomForest_4.6-7.tar.gz'
> Content type 'application/x-gzip' length 77163 bytes (75 Kb)
> opened URL
> ==================================================
> downloaded 75 Kb
>
> * installing *source* package ‘randomForest’ ...
> ** package ‘randomForest’ successfully unpacked and MD5 sums checked
> ** libs
> llvm-gcc-4.2 -arch x86_64 -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include    -fPIC  -mtune=core2 -g -O2  -c classTree.c -o classTree.o
> llvm-gcc-4.2 -arch x86_64 -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include    -fPIC  -mtune=core2 -g -O2  -c regTree.c -o regTree.o
> llvm-gcc-4.2 -arch x86_64 -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include    -fPIC  -mtune=core2 -g -O2  -c regrf.c -o regrf.o
> llvm-gcc-4.2 -arch x86_64 -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include    -fPIC  -mtune=core2 -g -O2  -c rf.c -o rf.o
> gfortran-4.2 -arch x86_64   -fPIC  -g -O2  -c rfsub.f -o rfsub.o
> i686-apple-darwin9-gfortran-4.2.1: error trying to exec 'f951': execvp: No such file or directory
> make: *** [rfsub.o] Error 1
> ERROR: compilation failed for package ‘randomForest’
> * removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/randomForest’
>>>>
>
> I have Xcode 5.0 and the CLI installed.

llvm-gcc-4.2 is not part of Xcode 5.  Did you perchance update to Xcode 
5: that removes some things?

> Any advice on what do I need to do to make f951 available?

Install the supported gfortran (which is 4.2.3 not 4.2.1): see the 
R-admin manual.


> Also, installing r-devel has the result that after switching back to R-3.0.2 patched,
> it crashes upon starting.  The issue seems to be with the GUI, as there seems to
> be no problem from the command line.  I will forward details if that seems useful.

The R.app front-end (which you most likely mean by 'it' but did not say) 
is tied to a particular version of R, and this is documented in the 
R-admin manual.  You most likely need to re-install the earlier version.

>
> John Maindonald             email: john.maindonald at anu.edu.au
> phone : +61 2 (6125)3473    fax  : +61 2(6125)5549
> Centre for Mathematics & Its Applications, Room 1194,
> John Dedman Mathematical Sciences Building (Building 27)
> Australian National University, Canberra ACT 0200.


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-SIG-Mac mailing list