Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190584 - net-analyzer/sguil-client-0.6.1 cannot find wishx on line 3
Summary: net-analyzer/sguil-client-0.6.1 cannot find wishx on line 3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-28 22:43 UTC by Greg Watson (linuxkrn)
Modified: 2012-04-30 15: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 Greg Watson (linuxkrn) 2007-08-28 22:43:08 UTC
When you try to run sguil, it errors out with:

/usr/bin/sguil.tk: line 3: exec: wishx: not found

Removing the "x" from wish on line 3 of sguil.tk works.  The ebuild has a sed on like 47-48 that makes these changes.  Yet none of the deps include wishx.

Suggest either removing sed from ebuild since wishx should be built with tclx, but isn't.  (anymore?)

My deps:

[ebuild   R   ] dev-lang/tk-8.4.15  USE="-debug -threads" 0 kB 
[ebuild   R   ] dev-tcltk/tclx-8.4-r1  USE="tk -threads" 0 kB 
[ebuild   R   ] dev-lang/tcl-8.4.15  USE="-debug -threads" 0 kB 
[ebuild   R   ] dev-tcltk/itk-3.3-r1  0 kB 
[ebuild   R   ] dev-tcltk/iwidgets-4.0.1  0 kB 
[ebuild   R   ] dev-tcltk/itcl-3.3-r1  0 kB 
[ebuild   R   ] dev-tcltk/tcllib-1.6.1  USE="X doc" 0 kB 

