[R] Windows compile

Philip Bermingham pberming at research.ryerson.ca
Mon Jul 4 17:52:13 CEST 2005


That worked great, thank you.  but it seems I have a new error occurring 
after the zipping of the help files:

hhc: not found
cp: cannot stat `C:/R/R-2.1.1/src/library/base/chm/base.chm': No such 
file or di
rectory
make[3]: *** [chm-base] Error 1
make[2]: *** [pkg-base] Error 2
make[1]: *** [rpackage] Error 2
make: *** [all] Error 2

Any advise?
Philip Bermingham

Duncan Murdoch wrote:

> On 7/4/2005 8:51 AM, Philip Bermingham wrote:
>
>> Where would I specify the path to this file? I checked the mkrules 
>> file but it doesn't mention it there.  
>
>
> The path is the system path.  You specify it in your shell, before 
> starting make, or in one of the Control Panel settings (if you want to 
> make the change system wide).
>
> I'd suggest writing a batch file that sets the path, and run it before 
> a build.  Then you don't need to worry about side effects of changes 
> on other programs.
>
> It will look something like this:
>
> path=.;f:\r\tools\bin;f:\perl\bin;f:\minGW\bin;f:\cygwin\bin;c:\util\misc;c:\windows\command;F:\texmf\miktex\bin;c:\progra~1\htmlhe~1 
>
>
> but this is from a very old batch file (I don't use the Windows shell 
> any more), and of course the paths to the programs will likely be 
> different on your system than on mine.
>
>> Also I did a search for Rpwd.exe and it seems I don't have that 
>> file.  I have Rpwd.c.  It seems I'm missing an important step in the 
>> build processes, but I don't know what it is.
>
>
> Rpwd.exe is made in one of the first steps of the build process.  What 
> you missed is setting up the path so that the build can proceed.
>
> Duncan Murdoch
>
>>
>> Philip.
>>
>> Duncan Murdoch wrote:
>>
>>> Philip Bermingham wrote:
>>>
>>>> I'm trying to compile R on Windows 2003 Server and following the
>>>> instruction laid out in R inst and admin manual I continue to get this
>>>> error:
>>>>
>>>>  
>>>>
>>>> make: ./Rpwd.exe: Command not found
>>>>
>>>> make[1]: ./Rpwd.exe: Command not found
>>>>
>>>> /cygdrive/d/rp/tools/bin/make --no-print-directory -C front-ends Rpwd
>>>>
>>>> /cygdrive/d/rp/tools/bin/make -C ../../include -f Makefile.win version
>>>>
>>>> make[3]: sh.exe: Command not found
>>>
>>>
>>>
>>> sh.exe is one of the programs in the tools collection, so it looks 
>>> as though you don't have that on your path.  Getting the path right 
>>> is important.  A description of what you need in the path is in the 
>>> R Installation and Administration manual.
>>>
>>> Duncan Murdoch
>>>
>>>
>
>




More information about the R-help mailing list