« Return to Thread: gfortran: Command not found

Re: gfortran: Command not found

by Prof Brian Ripley :: Rate this Message:

Reply to Author | View in Thread

On Mon, 5 May 2008, 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?

The 'R Installation and Adminstration' manual.

>     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.

You need to update your Rtools.

>     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.
>     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@... mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

--
Brian D. Ripley,                  ripley@...
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-devel@... mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

 « Return to Thread: gfortran: Command not found