[R] tcltk problems

2017-11-17 Thread Rolf Turner
It recently came to my attention that my R installation no longer has tcltk capability. I can't figure out why or what to do about it. I built R from source. I configured using the "--with-tcltk" flag. The build and install *seemed* to go OK, but after realising I didn't have tcltk capabi

Re: [R] tcltk problems

2017-11-17 Thread Erin Hodgess
When I have compiled from sourced on Ubuntu, I did NOT include the "with-tcltk" and it worked fine. Did you try that, please? Thanks, Erin On Fri, Nov 17, 2017 at 6:34 PM, Rolf Turner wrote: > > It recently came to my attention that my R installation no longer has > tcltk capability. > > I ca

Re: [R] tcltk problems

2017-11-17 Thread Rolf Turner
On 18/11/17 17:00, Erin Hodgess wrote: When I have compiled from sourced on Ubuntu, I did NOT include the "with-tcltk" and it worked fine.  Did you try that, please? In the past I have configured without using the "--with-tcltk" flag, and R of course built just fine. But it *did not* have tclt

Re: [R] tcltk problems

2017-11-17 Thread Rolf Turner
On 18/11/17 17:00, Erin Hodgess wrote: When I have compiled from sourced on Ubuntu, I did NOT include the "with-tcltk" and it worked fine.  Did you try that, please? As I said, this idea makes absolutely no sense, but OK, I tried it. And of course it didn't work. Using the newly built R I ra

Re: [R] tcltk problems

2017-11-17 Thread Peter Langfelder
Rolf, looking at the configure script I believe you need to specify --with-tcl-config=/usr/lib/tcl8.6/tclConfig.sh and similarly --with-tk-config= HTH, Peter On Fri, Nov 17, 2017 at 8:43 PM, Rolf Turner wrote: > On 18/11/17 17:00, Erin Hodgess wrote: >> >> When I have compiled from sourced

Re: [R] tcltk problems

2017-11-18 Thread peter dalgaard
That should probably work, but I wonder whether the root cause might be non-installation of Ubuntu "-devel" (or is it "-dev"?) Tcl and Tk packages. It doesn't look quite right to have to tell R's configure about a path that depends on the current Tcl/Tk version. I would have expected that tclCon

Re: [R] tcltk problems

2017-11-18 Thread Albrecht Kauffmann
Did you istall the tcl- and tk-devel packages? Best, Albrecht -- Albrecht Kauffmann alkau...@fastmail.fm Am Sa, 18. Nov 2017, um 05:00, schrieb Erin Hodgess: > When I have compiled from sourced on Ubuntu, I did NOT include the > "with-tcltk" and it worked fine. Did you try that, please? >

Re: [R] tcltk problems

2017-11-18 Thread Dirk Eddelbuettel
Rolf, A few quick points as I just noticed this thread (as I don't regularly dip into r-help any more): 1) You really do not need to builds R locally on Ubuntu. I update the Debian package hours after Peter cuts a release. Michael rolls Ubuntu releases off these typically the same or

Re: [R] tcltk problems

2017-11-18 Thread Rolf Turner
On 18/11/17 18:18, Peter Langfelder wrote: Rolf, looking at the configure script I believe you need to specify --with-tcl-config=/usr/lib/tcl8.6/tclConfig.sh and similarly --with-tk-config= HTH. Yes it helped. Thank you. I don't really understand why, but. I had previously (following an

Re: [R] tcltk problems

2017-11-19 Thread peter dalgaard
This is normal, but you're not reading it right. Typically, a program conftest.c is generated on the fly and contains something like a #include of something you may or may not have. The first part of the program is labeled /* conftest.h */ which indicates that it is taken from that file of stand

Re: [R] tcltk problems

2017-11-19 Thread peter dalgaard
Dirk may want to dig in here: Seems like you have a system with a /usr/lib64 dir for 64 bit libraries, but Tcl files in /usr/lib. If that is not an anomaly, it looks like we have a configure bug (conceiveably, a system might be using /usr/lib for architecture-independent files, and lib64/lib32

Re: [R] tcltk problems

2017-11-19 Thread Dirk Eddelbuettel
On 19 November 2017 at 12:17, peter dalgaard wrote: | Dirk may want to dig in here: I respectfully decline. R builds fine on every Ubuntu system, and always has. No bug in R, or Ubuntu, or Debian (which would be cup of tea). There is the distro package (which may be older if an older distro lik

Re: [R] tcltk problems

2017-11-19 Thread Rolf Turner
On 20/11/17 03:15, Dirk Eddelbuettel wrote: On 19 November 2017 at 12:17, peter dalgaard wrote: | Dirk may want to dig in here: I respectfully decline. R builds fine on every Ubuntu system, and always has. No bug in R, or Ubuntu, or Debian (which would be cup of tea). There is the distro pack

Re: [R] tcltk problems

2017-11-19 Thread Dirk Eddelbuettel
On 20 November 2017 at 08:38, Rolf Turner wrote: | Point of order Mr. Chairman. It is completely unfair to say that I shot | myself in the foot. You moved files [or, in this case, created symlinks] below /usr. Most of us repeatedly said you should not have to. | Well, OK. What list *should*