[ports/science/paraview]: /usr/local/lib/paraview-2.4/tk8.4/tk.tcl: no event type or button # or keysym

O. Hartmann ohartman at zedat.fu-berlin.de
Mon Oct 12 14:03:28 UTC 2009

Before posting a PR I'll ask whether this error I receive after a fresh 
installation of paraview from ports today on FreeBSD 8.0-RC1/amd64 is an 
serious issue or something related on misconfiguration.

Besides, tcl/tk 8.4 is up to date and present on the system.
Hope someone can help,



ParaView error: InitializeTcl failed
Tk_Init error: Can't find a usable tk.tcl in the following directories:

/usr/local/lib/paraview-2.4/tk8.4/tk.tcl: no event type or button # or 
no event type or button # or keysym
     while executing
"bind Listbox <MouseWheel> {
     %W yview scroll [expr {- (%D / 120) * 4}] units
     (file "/usr/local/lib/paraview-2.4/tk8.4/listbox.tcl" line 182)
     invoked from within
"source /usr/local/lib/paraview-2.4/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 {[string equal $tcl_platform(platform) "macintosh"]} {
         proc ::tk::SourceLibFile {file} {
             if {[catch {
     (file "/usr/local/lib/paraview-2.4/tk8.4/tk.tcl" line 397)
     invoked from within
"source /usr/local/lib/paraview-2.4/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.

Oliver Hartmann
Freie Universitaet Berlin
Planetologie und Fernerkundung
Malteserstr. 74 - 100/Haus D
D-12249 Berlin

Tel.: +49 (0) 30 838 70 508
FAX:  +49 (0) 30 838 70 539

More information about the freebsd-questions mailing list