Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3957 - Upgrading to expect >=5.37.1
Summary: Upgrading to expect >=5.37.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-20 18:56 UTC by Aniruddha Shankar
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aniruddha Shankar 2002-06-20 18:56:49 UTC
Can we please have an ebuild to upgrade to the newest versions of expect, tcl and tk ?
Comment 1 Aniruddha Shankar 2002-07-19 02:52:17 UTC
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
Comment 2 George Shapovalov (RETIRED) gentoo-dev 2002-07-20 15:11:54 UTC
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
Comment 3 Aniruddha Shankar 2002-07-21 06:24:39 UTC
yes, /usr/bin/multixterm still gives me the same error, however, wish /usr/bin/multixterm now 
works :)

thanks !