> 

> 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,
> 
> regards,
> Oliver
> 
> --
> 
> 
> 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
> 
> /usr/local/lib/paraview-2.4/tk8.4/tk.tcl: no event type or button # or 
> keysym
> no event type or button # or keysym
>      while executing
> "bind Listbox {
>      %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 {
>                  namesp..."
>      (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.
> 

Hello,
this happens because Xorg changed the event model in 7.4 and Tk not. A quick 
fix is to comment out the mouse events in paraview. A better fix is to patch 
Tk, someone already wrote it.

Greetings,
Heiner





_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to