[Rd] Compiling R 2.12.0 from source: error (temp dir)
Duncan Murdoch
murdoch.duncan at gmail.com
Thu Nov 18 12:54:00 CET 2010
On 18/11/2010 5:40 AM, Janko Thyson wrote:
> I've created a /tmp directory so I wouldn't have to change TMPDIR. So far,
> so good. But now I get the error below. Anything I forgot regarding tcltk?
Looks as if you forgot to install it.
Duncan Murdoch
>
> Thx,
> Janko
>
> ERROR:
> In file included from init.c:22:0:
> tcltk.h:23:17: fatal error: tcl.h: No such file or directory
> compilation terminated.
> make[4]: *** [init.o] Error 1
> make[3]: *** [mksrc-win] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [R] Error 1
> make: *** [all] Error 2
>
> SYSTEM INFO:
> - Windows XP SP 3
> - R-2.12.0
> - Eclipse 3.6.1
> - StatET 0.9.x
>
>> -----Ursprüngliche Nachricht-----
>> Von: Janko Thyson [mailto:janko.thyson at ku-eichstaett.de]
>> Gesendet: Donnerstag, 18. November 2010 11:13
>> An: 'Prof Brian Ripley'
>> Cc: 'r-devel at r-project. org'
>> Betreff: AW: [Rd] Compiling R 2.12.0 from source: error (temp dir)
>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk]
>>> Gesendet: Mittwoch, 17. November 2010 18:42
>>> An: Janko Thyson
>>> Cc: 'r-devel at r-project. org'
>>> Betreff: Re: [Rd] Compiling R 2.12.0 from source: error (temp dir)
>>>
>>> Is this on Windows? (Please do consult the posting guide and tell us
>>> the 'at a minimum' information we asked for.)
>>>
>>> If so, it seems you forget the bit about setting TMPDIR right at the
>>> top of the section on 'Building the core files':
>>>
>>> Set the environment variable @env{TMPDIR} to point to a writable
>>> directory, with a path specified with forward slashes and no
>> spaces.
>>> (The default is @file{/tmp}, which may not be useful on Windows.)
>>>
>>
>> Sorry, I always forget to provide that info.
>>
>> Could you tell me where/how I have to set TMPDIR? I've looked in
>> MkRules.local but didn't find anything. Or is that an argument at 'make
>> all recommended'?
>>
>> Thanks,
>> Janko
>>
>> SYSTEM INFO:
>> - Windows XP SP 3
>> - R-2.12.0
>> - Eclipse 3.6.1
>> - StatET 0.9.x
>>
>>> On Wed, 17 Nov 2010, Janko Thyson wrote:
>>>
>>>> Dear list,
>>>>
>>>>
>>>>
>>>> I've just tried to compile R 2.12.0 from source as I think I found
>> an
>>> error
>>>> in a C function that I would like to fix and check before I go
>> ahead
>>> with
>>>> posting the presumed error.
>>>>
>>>>
>>>>
>>>> I've got the R Toolset 2.12 installed and configured correctly and
>>> followed
>>>> the Admin manual closely (including the entire bitmap stuff; exact
>>> same
>>>> versions as in the manual). Also, all anti virus software is turned
>>> off (as
>>>> it complained on some .exe). I have Admin rights on my box.
>>>>
>>>>
>>>>
>>>> When I run 'make all recommended' I get the following error after a
>>> while:
>>>>
>>>>
>>>>
>>>> cannot create /tmp/R5436: directory nonexistent
>>>>
>>>> mv: cannot stat `/tmp/R5436': No such file or directory
>>>>
>>>> make[3]: *** [mkR] Error 1
>>>>
>>>> make[2]: *** [all] Error 2
>>>>
>>>> make[1]: *** [R] Error 1
>>>>
>>>> make: *** [all] Error 2
>>>>
>>>>
>>>>
>>>> Any ideas what this is about? Seems that the compiler can't create
>> a
>>> temp
>>>> directory because of a missing directory.
>>>>
>>>>
>>>>
>>>> Thanks for any hints,
>>>>
>>>> Janko
>>>>
>>>>
>>>> [[alternative HTML version deleted]]
>>>>
>>>> ______________________________________________
>>>> R-devel at r-project.org mailing list
>>>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>>>
>>>
>>> --
>>> Brian D. Ripley, ripley at stats.ox.ac.uk
>>> Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
>>> University of Oxford, Tel: +44 1865 272861 (self)
>>> 1 South Parks Road, +44 1865 272866 (PA)
>>> Oxford OX1 3TG, UK Fax: +44 1865 272595
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
More information about the R-devel
mailing list