[R] Problem building packages from source (WIN32)
Gavin Simpson
gavin.simpson at ucl.ac.uk
Thu Jan 17 18:40:47 CET 2002
Many thanks to Peter Dalgaard and Brian Ripley for there incredibly
quick and accurate identification of my error.
I hadn't put the path to hhc in my path, hence it wouldn't run. Having
fixed this, things seem to run alright. Is there a way to check to see
if everything has worked as required, or is there something more I
should do after Rcmd INSTALL pkg as a matter of course? There still
seems to be an error (reported as ignored), and I wondered if this can
be checked?
<snip>
Created c:\R\rw1040\src\gnuwin32\vegan\chm\vegan.chm, 42,50
Compression decreased file by 19,366 bytes.
make[2]: [vegan.chm] Error 1 (ignored)
mkdir -p C:/R/rw1040/library/vegan/chtml
cp C:/R/rw1040/src/gnuwin32/vegan/chm/vegan.chm C:/R/rw1040
make[1]: Leaving directory `/cygdrive/c/R/rw1040/src/gnuwin
make: Leaving directory `/cygdrive/c/R/rw1040/src/gnuwin32'
By the way, as Uwe Ligges indicated in a private email, putting the path
information in autoexec.bat won't work under Win2000. The way to do it
is in Control Panel > System > (click) Advanced Tab > Environmental
Variables... , choose path from the System Variables window and click
Edit..., and the add the new path information in the textbox, separating
entries with a semi colon ";"
Cheers
Gav
-----Original Message-----
From: pd at pubhealth.ku.dk [mailto:pd at pubhealth.ku.dk] On Behalf Of Peter
Dalgaard BSA
Sent: 17 January 2002 17:02
To: gavin.simpson
Cc: r-help
Subject: Re: [R] Problem building packages from source (WIN32)
Gavin Simpson <gavin.simpson at ucl.ac.uk> writes:
> hhc vegan.hhp
> make[2]: hhc: Command not found
> make[2]: [vegan.chm] Error 127 (ignored)
> It seems to be getting as far as doing the compiled HTML help and then
> not finding a particular file. I'm am at a loss as to how to
> continue. Can anyone suggest what I am doing wrong, or suggest what to
> do next?
>
> I have tried this with a number of package sources from CRAN, and all
> fail at the same point, with the same message. Because the CHM thing
> seemed to be the problem, I have installed the HTMLHelp workshop into
> a different directory on my disk, altered MkRules and tried Rcmd
> again, but the same thing happens.
This looks like a problem with your PATH setting. It expects to be able
to invoke the help compiler from a command line with just "hhc". Set in
autoexec.bat (if that still exists in W2000).
--
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