Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 56514

Summary: dev-tcltk/expect-5.37.1-r1 - multixterm script fails with error "can't find package Tk"
Product: Gentoo Linux Reporter: James McPhee <j_mcphee>
Component: Current packagesAssignee: TCL/TK Project <tcltk>
Status: RESOLVED TEST-REQUEST    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description James McPhee 2004-07-08 22:49:06 UTC
The multixterm script that comes with dev-tcltk/expect 5.37.1-r1 fails with an error "can't find package Tk", which is installed.  Fetching the multixterm script from nist, freshmeat, or off of my redhat box and running it works fine.  A diff shows the following differences:

jmcphe@kermit jmcphe $ diff multixterm.redhat $( which multixterm )
1c1,3
< #!/usr/bin/expectk
---
> #!/bin/sh
> # \
> exec expect "$0" ${1+"$@"}
321c323,324
<     exit1 "requires Tk 8.3.3 or later but you are using       Tk $::tk_patchLevel."
---
>     exit1 "multixterm requires Tk 8.3.3 or later but you are using\
>       Tk $::tk_patchLevel."
371c374
<       puts "multixtermrc: $msg"
---
>       puts stderr "multixtermrc: $msg

Reproducible: Always
Steps to Reproduce:
1.  Make sure to emerge dev-tcltk/expect
2.  /usr/bin/multixterm

Actual Results:  
jmcphe@kermit jmcphe $ multixterm
can't find package Tk
    while executing
"package require Tk"
    (file "/usr/bin/multixterm" line 312)

Expected Results:  
It should have popped me up a multixterm window

I've uploaded the version of multixterm that I snagged from my redhat box to my
webserver https://www.leadvampire.com/multixterm.redhat if you're that trusting.

jmcphe@kermit jmcphe $ emerge info
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.4.26-gentoo-r3)
=================================================================
System uname: 2.4.26-gentoo-r3 i686 AMD Athlon(tm) MP 2000+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -mcpu=athlon-mp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-mp -mcpu=athlon-mp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib acl afs alsa avi berkdb crypt cups dga doc emacs encode
ethereal evo fbcon firebird flash foomaticdb gb gdbm ggi gif gpm gtk gtk2 guile
icc icc-pgo imap imlib informix innodb java jikes jpeg junit kde kerberos lcms
ldap leim libg++ libgda libwww mad maildir mcal memlimit mikmod mmx motif
mozilla mpeg mpi mule nas ncurses nls oci8 odbc oggvorbis opengl oss pam pda
pdflib perl plotutils png pnp prelude python quicktime readline ruby samba sasl
sdl slang socks5 spell ssl svga tcltk tcpd tetex tiff truetype usb wmf x86 xface
xinerama xml xml2 xmms xv zeo zlib"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-31 09:33:57 UTC
Reopen if you can still reproduce w/ >=dev-tcltk/expect-5.42.1-r1

Thanks.