[R] Compiling 1.2.1 to Windows binary

Marc R. Feldesman feldesmanm at pdx.edu
Sat Jan 20 02:27:56 CET 2001


At 02:17 AM 1/20/01 +0100, Peter Dalgaard BSA wrote:

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

The exact error message is:

"Make[3]:  hhc:  command not found".

This is then followed by an abort of the attempt to compile the .chm files 
and a termination of the entire make.

Brian Ripley gave me a clue that helped.  I moved hhc.exe (but not all the 
30 odd additional files and 4 subdirectories associated with MS HTML Help 
Workshop) to my rtools directory.  This allowed the .chtml files to be 
built for base and all the packages.  I did get complaints from the OS that 
"hhc.exe is not properly registered", and a series of "Invalid HTML tag 
<JAVASCRIPT> at line xxxx" errors during the compilation.  I'm not sure 
what role some of the supporting files in HTML Help Workshop serve, but 
moving the hhc.exe stub to rtools does allow the make to complete.

As I explained to Brian, the path to HTML Help Workshop is pretty simple:

e:\htmlhelp in PATH and in MkRules as  e:/htmlhelp.

At the cmd prompt:

F:\rdevel\r-1.2.1\src\gnuwin32>hhc    (found immediately).

but

sh
$hhc
hhc not found
hhc not found
 >

Clearly hhc cannot be found from the information available in the PATH 
statement, or in the HHWDIR path within MkRules.  I don't know why.  Tcltk 
is found just fine with a much more complicated path (including spaces in 
the path name).




 >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


Dr. Marc R. Feldesman
email:  feldesmanm at pdx.edu
email:  feldesman at attglobal.net
fax:    503-725-3905

"Don't know where I'm going.
Don't like where I've been.
There may be no exit.
But hell, I'm going in."  Jimmy Buffett

Powered by Superchoerus - the 700 MHz Coppermine Box

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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