Hello. 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, 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 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? Best Regards. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 directoryThen 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> "hisaji" == Hisaji Ono <hi_ono2001 at ybb.ne.jp> writes:hisaji> Hello. hisaji> For building REmbeddedPostgres in Omegat hisaji> project(http://www.omegahat.org/RSPostgres/) requiring PostgresSQL's libs, hisaji> I've tried to build R1.6.1 on Cygwin following the instruction of hisaji> http://www.stats.ox.ac.uk/pub/Rtools/ since full-spec PostgresSQL running on hisaji> Windows can run only on Cygwin environment, You need to treat it more like a Unix build than a Microsoft build under Cygwin. I made some progress last summer on it, basically flagging it to be more like Linux, but it still didn't get all the way (there are a few header files to patch, and then a show stopper bug to figure out; this is about as much guidance as I can provide at this point, but I recall guessing that it would take about a week to figure out, time I didn't have). best, -tony -- A.J. Rossini Rsrch. Asst. Prof. of Biostatistics U. of Washington Biostatistics rossini at u.washington.edu FHCRC/SCHARP/HIV Vaccine Trials Net rossini at scharp.org -------------- http://software.biostat.washington.edu/ ---------------- FHCRC: M: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email UW: Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX (my tuesday/wednesday/friday locations are completely unpredictable.) -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Thank you very much for your answers, Professor Ripley & Assistant Professor Rossini. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Apparently Analagous Threads
- install.packages hangs RGui with frozen rpwd process at bottom of process tree (PR#13734)
- R260 cross-compilation
- non-digits in svnversion output mess up windows build if USE_SVNVERSION=yes (PR#11339)
- Problem with dyn.load in R1.6.1
- build rpvm under cygwin