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]]
Prof Brian Ripley
2010-Nov-17 17:41 UTC
[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.) 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
Reasonably Related Threads
- Problems building own package (Error: "package has been build before R-2.10.0")
- Problems building own package (Error: "package has been build before R-2.10.0")
- Bug or feature: using "ANY" as a generic field class (was: '[R] Is there a (virtual) class that all R objects inherit from?)
- Stats not loaded? Method for as.ts() results in error
- Reference Classes: removing methods -> implications for objects/instances of that class