[R-SIG-Mac] error trying to exec 'f951': execvp: No such file or directory
John Maindonald
john.maindonald at anu.edu.au
Tue Oct 22 10:40:07 CEST 2013
Thanks. I did indeed update to Xcode 5.0. So do I perhaps need to go back
to an earlier version of Xcode? Installing the April 16 Mountain Lion command
line tools for Xcode, as suggested by Robert Bruggner, still gives the error
message.
I installed
gfortran-4.2.3.dmg (ca. 27MB, GNU Fortran 4.2.3 release)
from http://r.research.att.com/tools/
Consistently with this, I find:
<<<
jhm-air:dm johnm1$ gfortran --version
GNU Fortran (GCC) 4.2.3
jhm-air:dm johnm1$ which gfortran
/usr/local/bin/gfortran
>>>
I do not then understand the reference to 4.2.1.
[I did note however Simon's message of April 13 2013, albeit with respect to the Apple gcc branch
for version 4.2.4?
<<<
This is what the Apple gcc branch reports, because that's what the gcc driver is build from (Apple's gcc 4.2.1 build 5666.3), but the Fortran sources that have been added into that branch are from GNU Fortran 4.2.4 (see the page that you downloaded it from - it has the details).
>>>
Here "This" is 4.2.1
]
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.
On 22/10/2013, at 8:19 PM, Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote:
> 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
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
More information about the R-SIG-Mac
mailing list