Can we please have an ebuild to upgrade to the newest versions of expect, tcl and tk ?
I have Expect 5.37.1 , tcl 8.3.3-r3 and Tk 8.3.3-r1 . Expect contains a script /usr/bin/multixterm. bash-2.05a# multixterm can't find package Tk while executing "package require Tk" (file "/usr/bin/multixterm" line 312) I googled around a bit for the error and found a webpage at http://people.debian.org/~dz/i8k/README.i8kutils which says NOTE: it has been reported that on some Linux distributions i8kmon exits with an error like this: can't find package Tk while executing "package require Tk" This is not a bug in i8kmon. It means that Tcl/Tk files are not installed correctly on your system and the Tk library can't be dynamically loaded from Tcl. The webpage tells me that a quickfix could be adding the following line to /usr/lib/tk8.3/pkgIndex.tcl . (This file did not exist and I had to create it) package ifneeded Tk 8.3 [list load "/usr/lib/libtk8.3.so.1" Tk] However, I dont have /usr/lib/libtk8.3.so.1 . I do have /usr/lib/libtk8.3.so and added the line with the necessary modification. At this point, when I run multixterm, it returns to the prompt. Anything else I should try ? Aniruddha Shankar
Hi Aniruddha. I traced it down to expect not installing shared libraries of itself. I corrected the ebuild, please rsync again. Still multixterm when run on itself will return to the command prompt. However you can invoke it with wish: wish /usr/bin/multixterm Then it starts up and behaves normally (and AFAIK this is the preferred way to run tcl/tk apps). Could you please test. George
yes, /usr/bin/multixterm still gives me the same error, however, wish /usr/bin/multixterm now works :) thanks !