[BioC] tcltk problem under Linux (both 32 and 64 bits)
Groot, Philip de
philip.degroot at wur.nl
Tue Oct 10 17:36:12 CEST 2006
Hello all,
Currently, I am compiling the latest R-release and find that there is a problem with the tcltk library. When compiling R (using SuSE Linux 9.3 professional and gcc version (GCC) 3.3.3 (SuSE Linux) (64 bit support enabled)).
Compiling a 64-bits (and 32 bits) R works fine. R executes properly and the 64 bits R can address memory > 4GB, so this is all OK.
However, when installing BioConductor I also need to install the tkWidgets library. And this fails: it claims that Tcl/Tk is not installed on the system. However, both the normal and development packages for both tcl and tk are properly installed. tclsh and wish can be executed properly. No problem at all!
So, I am confused. Where does the problem originate from? It turns out that - during compiling R - the tcltk library is also compiled and installed. No error messages are showed / generated (the library IS actually installed) but when try to load it gives an error message:
> 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'
Again: Tck/Tk support IS available on the system (running a 64 bits version of SuSE). It is also available on a 32 bits Linux distribution and the problems on this system remain the same.
I cannot get any information on the cause of the problem. Even strace does not point me in some direction. So I have some questions:
1. If you are running R-2.4.0 under Linux, does library(tcltk) work (to find out whether it is a general problem or not)?
2. Any idea what causes this problem?
3. How does the library check whether tcltk is available anyway?
Any help is greatly appreciated. If someone can make a working tcltk library available (e.g. when using the same Linux distribution), this would be great!
Regards,
Dr. Philip de Groot
Wageningen University
More information about the Bioconductor
mailing list