[R] compile from source (win2000)

ripley@stats.ox.ac.uk
Mon, 25 Nov 2002 13:13:33 -0000

On Thu, 14 Nov 2002, Christian Schulz wrote:

> ..many thanks, no it works until he didn't find hhc.exe (..but the path
to
> HTMLHelpWorkshop should be correct !?)

Read again: INSTALL says:

Check your path
---------------

You need the following in your path:
.
our toolset
mingw\bin
Perl\bin
the latex bin directory
zip.exe, unzip.exe, hhc.exe

Do not use spaces nor unnecessary quotes in your PATH variable.


so I think you failed to follow one whole chunk of the instructions!

> and break down, ok i just check all path settings and find a solution for
my
> self !
>
> But here another problem:
> ...modify without the MkRules in my current binary R.1.6.1\src\gnuwin32
>
> C:\DataMining\rw1061\library>Rcmd INSTALL Oop
>
> make: Entering directory `/cygdrive/c/dataMining/rw1061/src/gnuwin32'
> make DLLNM= FLIBS="-lg2c -lRblas" \
>   -C C:/DataMining/rw1061/library/Oop PKG=Oop RHOME=c:/dataMining/rw1061
> RLIB=C:/dataMining/rw1061/library RVER=1.6.1 \
>   -f c:/dataMining/rw1061/src/gnuwin32/MakePkg
> make: Entering an unknown directory
> make: *** C:/DataMining/rw1061/library/Oop: No such file or directory.
> Stop.
> make: Leaving an unknown directory
> make: *** [pkg-Oop] Error 2
> make: Leaving directory `/cygdrive/c/dataMining/rw1061/src/gnuwin32'
> *** Installation of Oop failed ***
>
> Sure a PathProblem - Is it correct to set the cross-compiler.settings
> to the MinGW folder ?

Surely you are not cross-compiling!  If you were, Rcmd would not work.

Uwe Ligges already told you *not* to unpack in ...\rw1061\library, but
that seems to be exactly what you have done, hence the problem.


--
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