From ripley@stats.ox.ac.uk  Tue Dec 11 11:59:42 2001
From: ripley@stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue, 11 Dec 2001 11:59:42 +0000 (GMT)
Subject: [Rd] windows testing
In-Reply-To: <3C15EADB.EC77A561@univie.ac.at>
Message-ID: <Pine.LNX.4.31.0112111157010.23043-100000@gannet.stats>

On Tue, 11 Dec 2001, Erich Neuwirth wrote:

> i tried to build a complete install package on
> win98, also compiling the recommended packages from the source
>
> the one things that does not work at the moment is that
> foreign_0.4-7
> which is in the recommended packages
> does not compile

It's not the latest version, and you need to manually configure it:
see the advice in `Writing R Extensions' (not followed by the authors of
that package ...).

Move swap_bytes.h.in to swap_bytes.h and var.h.in to var.h.

There's a few more tricks you need to bear in mind, for example
which packages work with --use-zip.

>
> this is what i get
>
>
> make: Entering directory `/cygdrive/c/DEVEL/R-DEVEL/src/gnuwin32'
> make DLLNM=  FLIBS="-lg2c" \
>   -C C:/devel/R-devel/bin/R.INSTALL/foreign PKG=foreign
> RHOME=c:/DEVEL/R-DEVEL R
> LIB=C:/DEVEL/R-DEVEL/library \
>   -f c:/DEVEL/R-DEVEL/src/gnuwin32/MakePkg
> make[1]: Entering directory
> `/cygdrive/c/devel/R-devel/bin/R.INSTALL/foreign'
> mkdir -p C:/DEVEL/R-DEVEL/library/foreign
> cp -r   ./INDEX  ./TITLE ./BUGS ./ChangeLog
> C:/DEVEL/R-DEVEL/library/foreign/
> make[2]: Entering directory
> `/cygdrive/c/devel/R-devel/bin/R.INSTALL/foreign/src
> '
> gcc   -Ic:/DEVEL/R-DEVEL/src/include -Wall -O2   -c SASxport.c -o
> SASxport.o
> In file included from SASxport.c:31:
> SASxport.h:15: swap_bytes.h: No such file or directory
> make[2]: *** [SASxport.o] Error 1
> make[2]: Leaving directory
> `/cygdrive/c/devel/R-devel/bin/R.INSTALL/foreign/src'
>
> make[1]: *** [src/foreign.dll] Error 2
>
>
>
> --
> Erich Neuwirth, Computer Supported Didactics Working Group
> Visit our SunSITE at http://sunsite.univie.ac.at
> Phone: +43-1-4277-38624 Fax: +43-1-4277-9386
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

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


[Rd] windows testing
Prof Brian Ripley