From ripley at stats.ox.ac.uk  Thu Dec 15 08:26:38 2005
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Thu, 15 Dec 2005 07:26:38 +0000 (GMT)
Subject: [Rd] R-beta: configure problem (tcltk) on 64 bit Red Hat EL
In-Reply-To: <m0fyovwijf.fsf@bar.nemo-project.org>
References: <m0irtryj1h.fsf@bar.nemo-project.org>
	<1134564372.31436.3.camel@seurat>
	<m0fyovwijf.fsf@bar.nemo-project.org>
Message-ID: <Pine.LNX.4.61.0512150722470.13950@gannet.stats>

On Wed, 14 Dec 2005, Bj?rn-Helge Mevik wrote:

> Martyn Plummer wrote:
>
>> It looks like you have the i386 RPMs for tcl and tk installed.
>
> You are right.  I have both the i386 and x86_64 RPMs installed.
>
>> ./configure --with-tcl-config=/usr/lib64/tclConfig.sh \
>>             --with-tk-config=/usr/lib64/tkConfig.sh
>
> Thank you!  This works like a charm.

At a closer look, R was searching /usr/lib before /usr/lib64 which seems 
sub-optimal, so I have reversed this (and added /usr/local/lib64 to the 
list before /usr/local/lib).  Nevertheless, for some builds (e.g.
32-bit R on 64-bit Linux) you will need to specify the paths as the manual 
says.

> Prof Brian Ripley wrote:
>
>> It is a problem with your particular OS,
>
> You are right.  As Martyn suggested, configure picked up
> /usr/lib/{tcl,tk}Config.sh instead of /usr/lib64/{tcl,tk}Config.sh
> because I have both i386 and x86_64 versions of the RPMs installed.
>
>> Unfortunately you have removed the crucial parts of where your
>> configure got the configuration info from.
>
> Typically me! :-)
>
>
> Thanks, both of you!
>
> -- 
> Bj?rn-Helge Mevik
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


[Rd] R-beta: configure problem (tcltk) on 64 bit Red Hat EL
Prof Brian Ripley