[R] trying to compile R in win 7 (with Rtools) ... tcl.h

Cleber N.Borges klebyn at yahoo.com.br
Sat Oct 5 04:29:47 CEST 2013


stop because
*had a stone in the middle of the way*
*in the middle of the way had a stone*
(by vinicius de moraes)
#########################

so, one more help? somebody? :-)

thanks...
cleber

building package 'tcltk'
making init.d from init.c
making tcltk.d from tcltk.c
making tcltk_win.d from tcltk_win.c
gcc  -I"../../../../include" -DNDEBUG -I "../../../../Tcl"/include 
-DWin32         -O3 -Wall  -std=gnu99 -mtune=core2 -c init.c -o init.o
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-win2] Error 1
make[2]: *** [all] Error 2
make[1]: *** [R] Error 1
make: *** [all] Error 2




Em 04/10/2013 22:46, Cleber N.Borges escreveu:
>
> bingo!  :-)
> I got one pass to advanced!
>
> my TMP environment variable is:
> %SystemRoot%\TEMP
>
>
> thanks
> cleber
>
>
> Em 04/10/2013 22:02, Joshua Wiley escreveu:
>> Hi Cleber,
>>
>> You need to set TMPDIR to a valid directory, the default /tmp/ does 
>> not work on Windows.
>>
>> From the cmd shell:
>>
>> set TMPDIR=C:/TMP
>>
>> for example
>>
>> and then run make all recommended
>>
>> Cheers,
>>
>> Josh
>>
>>



More information about the R-help mailing list