[Rd] Compiling R 2.12.0 from source: error (temp dir)

Janko Thyson janko.thyson at ku-eichstaett.de
Thu Nov 18 11:12:33 CET 2010


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



More information about the R-devel mailing list