From lai at lindaspaces.com  Fri Oct 14 03:19:58 2005
From: lai at lindaspaces.com (Jennifer Lai)
Date: Thu, 13 Oct 2005 21:19:58 -0400
Subject: [Rd] Building R on Windows
In-Reply-To: <Pine.LNX.4.61.0510132153520.9857@gannet.stats>
References: <Pine.GSO.4.31.0510131344130.15462-100000@toucan.stats>
	<434EC066.7080406@lindaspaces.com>
	<Pine.LNX.4.61.0510132153520.9857@gannet.stats>
Message-ID: <434F07BE.1090609@lindaspaces.com>

Prof Brian Ripley wrote:

> On Thu, 13 Oct 2005, Jennifer Lai wrote:
>
>> Prof Brian Ripley wrote:
>>
>>> On Thu, 13 Oct 2005, Jennifer Lai wrote:
>>>
>>>
>>>> Hi,
>>>>  I"m a newbie on building R on Windows. I followed the instructions
>>>> cited here,
>>>> http://www.murdoch-sutherland.com/Rtools/ to build R-2.2.0.
>>>> Everything works fine up till when package base needs to be compiled.
>>>> here is the error message,
>>>>
>>>> ---------- Making package base ------------
>>>> adding build stamp to DESCRIPTION
>>>> Error in library.dynam(lib, package, package.lib) :
>>>>       shared library 'tools' not found
>>>> Execution halted
>>>> make[4]: *** [frontmatter] Error 1
>>>> make[3]: *** [all] Error 2
>>>> make[2]: *** [pkg-base] Error 2
>>>> make[1]: *** [rpackage] Error 2
>>>> make: *** [all] Error 2
>>>>
>>>> Has anyone seen this error message before? Where can I find shared
>>>> library tools?
>>>>
>>>
>>> It was built at the bootstrapping phase, or should have been.
>>>
>>>
>> Is there something like config.log for Windows port?
>
>
> No.  You will need to start again and show us what happens around the 
> boot it says it is bootstrapping.
>
>
>> I didn't see anything suspcicious that helped me in finding where 
>> shared library tools should be built.
>> There were couple of warning messges related to dlapack, but these 
>> are not related to tools, right?
>>
>> In file included from dlapack0.f:0:
>> dlapack0.f:203: warning: 'ipv' might be used uninitialized in this 
>> function
>> dlapack0.f:203: warning: 'jpv' might be used uninitialized in this 
>> function
>> dlapack0.f:204: warning: 'smin' might be used uninitialized in this 
>> function
>
>
> You will get many of those.
>
>
I was able to build R for Windows successfully with a clean copy of 
R-2.2.0, rather than using "make clean" to remove all object files.

Thanks,
Jennifer



[Rd] Building R on Windows
Jennifer Lai