public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Gene Smith <gds@chartertn.net>
To: insight@sources.redhat.com
Subject: Re: Insight broken with latest tcl/tk
Date: Tue, 05 May 2009 05:37:00 -0000	[thread overview]
Message-ID: <gtoj9i$6p0$1@ger.gmane.org> (raw)
In-Reply-To: <gtk514$tn0$1@ger.gmane.org>

Dave Lawrence wrote:
> It would appear that insight no longer works with the latest tcl/tk.
> 
> The following error
> Can't find a usable tk.tcl in the following directories:
>     /usr/local/share/tk8.4 /usr/local/lib/tk8.4 /usr/lib/tk8.4
> /usr/local/library /usr/library /usr/tk8.4.1/library /tk8.4.1/library
> 

Same error for me on u9.04. File is definitely present at
<install-point>/share/tk8.4/tk.tcl.  Tried making it executable but
didn't matter. Then it then tries to use it but gets a bunch of errors:

    <begin error output>
<install-point>/share/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

}"

    (file "<install-point>/share/tk8.4/listbox.tcl" line 182)
    invoked from within

"source <install-point>/share/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 "<install-point>/share/tk8.4/tk.tcl" line 407)
    invoked from within
"source <install-point>/share/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.
<end of error output>

Could this have anything to do with my system being x86_64? Also, when
compiling just gdb and now insight/gdb I had to set -Wno-error in CFLAGS
since it kept stopping on warnings. Never need to do this in i386 or
older gcc on fedora8.

-gene

  parent reply	other threads:[~2009-05-05  5:37 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-03 17:35 Dave Lawrence
2009-05-04 21:41 ` Kevin Buettner
2009-05-05  5:37 ` Gene Smith [this message]
2009-05-05 13:44   ` Gene Smith
2009-05-05 17:37     ` Kevin Buettner
2009-05-05 18:43       ` Gene Smith
2009-05-05 20:17         ` Kevin Buettner
2009-05-06  2:17           ` Gene Smith
2009-05-06  3:04             ` Gene Smith
2009-05-06  4:13 ` Gene Smith
2009-05-06  4:53   ` Gene Smith
2009-05-06 15:30     ` Keith Seitz
2009-05-06 15:46       ` Pierre Muller
2009-05-06 15:48         ` Keith Seitz
2009-05-06 15:53           ` Pierre Muller
2009-05-07  4:02             ` Gene Smith
2009-05-11 16:52               ` Dave Lawrence
2009-05-11 18:13                 ` Keith Seitz
2009-05-12  9:41                   ` Dave Lawrence
2009-06-14  4:40 ` Gene Smith
2009-06-15  3:56   ` Gene Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='gtoj9i$6p0$1@ger.gmane.org' \
    --to=gds@chartertn.net \
    --cc=insight@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).