[R] problem building MS-Windows package under linux

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Nov 3 20:26:43 CET 2003


You do need to build R before you build a package, when cross-building.
`Small' errors stop make running: try make -k?

On Mon, 3 Nov 2003, Mathieu Ros wrote:

> hi there,
> trying to follow the steps of Yan & Rossini 2003, I have two problems
> :
> first when I 'make CrossCompileBuild', I get :
> 
> ******************************************************************************
> 
> make[1]: Entering directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32'
> make -f Makefile.docfiles
> make[2]: Entering directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32'
> makeinfo --no-split --html --no-headers --number-sections -o tmp.html tmp.texi
> tidy tmp.html > tmp2.html 2> /dev/null
> make[2]: [fixed/html/rw-FAQ.html] Error 127 (ignored)
> *** tidy appears to be non-functional ***
> make[2]: *** [fixed/html/rw-FAQ.html] Error 111
> make[2]: Leaving directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32'
> make[1]: *** [docfiles] Error 2
> make[1]: Leaving directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32'
> ******************************************************************************
> 
> 
> and then, trying to go throught, as this didn't look like a big
> error, I 'make pkg-multidim_0.5-3' and 
> 
> 
> ******************************************************************************
> 
> -------multidim------
> make[1]: Entering directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32'
> 
> ---------- Making package multidim ------------
>   installing inst files
>   adding build stamp to DESCRIPTION
>   making DLL ...
> dataentry.c:27: config.h: No such file or directory
> make[4]: *** [dataentry.o] Error 1
> make[3]: *** [libR] Error 2
> make[2]: *** [srcDynlib] Error 2
> make[1]: *** [pkg-multidim] Error 2
> make[1]: Leaving directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32'
>   adding: multidim/ (stored 0%)
>   adding: multidim/doc/ (stored 0%)
>   adding: multidim/DESCRIPTION (deflated 31%)
>   adding: multidim/doc/multidim.ps (deflated 77%)
> 
> ******************************************************************************
> 
> I don't understand where this 'config.h' should come from...
> any help appreciated, and many thanks to the authors for this
> comprehensive article.
> 
> 

-- 
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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list