[BioC] tcltk installation problem

Ilhem Diboun idiboun at biochem.ucl.ac.uk
Thu Nov 26 14:36:00 CET 2009


Hi

I am having difficulties loading the tcltk library in R
and I would greatly appreciate any help.

I installed the tcl/tk  (tcl8.5.8-src.tar.gz & tk8.5.8-src.tar.gz)
packages from www.tcl.tk and installed them. Then, I downloaded
the latest version of R source code
and compiled it specifying the paths to tclConfig.sh/tkConfig.sh
using the following command:

 R-2.10.0> ./configure 
--with-tcl-config=/home/bsm/idiboun/software/tcl8.5.8/unix/tclConfig.sh 
--with-tk-config=/home/bsm/idiboun/software/tk8.5.8/unix/tkConfig.sh

After issuing the 'make' command, running R and trying to load the library
tcltk returns the same old error:

 > library(tcltk)
Error in firstlib(which.lib.loc, package) :
  Tcl/Tk support is not available on this system
Error in library(tcltk) : .First.lib failed for 'tcltk'

-The following are from the R configuration output:
checking for /home/bsm/idiboun/software/tcl8.5.8/unix/tclConfig.sh... 
/home/bsm/idiboun/software/tcl8.5.8/unix/tclConfig.sh
checking for /home/bsm/idiboun/software/tk8.5.8/unix/tkConfig.sh... 
/home/bsm/idiboun/software/tk8.5.8/unix/tkConfig.sh
checking tcl.h usability... yes
checking tcl.h presence... yes
checking for tcl.h... yes
checking tk.h usability... no
checking tk.h presence... no
checking for tk.h... no
checking 
/home/bsm/idiboun/software/tk8.5.8/unix/include/tk8.5/generic/tk.h 
usability... no
checking 
/home/bsm/idiboun/software/tk8.5.8/unix/include/tk8.5/generic/tk.h 
presence... no
checking for 
/home/bsm/idiboun/software/tk8.5.8/unix/include/tk8.5/generic/tk.h... no
checking /home/bsm/idiboun/software/tk8.5.8/unix/include/tk8.5/tk.h 
usability... no
checking /home/bsm/idiboun/software/tk8.5.8/unix/include/tk8.5/tk.h 
presence... no
checking for 
/home/bsm/idiboun/software/tk8.5.8/unix/include/tk8.5/tk.h... no
checking /home/bsm/idiboun/software/tk8.5.8/unix/include/tcl8.5/tk.h 
usability... no
checking /home/bsm/idiboun/software/tk8.5.8/unix/include/tcl8.5/tk.h 
presence... no
checking for 
/home/bsm/idiboun/software/tk8.5.8/unix/include/tcl8.5/tk.h... no
checking /home/bsm/idiboun/software/tk8.5.8/unix/include/tk.h 
usability... no
checking /home/bsm/idiboun/software/tk8.5.8/unix/include/tk.h presence... no
checking for /home/bsm/idiboun/software/tk8.5.8/unix/include/tk.h... no
checking for tk.h... yes

Does that suggest that there are problems with the way I installed 
tcl/tk packages ???
Also, I read from the bioconductor mailing list archive emails that the 
-dev packages for
the tcl tk packages need also to be installed. If so, where can I find 
them, they don't seem
to be on www.tcl.tk ??

Many thanks in advance



More information about the Bioconductor mailing list