From jari.oksanen at oulu.fi  Thu May 28 11:38:06 2015
From: jari.oksanen at oulu.fi (Jari Oksanen)
Date: Thu, 28 May 2015 09:38:06 +0000
Subject: [Rd] building with tcltk on Ubuntu 14.04
In-Reply-To: <21862.55426.720415.633252@stat.math.ethz.ch>
References: <55647C66.6060702@gmail.com>
	<21860.33346.581909.652856@max.nulle.part>	<55648DA5.2070709@gmail.com>
	<21862.55426.720415.633252@stat.math.ethz.ch>
Message-ID: <73FAD31E-FCDE-4AD6-8DFB-027C55EC67CA@oulu.fi>


On 28/05/2015, at 11:57 AM, Martin Maechler wrote:

>>>>>> Ben Bolker <bbolker at gmail.com>
>>>>>>    on Tue, 26 May 2015 11:13:41 -0400 writes:
> 
> 
>> 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
> 
>> seems to work.  (My fault for assuming repeated cycles of
>> ./configure; make would actually do the right thing ...)
> 
>> There seems to be a corollary of Clarke's Law ("any sufficient
>> advanced technology is indistinguishable from magic") that says that
>> any sufficiently complex software system may *not* be magic, but it's
>> just easier to treat it as though it is ...
> 
>> Thanks for the offer of help ...
> 
> 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

I need these explicit switches only when configure is overwritten. Normal compilation with ./configure works OK and finds Tcl/Tk, but a couple of times per year the configure seems to change so much that I need to use these switches. I have had this problem a couple of years. 

If I need to guess, I do something wrong and against instructions, and therefore I won't complain.

Cheers, Jari Oksanen



[Rd] building with tcltk on Ubuntu 14.04
Jari Oksanen