Puh, heres where Im at right now: - I reinstalled Rtools (2.12) to C:\Rtools (full installation) left the default for R Root dir = C:\R and R 64 root dir = C:\R64, - I noticed that theres a Tcl directory in C:\R now -> is that what I need regarding my previous Tcl/Tk issue down the building process? Or do I still need to install Tcl in any way? - I checked my Windows PATH if it exactly reflects the recommendations in the admin manual, - I set a windows environment variable TMPDIR=C:/temp
And now Im back to my old error regarding the temp dir because its somehow still set to /tmp. cannot create /tmp/R4156: directory nonexistent mv: cannot stat `/tmp/R4156': 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? Im really trying ;-) Thanks, Janko ##### SYSTEM INFO ##### Windows XP SP3 R 2.12.0 Eclipse 3.6.1 (Helios) StatET 0.9.x ##################### > -----Ursprüngliche Nachricht----- > Von: Janko Thyson [mailto:janko.thy...@ku-eichstaett.de] > Gesendet: Donnerstag, 18. November 2010 16:38 > An: 'Duncan Murdoch' > Cc: 'r-de...@r-project. org' > Betreff: AW: [Rd] Compiling R 2.12.0 from source: error (temp dir) > > Sorry, but I'm still kind of puzzled on this one ;-) > > Found the Tcl/Tk section in the manual but I don't really understand > where I have to set those options. Append it to 'make all recommended'? > I checked 'make --help' which didn't list any such options. Or does > that refer to the installation of Tcl/Tk itself? I downloaded and > installed the binary version of Tcl/Tk (ActiveTcl > http://downloads.activestate.com/ActiveTcl/releases/8.5.9.0/ActiveTcl8. > 5.9.0.293667-win32-ix86-threaded.exe) and as far as I understand, I now > need to link that to the tcltk package of R, right? I don't know how I > would install Tcl/Tk from its sources, but if that's the better choice: > could anyone drop me the command line(s) I need to execute in order to > install and link Tcl/Tk to my R (pre-)build? > > Thanks a lot, > Janko > > SECTION FROM THE MANUAL (P. 32): > A.2.1 Tcl/Tk > The tcltk package needs Tcl/Tk >= 8.4 installed: the sources are > available at http:// > www.tcl.tk/. To specify the locations of the Tcl/Tk files you may need > the configuration > options > --with-tcltk > use Tcl/Tk, or specify its library directory > --with-tcl-config=TCL_CONFIG > specify location of tclConfig.sh > --with-tk-config=TK_CONFIG > specify location of tkConfig.sh > or use the configure variables TCLTK_LIBS and TCLTK_CPPFLAGS to specify > the flags needed > for linking against the Tcl and Tk libraries and for finding the > tcl.h and tk.h headers, > respectively. If you have both 32- and 64-bit versions of Tcl/Tk > installed, specifying the paths > to the correct config files may be necessary to avoid confusion between > them. > > SYSTEM INFO: > - Windows XP SP 3 > - R-2.12.0 > - Eclipse 3.6.1 > - StatET 0.9.x > > > -----Ursprüngliche Nachricht----- > > Von: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] > > Gesendet: Donnerstag, 18. November 2010 12:54 > > An: Janko Thyson > > Cc: 'r-de...@r-project. org' > > Betreff: Re: [Rd] Compiling R 2.12.0 from source: error (temp dir) > > > > 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.thy...@ku-eichstaett.de] > > >> Gesendet: Donnerstag, 18. November 2010 11:13 > > >> An: 'Prof Brian Ripley' > > >> Cc: 'r-de...@r-project. org' > > >> Betreff: AW: [Rd] Compiling R 2.12.0 from source: error (temp dir) > > >> > > >>> -----Ursprüngliche Nachricht----- > > >>> Von: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk] > > >>> Gesendet: Mittwoch, 17. November 2010 18:42 > > >>> An: Janko Thyson > > >>> Cc: 'r-de...@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@r-project.org mailing list > > >>>> https://stat.ethz.ch/mailman/listinfo/r-devel > > >>>> > > >>> > > >>> -- > > >>> Brian D. Ripley, rip...@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@r-project.org mailing list > > > https://stat.ethz.ch/mailman/listinfo/r-devel ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel