[R] Compiling 1.2.1 to Windows binary

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Sat Jan 20 02:17:28 CET 2001


Marc Feldesman <feldesmanm at pdx.edu> writes:

> I'm having a bit of trouble getting the 1.2.1 source to compile to a 
> Windows binary.  The base compiles with no problem, but when the make file 
> gets to the point of having to compile the HTML files (.chm), the make file 
> quits, and neither the .chm files get built, nor does the make file 
> continue on to build any of the packages beyond the base.  I can overcome 
> this problem by changing MkRules to only do WinHelp.  The error message I 
> get basically says that it can't find the hhc file.  Not only is the hhc 
> correctly specified in the MkRules file, but it is also correctly located 
> in the Path within the environment.  I can verify this by spawning a 
> command prompt (cmd) and simply entering "hhc" at the command line.  It 
> brings up hhc.exe without problem.
> 
> I've encountered this problem on both WinNT and Windows 2000, but never 
> encountered it when I compiled the release prior to 1.2.0 (1.1.0?).
> 
> I seem to be missing something obvious here, but I can't figure out what is 
> preventing the make file from finding hhc.exe.
> 
> I'd appreciate any advice you can offer.

Giving us the exact error message might be helpful (or maybe not, but...)

You could consider replacing the hcc command with its full path.
I'm not sure that paths in Makefile are guaranteed to be the same as
in a shell.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list