[Rd] make pkg on windows NT

Prof Brian D Ripley ripley@stats.ox.ac.uk
Sun, 6 Aug 2000 17:41:14 +0100 (BST)

On Sun, 6 Aug 2000, Nicholas Lewin-Koh wrote:

> Hi,
> I am trying to compile a package i am developing on my home computer where
> i am running Windows NT 4.0 service pack 6. Everything works fine on my
> other computer at work running windows 98.
> I am using the cygwin 1.1 bash shell and tolls with the MingW compiler,
> version 2.95.2-1
> installed seperately and first in the path. I have active perl 6.16 
> as well. Here is the error I get when i run the make pkg-  script from the
> gnuwin32 directory
> bash-2.03$ make DEBUG=T pkg-maptools
>   -C c:/Rnew/rw1010/src/library/maptools PKG=maptools RHOME=c:/Rnew/rw1010
> c:/Rnew/rw1010/library \
>   -f c:/Rnew/rw1010/src/gnuwin32/MakePkg
> make[1]: Entering directory `c:/Rnew/rw1010/src/library/maptools'
> Syntax error: Unterminated quoted string
> make[1]: *** [c:/Rnew/rw1010/library/maptools/zzzz] Error 2
> make[1]: Leaving directory `c:/Rnew/rw1010/src/library/maptools'
> make: *** [pkg-maptools] Error 2

That means that you have the wrong make and/or the wrong sh.  You need the
set in the tools distribution: certain Cygwin ones work but most do not. We
find it very frustrating too.

> Oh and one last Question, I noted on Dr. Ripley's RTools page that he
> recommends MingW 2.95.2-1 the crtdll version rather than the msvrt
> version. I have not noticed any problems yet with other stuff i have
> compiled, are there any problems dynamically linking code built with the
> other version that I am unaware Of?

Yes. It won't work on many Windows 95 machines, as that page says.
If that is not an issue for you, by all means use the msvcrt version.

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