On 07/07/2016 5:47 PM, Avraham Adler wrote:
I am trying to build R under 64bit Windows7. I am using a fresh
install of Rtools34 and R-patched_2016-07-05. I am getting the
following error:

C:/Rtools/mingw_64/bin/gcc -shared -s -static-libgcc -o tcltk.dll tmp.def init.o
 tcltk.o tcltk_win.o ../../../gnuwin32/dllversion.o -L../../../../Tcl/bin64 -ltc
l85 -ltk85 -LC:/R/RLocalSoft/lib/x64 -LC:/R/RLocalSoft/lib -L../../../../bin/x64
 -lR
C:/Rtools/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w6
4-mingw32/bin/ld.exe: cannot find -ltcl85
C:/Rtools/mingw_64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w6
4-mingw32/bin/ld.exe: cannot find -ltk85
collect2.exe: error: ld returned 1 exit status
cp: cannot stat 'tcltk.dll': No such file or directory


Looking into R64/Tcl/bin64, I see that the versions provided are
tcl86.dll and tk86.dll, which probably means that line 85 of
R_HOME/src/gnuwin32/fixed/etc/Makeconf needs to be changed from:

TCL_VERSION = 85

to

TCL_VERSION = 86

That is the current setting in R-devel, and has been since revision 70701 on June 3. (It is 85 in the 3.3 branch.)

Duncan Murdoch

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to