[Rd] Cross compiling in R-2.0.0

Iago Mosqueira imosqueira at suk.azti.es
Tue Oct 19 12:36:10 CEST 2004


Hello,
 
When compiling R-2.0.0 for cross-compiling, I get the following error
when calling 'make R'
 
---------- Making package base ------------
  adding build stamp to DESCRIPTION
/bin/sh: line 1: --vanilla: command not found
make[5]: *** [frontmatter] Erro 127
make[4]: *** [all] Erro 2
make[3]: *** [pkg-base] Erro 2
make[2]: *** [rpackage] Erro 2
make[1]: *** [all] Erro 2
make[1]: Saíndo do directorio `/home/iago/crossbuild/WinR/R-2.0.0/src/gnuwin32'
 
The error appears in the call to $(REXE), that was defined in
R-2.0.0/src/gnuwin32/MakePkg (Line 18) as:
 
REXE = $(R_EXE) --vanilla --slave
 
I tried substituting REXE with R --vanilla --slave and that did the trick, only
to later fail with a complain about $(R_HOME).
 
Is there any reason for this failure in the Makefile variables? Anything to do
with the change from 1.9.1 to 2.0.0?
 
Many thanks,

 
Iago Mosqueira

	[[alternative HTML version deleted]]



More information about the R-devel mailing list