[R] Building R-1.7.0 on cygwin

Roger Bivand Roger.Bivand at nhh.no
Sat Apr 26 11:42:51 CEST 2003

On Sat, 26 Apr 2003, Guy Horev wrote:

> Dear helpers
> I tried to build R-1.7.0 on CygWin. the following errors apeared after 
> 'make check'

From: http://www.stats.ox.ac.uk/pub/Rtools/ (entitled: "Building R for 

"Support for the Cygwin compiler suite has been withdrawn: it has 
perennially been broken in the -mno-cygwin mode used with R."

The portal gives comprehensive instructions for building R, with links to 
the tools needed. R built for Windows (including the binaries on CRAN) can 
be used from within cygwin if you like - including Rterm, but should be 
built following the standard instructions, which are based on a great deal 
of hard work and experience. Again, if you need to use R under cygwin, use 
the regular build.

> make[1]: Entering directory `/bin/R/R-1.7.0/tests'
> make[2]: Entering directory `/bin/R/R-1.7.0/tests'
> make[3]: Entering directory `/bin/R/R-1.7.0/tests/Examples'
> make[4]: Entering directory `/bin/R/R-1.7.0/tests/Examples'
> make[4]: `Makedeps' is up to date.
> make[4]: Leaving directory `/bin/R/R-1.7.0/tests/Examples'
> make[4]: Entering directory `/bin/R/R-1.7.0/tests/Examples'
> make[4]: *** No rule to make target `../../bin/R.bin', needed by 
> `base-Ex.Rout'.

I think you will find traces of why the main R binary, R.bin, has not been 
made in the output from the ./configure and make steps.

>   Stop.
> make[4]: Leaving directory `/bin/R/R-1.7.0/tests/Examples'
> make[3]: *** [test-Examples-Base] Error 2
> make[3]: Leaving directory `/bin/R/R-1.7.0/tests/Examples'
> make[2]: *** [test-Examples] Error 2
> make[2]: Leaving directory `/bin/R/R-1.7.0/tests'
> make[1]: *** [test-all-basics] Error 1
> make[1]: Leaving directory `/bin/R/R-1.7.0/tests'
> make: *** [check] Error 2
> Can you please explain what are Error 1 and Error 2?
>  I know there are missing tex and Tcl/Tk packages on my CygWin installation
> How should I proceed
> 10X
> Guy
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Breiviksveien 40, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
e-mail: Roger.Bivand at nhh.no

More information about the R-help mailing list