[Rd] Problem building R from source on Windows

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jun 1 11:32:39 CEST 2007


On Thu, 31 May 2007, Jonathan Swinton wrote:

>
> I have a problem when building R from source on Windows XP.
>
> When I get to 3.1.3 of the Installation and Administration manual and try
> make all recommended
> from R_HOME it fails with
> make: *** No rule to make target `all'.  Stop.

But it is from R_HOME/src/gnuwin32.

> I am pretty sure there is an obvious and well documented thing I am missing,
> but missing it I am. Any clues?
>
> Is my problem that I have a Makefile.in but not a Makefile? Have I understood
> section 3.1.3 correctly that no ./configure step is needed? Although my reading
> of the I&A manual is that no ./configure step is needed under Windows, I did
> wonder and tried running
> sh ./configure

You really don't want to do that, and to be sure it did no harm you need 
to unpack R afresh.

> but that failed with
> chmod: not found
> chmod: not found
> chmod: not found
> configure: error: cannot create configure.lineno; rerun with a POSIX shell
>
>
> make is GNU make 3.79.1; I don't know how to identify which sh it is but it is
> the one in the Rtools\bin directory.
>
> I having downloaded all the tools listed in Appendix E (save InnoSetup) and
> installed them and set my path to be:
>
> PATH=c:\Rtools\bin;C:\Perl\bin\;c:\Rtools\MinGW\bin;c:\progra~1\htmhe~1;C:\Progr
> am Files\MiKTeX 2.6\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System3
> 2\Wbem;C:\Program Files\Subversion\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



More information about the R-devel mailing list