This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Insight broken with latest tcl/tk


Gene Smith wrote:
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



Here they claim to be able to fix it by editing a couple tcl files. Don't have the system with me right now to try it.


http://forums.fedoraforum.org/showthread.php?t=213441


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]