You are *not* following the instructions if you use the Cygwin version of the compiler. Those instructions are to build R for Windows (as they are entitled), not R for Cygwin. Building R undr Cygwin is not something you will find any instructions for, to my knowledge. Regard this as a new port and start with the main sources and ./configure etc. Expect to devote a week or more to it.
On Sun, 1 Dec 2002, Hisaji Ono wrote:
For building REmbeddedPostgres in Omegat project(http://www.omegahat.org/RSPostgres/) requiring PostgresSQL's libs, I've tried to build R1.6.1 on Cygwin following the instruction of http://www.stats.ox.ac.uk/pub/Rtools/ since full-spec PostgresSQL running on Windows can run only on Cygwin environment,
More seriously, REmbeddedPostgres uses libR.so which is part of the Unix build of R. There are omegahat mailing lists for omegahat components, I believe.
However I've got following error messages. make -C front-ends Rpwd make[1]: Entering directory `/usr/src/R-1.6.1/src/gnuwin32/front-ends' make -C ../fixed version make[2]: Entering directory `/usr/src/R-1.6.1/src/gnuwin32/fixed' sed -e 1d ../../../tools/GETVERSION > ../../../tools/GV sh ../../../tools/GV > ../../include/Rversion.h rm -f ../../../tools/GV make[2]: Leaving directory `/usr/src/R-1.6.1/src/gnuwin32/fixed' make Rpwd.exe make[2]: Entering directory `/usr/src/R-1.6.1/src/gnuwin32/front-ends' gcc -O2 -Wall -pedantic -I../../include -c rpwd.c -o rpwd.o rpwd.c:22:20: direct.h: No such file or directory
Then you don't have the Windows compiler ....
rpwd.c: In function `main': rpwd.c:38: warning: implicit declaration of function `chdir' rpwd.c:41: warning: implicit declaration of function `getcwd' make[2]: *** [rpwd.o] Error 1 make[2]: Leaving directory `/usr/src/R-1.6.1/src/gnuwin32/front-ends' make[1]: *** [Rpwd] Error 2 make[1]: Leaving directory `/usr/src/R-1.6.1/src/gnuwin32/front-ends' make: *** [front-ends/Rpwd.exe] Error 2 Could you tell me any suggestion of building R1.6.1 on Cygwin?
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 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._