From edd at debian.org  Thu May 28 13:34:51 2015
From: edd at debian.org (Dirk Eddelbuettel)
Date: Thu, 28 May 2015 06:34:51 -0500
Subject: [Rd] building with tcltk on Ubuntu 14.04
In-Reply-To: <73FAD31E-FCDE-4AD6-8DFB-027C55EC67CA@oulu.fi>
References: <55647C66.6060702@gmail.com>
	<21860.33346.581909.652856@max.nulle.part>
	<55648DA5.2070709@gmail.com>
	<21862.55426.720415.633252@stat.math.ethz.ch>
	<73FAD31E-FCDE-4AD6-8DFB-027C55EC67CA@oulu.fi>
Message-ID: <21862.64859.593123.312658@max.nulle.part>


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.

Dirk

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



[Rd] building with tcltk on Ubuntu 14.04
Dirk Eddelbuettel