[Rd] compiling in windows

Prof Brian Ripley ripley@stats.ox.ac.uk
Fri, 7 Dec 2001 11:40:43 +0000 (GMT)


On Fri, 7 Dec 2001, Erich Neuwirth wrote:

> i downloaded todays r-devel tarball
> and tried to make it.
>
> i have the complete toolkit,
> i can compile R-1.3.1

*BUT* it is not the same toolkit.  Do read CHANGES.

> when i tried today, this is what i got
>
> gcc  -s -mwindows -o Rgui.exe graphappmain.o rgui.o rgico.o ../R.dll
> graphappmain.o(.text+0x121):graphappmain.c: undefined reference
> to `_imp__R_reserved_size'
> rgui.o(.text+0x63):rgui.c: undefined reference to `_imp__CharacterMode'
> make[1]: *** [Rgui.exe] Error 1
> make[1]: Leaving directory
> `/cygdrive/d/Work/R-devel/src/gnuwin32/front-ends'
> make: *** [front-ends] Error 2

You don't have the recommended compiler, then.

> additionally,
> in src/gnuwin32/INSTALL there is a note about
> rw1040\unzip
> this directory does not exist in tar snapshot

Correct!  Try following the instructions and see what happens.

> and src/gnuwin32/readme
>
> has unsunbstituted references for @RWVER@
>
> @RWVER@b.zip				the base system
> @RWVER@h.zip				text help
> @RWVER@ch.zip				compiled HTML help
> @RWVER@w.zip				HTML help files
> @RWVER@l.zip				latex help files for offline help
> @RWVER@m.zip				installed .Rd files
> @RWVER@d1.zip				PDF manuals except
> @RWVER@d2.zip				  PDF version of the reference manual
> @RWVER@sp.zip				files to build packages from source
>
>
> i do now know id these should be resolved or not.

The tarball is correct. Did you read through the Makefile to see what
happens?

I really wouldn't advise building from R-devel tarballs at present unless
you really know what you are doing (in which case get the sources by
rsync): a lot of issues are still being resolved, especially on Windows.


-- 
Brian D. Ripley,                  ripley@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-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._