From avraham.adler at gmail.com  Thu Jul  7 23:47:52 2016
From: avraham.adler at gmail.com (Avraham Adler)
Date: Thu, 7 Jul 2016 17:47:52 -0400
Subject: [Rd] Error building Tcl: R-patched_2016-07-05
Message-ID: <CAL6gwnJN__nzCz5yKsmo522bvoEbY8+PapbKmigGrJNurUYAiQ@mail.gmail.com>

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

Thank you,

Avi



[Rd] Error building Tcl: R-patched_2016-07-05
Avraham Adler