[Rd] gfortran: Command not found

Duncan Murdoch murdoch at stats.uwo.ca
Tue May 6 03:08:01 CEST 2008


On 05/05/2008 8:37 PM, Spencer Graves wrote:
> Hi, All: 
> 
>       How do I get information about the "R CMD check / build / install" 
> process, especially regarding what software to install and how to 
> configure it under Windows XP?

You can check the R-admin manual, which has a complete description, or 
get the latest info is at www.murdoch-sutherland.com/Rtools.

> 
>       I ask, because "R CMD check" complained, "gfortran: Command not 
> found".  I found 'gfortran-sjlj.exe' in 'C:\Program 
> Files\R\Rtools\MinGW\bin', which is in the path. 
> 
>       This was on a package that I built successfully in January under R 
> 2.6.2.  Now with R 2.7.0, I can't get it to work. 

You need to update your Rtools.  Version 2.7 or 2.8 should work for you. 
  (They are almost the same right now, but 2.7 is frozen, and 2.8 will 
evolve until R 2.8.0 is released in the fall.)

Duncan Murdoch

> 
>       Thanks for your help. 
>       Spencer Graves
> ######################
> 
> Contents of "00install.out": 
> 
> installing R.css in 
> D:/spencerg/statmtds/splines/DierckxSpline/DierckxSpline.Rcheck
> 
> ---------- Making package DierckxSpline ------------
>   adding build stamp to DESCRIPTION
>   installing NAMESPACE file and metadata
>   making DLL ...
> gfortran   -O3  -c bispev.f -o bispev.o
> make[3]: gfortran: Command not found
> make[3]: *** [bispev.o] Error 127
> make[2]: *** [srcDynlib] Error 2
> make[1]: *** [all] Error 2
> make: *** [pkg-DierckxSpline] Error 2
> *** Installation of DierckxSpline failed ***
> 
> Removing 
> 'D:/spencerg/statmtds/splines/DierckxSpline/DierckxSpline.Rcheck/DierckxSpline'
> 
> #############################################
> 
> sessionInfo(): 
> 
> R version 2.7.0 (2008-04-22)
> i386-pc-mingw32
> 
> locale:
> LC_COLLATE=English_United States.1252;LC_CTYPE=English_United 
> States.1252;LC_MONETARY=English_United 
> States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
> 
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base    
>  
> #############################################
> 
> PATH =
> 
> C:\Program Files\R\Rtools\bin;C:\Program 
> Files\R\Rtools\perl\bin;C:\Program 
> Files\R\Rtools\MinGW\bin;c:\perl\bin\;c:\program 
> files\thinkpad\utilities;c:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\program 
> files\intel\wireless\bin\;c:\program 
> files\hummingbird\connectivity\11.00\accessories\;c:\program 
> files\intel\wireless\bin\;c:\program files\ati 
> technologies\ati.ace\;c:\program files\r\r-2.7.0\bin;c:\program 
> files\miktex 2.5\miktex\bin;c:\program files\html help 
> workshop;c:\mingw\bin;C:\Program Files\MATLAB\R2007a\bin;C:\Program 
> Files\MATLAB\R2007a\bin\win32;c:\program 
> files\matlab\r2006b\bin;c:\program 
> files\matlab\r2006b\bin\win32;C:\Program Files\MATLAB\MATLAB Component 
> Runtime\v76\runtime\win32;C:\Program Files\Common 
> Files\Lenovo;C:\Program Files\Intel\Wireless\Bin\;C:\Program 
> Files\Intel\Wireless\Bin\
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



More information about the R-devel mailing list