Cross-compiling R packages
On Mon, Jun 23, 2003 at 05:23:26AM +0100, Prof Brian Ripley wrote:
On Mon, 23 Jun 2003, Laurent Gautier wrote:
I tried to use the 'make' file discussed in the last R-news. The step 'make R' dies with: make[2]: Entering directory `/home/laurent/these/R/RCrossBuild/WinR/R-1.7.1/src/gnuwin32' sed -e s/@RVER@/`cut -d' ' -f1 ../../VERSION | sed -n 1p`/g -e s/@RWVER@/rw1071/g rw-FAQ.texi | \ makeinfo --no-headers --number-sections -o rw-FAQ 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/laurent/these/R/RCrossBuild/WinR/R-1.7.1/src/gnuwin32' make[1]: *** [docfiles] Error 2 make[1]: Leaving directory `/home/laurent/these/R/RCrossBuild/WinR/R-1.7.1/src/gnuwin32' Any hint ?
Well, you are missing `tidy', from http://tidy.sourceforge.net/, as mentioned in the src/gnuwin32/INSTALL file. I don't see what the `make' file in the last R-news has to do with this: all the support for cross-compiling R is in the base R distribution. Credit where credit is due!
You might see what the 'make' file has to do after checking the pages 15, 16 and 17 of R-news dated June 2003. My email reports an error encountered while following the steps detailed there. L.