[R] installing R-2.1.0 from source on Fedora Core 3 with tcltk

Roger D. Peng rpeng at jhsph.edu
Sun Apr 24 23:07:38 CEST 2005


I haven't had a problem building R 2.1.0 on FC3 and I've got the 
tcl, tcl-devl, tk, and tk-devel rpms installed (and I don't use 
the --with-tcltk configure switch).  I've never downloaded the 
R_Tcl.zip file.

Does 'configure' find the tcl/tk setup and then it fails to 
compile or does 'configure' just not find tcl/tk to begin with?

Also, is this a 64-bit system?  We've had trouble building R with 
tcl/tk support on some of our 64-bit Red Hat installations.

-roger

Jonathan Baron wrote:
> I installed from source on Fedora Core 3 starting with the
> command
> 
> ./configure --prefix=/usr --with-tcltk
> 
> (The --with-tcltk may not be necessary, but there seems to be
> some correlation between using it and getting it to work.)
> 
> It would not compile with tcltk, even though I had both tcl and
> tk rpms installed.
> 
> Various fooling around let me to get
> 
> http://www.murdoch-sutherland.com/Rtools/R_Tcl.zip
> 
> (even though it is supposedly for Windows), unzip it in the
> R-2.0.0/ directory (where the tar file put itself), and also
> install rpms for tcl-devel and tk-devel, which I did not have.
> When I did both of these things, it worked.  Either one of them
> alone (the ..devel rpms or the R_Tcl.zip) did not suffice.
> (However, it isn't clear that a single trial experiment is
> sufficient to determine what works.)
> 
> My own problem is solved for the moment.  But others may benefit
> from this report, and it may be that the installation
> documentation needs minor tweaking.  (Or it may be that I did
> something else wrong, but right now I doubt that.)
> 
> Jon




More information about the R-help mailing list