From: Daniel A. S. <st...@ic...> - 2003-09-01 04:43:00
|
James, On Thursday, Aug 28, 2003, at 15:58 Australia/Sydney, James Wettenhall wrote: > BWidget and Tktable both worked fine in wish, but Tktable didn't > work in R. The error I got: > unknown color name "systemWindowBody" > apparently suggests a conflict between Aqua Tcl/Tk and X11 > Tcl/Tk. Note that Tktable has a binary shared library, whereas > BWidget does not. (BWidget widgets worked fine in R.) this has come up before, you need to build TkTable yourself for tk/X11, you seem to have a prebuilt tkTable for TkAqua, they are not compatible. > Another Mac administrator who tried installing R and Tcl/Tk for > me on a different MacOS X computer installed : > http://www.apple.com/downloads/macosx/unix_open_source/tcltkaqua.html > with the same version of R (above) > > and I ended up with the same error. I don't understand that, this should be the aqua version of Tk (I provide Apple with the download above... same as the one at tkaqua.sf.net) > Does anyone have any good tips for "hiding" Aqua Tcl/Tk > directories from the Tcl/Tk search path if I want to just use > X11 Tcl/Tk? this is for tcl/tk built with fink? If they build it properly, I think /sw/lib should be early in the $auto_path, any extensions there will be found before extensions later in the auto_path such as in /Library/Tcl can you provide us with the result of % puts $auto_path for your fink version of tcl ? Preventing extensions that depend on TkAqua from loading in TkX11 is something that is on my todo list for a future BI distribution, all Tk extensions that depend on [tk windowingsystem] should really check for the value they need in their pkgIndex.tcl before loading... but given that this is not been a problem until TkAqua and TkX11 became possible on the same platform, no current extensions deal with this issue. > Also, does anyone have any good tips for building Tktable from > source in MacOS X with X11? I couldn't find much information in > the README file in the Tktable source from: > http://sourceforge.net/projects/tktable TkTable is a fully TEA2ified extension and thus building should be as easy as ./configure --prefix=/sw \ --with-tcl=/sw/lib \ --with-tk=/sw/lib make; sudo make install (or whatever locations are appropriate for the fink tcl/tk install, look for tclConfig.sh resp tkConfig.sh) Cheers, Daniel -- ** Daniel A. Steffen ** "And now for something completely ** Dept. of Mathematics ** different" Monty Python ** Macquarie University ** <mailto:st...@ma...> ** NSW 2109 Australia ** <http://www.maths.mq.edu.au/~steffen/> |