From imosqueira at suk.azti.es  Tue Oct 19 12:36:10 2004
From: imosqueira at suk.azti.es (Iago Mosqueira)
Date: Tue Oct 19 12:34:03 2004
Subject: [Rd] Cross compiling in R-2.0.0
Message-ID: <B4096CABFB6A704CB79B7EEC19449FF705B861@SSRCorreo.azti.local>

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]: Sando 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]]


[Rd] Cross compiling in R-2.0.0
Iago Mosqueira