[Rd] building with tcltk on Ubuntu 14.04

Dirk Eddelbuettel edd at debian.org
Thu May 28 13:34:51 CEST 2015

On 28 May 2015 at 09:38, Jari Oksanen wrote:
| On 28/05/2015, at 11:57 AM, Martin Maechler wrote:
| >>>>>> Ben Bolker <bbolker at gmail.com>
| >> False alarm.  Completely wiping out my build directory followed by
| > 
| >> ../R-devel/configure --with-tcl-config=/usr/lib/tclConfig.sh
| >> - --with-tk-config=/usr/lib/tkConfig.sh; make

| > I also run several computers on Ubuntu 14.04
| > and never had to anything special, I mean *no*  
| > --with-tcl-...  or --with-tk-....
| > where ever needed for me on 14.04 or earlier Ubuntu's... so I do
| > wonder how you got into problems at all.
| > 
| I also have the same problem with Ubuntu (at least in 14.04, now in 15.04): ./configure does not find tcl/tk without --with-tcl-… and --with-tk-… 
| They are in quite normal places, but still need manual setting. Currently I use something like --with-tcl-config=/usr/lib/tclConfig.sh --with-tk-config=/usr/lib/tkConfig.sh

Wild guess:  You are still using tcl85-dev and tk8.5-dev.

Switch to 8.6 for both and defaults should work.

See eg this Dockerfile with the 'recipe' for building R(-devel) from source;
it too relies on tck/tk 8.6 now.


PS Allow me to reiterate that this discussion would have felt more at home on
the r-sig-debian list.

http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org

More information about the R-devel mailing list