Portage 2.1.2.7 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 28 Aug 2007 11:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p15-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa arts asf avi bash-completion berkdb bitmap-fonts cairo cdr cli cracklib crypt cscope css cups dbus dlloader doc dri dts dvd dvdr eds emboss encode esd fam ffmpeg firefox fortran gdbm gif gimp gnome gpm gs gstreamer gtk hal iconv ipv6 isdnlog jpeg jpeg2k kde lcms ldap libcaca libg++ mad midi mikmod mmx mng mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdflib perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session smp snmp speex spell spl sse ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb vidix vorbis win32codecs wmf x264 x86 xinerama xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Łukasz Damentko (RETIRED) gentoo-dev 2008-08-11 01:20:43 UTC
Reassigning back to herd since Benjamin has retired as a Gentoo developer (#89719).
Comment 2 Clemente Aguiar 2009-05-05 08:21:06 UTC
I also have the same problem, plus an additional problem.

When you try to run sguil, it errors out with:

/usr/bin/sguil.tk: line 3: exec: wishx: not found

However even if I remove the "x" it still dosen't run. Gives me the following error:

# /usr/bin/sguil.tk
Application initialization failed: Can't find a usable tk.tcl in the following directories: 
    /usr/lib64/tcl8.4/tk8.4 /usr/lib64/tk8.4 /usr/lib/tk8.4 /lib/tk8.4 /usr/library /library /tk8.4.18/library

/usr/lib64/tk8.4/tk.tcl: no event type or button # or keysym
no event type or button # or keysym
    while executing
"bind Listbox <MouseWheel> {
        %W yview scroll [expr {- (%D / 120) * 4}] units
    }"
    invoked from within
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
    bind Listbox <MouseWheel> {
        %W yview scroll [expr {- (%D)}] uni..."
    (file "/usr/lib64/tk8.4/listbox.tcl" line 181)
    invoked from within
"source /usr/lib64/tk8.4/listbox.tcl"
    (in namespace eval "::" script line 1)
    invoked from within
"namespace eval :: [list source [file join $::tk_library $file.tcl]]"
    (procedure "SourceLibFile" line 2)
    invoked from within
"SourceLibFile listbox"
    (in namespace eval "::tk" script line 4)
    invoked from within
"namespace eval ::tk {
	SourceLibFile button
	SourceLibFile entry
	SourceLibFile listbox
	SourceLibFile menu
	SourceLibFile panedwindow
	SourceLibFile ..."
    invoked from within
"if {$::tk_library ne ""} {
    if {$tcl_platform(platform) eq "macintosh"} {
	proc ::tk::SourceLibFile {file} {
	    if {[catch {
		namespace eval :: ..."
    (file "/usr/lib64/tk8.4/tk.tcl" line 407)
    invoked from within
"source /usr/lib64/tk8.4/tk.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list source $file]"
/usr/lib/tk8.4/tk.tcl: no event type or button # or keysym
no event type or button # or keysym
    while executing
"bind Listbox <MouseWheel> {
        %W yview scroll [expr {- (%D / 120) * 4}] units
    }"
    invoked from within
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
    bind Listbox <MouseWheel> {
        %W yview scroll [expr {- (%D)}] uni..."
    (file "/usr/lib/tk8.4/listbox.tcl" line 181)
    invoked from within
"source /usr/lib/tk8.4/listbox.tcl"
    (in namespace eval "::" script line 1)
    invoked from within
"namespace eval :: [list source [file join $::tk_library $file.tcl]]"
    (procedure "SourceLibFile" line 2)
    invoked from within
"SourceLibFile listbox"
    (in namespace eval "::tk" script line 4)
    invoked from within
"namespace eval ::tk {
	SourceLibFile button
	SourceLibFile entry
	SourceLibFile listbox
	SourceLibFile menu
	SourceLibFile panedwindow
	SourceLibFile ..."
    invoked from within
"if {$::tk_library ne ""} {
    if {$tcl_platform(platform) eq "macintosh"} {
	proc ::tk::SourceLibFile {file} {
	    if {[catch {
		namespace eval :: ..."
    (file "/usr/lib/tk8.4/tk.tcl" line 407)
    invoked from within
"source /usr/lib/tk8.4/tk.tcl"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list source $file]"


This probably means that tk wasn't installed properly.

Error in startup script: couldn't read file "/usr/lib64/sguil/tablelist4.1/tablelistPublic.tcl": no such file or directory
    while executing
"source $SGUILLIB/tablelist4.1/tablelistPublic.tcl"
    (file "/usr/bin/sguil.tk" line 1775)


Here is what I emerged.

# emerge -pv sguil-client

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-lang/tcl-8.4.18  USE="-debug -threads" 0 kB
[ebuild  N    ] dev-lang/tk-8.4.18  USE="-debug -threads" 0 kB
[ebuild  N    ] dev-tcltk/itcl-3.3-r1  0 kB
[ebuild  N    ] dev-tcltk/itk-3.3-r1  0 kB
[ebuild  N    ] dev-tcltk/tcllib-1.6.1  USE="X -doc" 0 kB
[ebuild  N    ] dev-tcltk/tls-1.5.0  USE="X" 0 kB
[ebuild  N    ] dev-tcltk/tclx-8.4-r1  USE="tk -threads" 0 kB
[ebuild  N    ] dev-tcltk/iwidgets-4.0.1  0 kB
[ebuild  N    ] net-analyzer/sguil-client-0.6.1  USE="ssl" 0 kB

Here is my environment:

# emerge --info
Portage 2.1.6.11 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-glibc2.2.5
Timestamp of tree: Mon, 04 May 2009 22:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pt_PT.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="pt_PT pt en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/java-overlay /usr/local/portage"
SYNC="rsync://mero.madeiratecnopolo.pt/gentoo-portage"
USE="X a52 aac acl acpi ads alsa amd64 avahi berkdb bluetooth branding bzip2 cairo cdda cddb cdio cdparanoia cdr cli cracklib crypt cups dbus dri dts dvd dvdr dvdread eds emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gif gnome gnome-print gpm gstreamer gtk hal iconv id3tag ipv6 isdnlog ithreads java jpeg kerberos lame lcms ldap libnotify live logrotate mad matroska midi mikmod mmx mp3 mpeg mudflap multilib musepac musepack nautilus ncurses network nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre pdf perl png ppds pppd pulseaudio python qt3support quicktime readline reflection samba sdl session smp spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff truetype tta unicode usb vorbis wavpack wma wmf x264 xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt_PT pt en" USERLAND="GNU" VIDEO_CARDS="nvidia vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 Clemente Aguiar 2009-05-05 08:35:21 UTC
Once I upgraded dev-lang/tk-8.4.18 to dev-lang/tk-8.4.18-r1 the errors pertaining to the TK package disappeared.

Now I only get an error which has to do with the sguil-client package.
There seems that some files are missing.

# sguil.tk 
Error in startup script: couldn't read file "/usr/lib64/sguil/tablelist4.1/tablelistPublic.tcl": no such file or directory
    while executing
"source $SGUILLIB/tablelist4.1/tablelistPublic.tcl"
    (file "/usr/bin/sguil.tk" line 1775)
Comment 4 Clemente Aguiar 2009-05-05 10:35:08 UTC
Regarding the tablelist error, the problem is that the tablelist4.1 directory and files are missing from the sguil-client installation.

I have another machine with an older installation and this directory exists, so I copied the directory over and now sguil-client is working.

It looks like the problem is that the tablelist4.1 is not present in the upstream archive any more.

Comparing the size of the archives on my two machines I can see that the new one is smaller. 

# ll /usr/portage/packages/All/sguil-client-0.6.1.tbz2
-rw-r--r-- 1 root root 196481 2009-02-11 18:14 /usr/portage/packages/All/sguil-client-0.6.1.tbz2

# ll /usr/portage/packages/All/sguil-client-0.6.1.tbz2
-rw-r--r-- 1 root root 127828 Mai  5 09:18 /usr/portage/packages/All/sguil-client-0.6.1.tbz2

Also I inspected the archives contents and verified that the tablelist4.1 was present in the older and NOT present in the newer.

I don't know if version 0.6.1 is still being maitained. Maybe it is time to move to the latest version - 0.7.0.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-30 15:18:29 UTC
Fixed. Thanks for reporting.