From ripley at stats.ox.ac.uk  Tue May  6 06:36:02 2008
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue, 6 May 2008 05:36:02 +0100 (BST)
Subject: [Rd] gfortran: Command not found
In-Reply-To: <481FA853.7070707@pdf.com>
References: <481FA853.7070707@pdf.com>
Message-ID: <alpine.LFD.1.10.0805060533020.4020@gannet.stats.ox.ac.uk>

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

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



[Rd] gfortran: Command not found
Prof Brian Ripley