Date: Tue, 13 Oct 2009 17:21:14 +0000 (GMT) From: =?iso-8859-1?Q?Heiner_Strau=DF?= <heiner_ej@yahoo.de> To: freebsd-questions@freebsd.org Subject: [ports/science/paraview]: /usr/local/lib/paraview-2.4/tk8.4/tk.tcl: no event type or button # or keysym Message-ID: <891542.1575.qm@web23401.mail.ird.yahoo.com> In-Reply-To: <20091013120022.BE83310656C7@hub.freebsd.org> References: <20091013120022.BE83310656C7@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> =0A=0A> Before posting a PR I'll ask whether this error I receive after a= fresh =0A> installation of paraview from ports today on FreeBSD 8.0-RC1/am= d64 is an =0A> serious issue or something related on misconfiguration.=0A> = =0A> Besides, tcl/tk 8.4 is up to date and present on the system.=0A> Hope = someone can help,=0A> =0A> regards,=0A> Oliver=0A> =0A> --=0A> =0A> =0A> Pa= raView error: InitializeTcl failed=0A> Tk_Init error: Can't find a usable t= k.tcl in the following directories:=0A> /usr/local/lib/paraview-2.4/tk= 8.4=0A> =0A> /usr/local/lib/paraview-2.4/tk8.4/tk.tcl: no event type or but= ton # or =0A> keysym=0A> no event type or button # or keysym=0A> while= executing=0A> "bind Listbox {=0A> %W yview scroll [expr {- (%D / 120)= * 4}] units=0A> }"=0A> (file "/usr/local/lib/paraview-2.4/tk8.4/listb= ox.tcl" line 182)=0A> invoked from within=0A> "source /usr/local/lib/p= araview-2.4/tk8.4/listbox.tcl"=0A> (in namespace eval "::" script line= 1)=0A> invoked from within=0A> "namespace eval :: [list source [file = join $::tk_library $file.tcl]]"=0A> (procedure "SourceLibFile" line 2)= =0A> invoked from within=0A> "SourceLibFile listbox"=0A> (in name= space eval "::tk" script line 4)=0A> invoked from within=0A> "namespac= e eval ::tk {=0A> SourceLibFile button=0A> SourceLibFile = entry=0A> SourceLibFile listbox=0A> SourceLibFile menu=0A= > SourceLibFile panedwindow=0A> SourceLibFile ..."=0A> = invoked from within=0A> "if {$::tk_library ne ""} {=0A> if {[string= equal $tcl_platform(platform) "macintosh"]} {=0A> proc ::tk::Sour= ceLibFile {file} {=0A> if {[catch {=0A> names= p..."=0A> (file "/usr/local/lib/paraview-2.4/tk8.4/tk.tcl" line 397)= =0A> invoked from within=0A> "source /usr/local/lib/paraview-2.4/tk8.4= /tk.tcl"=0A> ("uplevel" body line 1)=0A> invoked from within=0A> = "uplevel #0 [list source $file]"=0A> =0A> =0A> This probably means that tk = wasn't installed properly.=0A> =0A=0AHello,=0Athis happens because Xorg cha= nged the event model in 7.4 and Tk not. A quick fix is to comment out the m= ouse events in paraview. A better fix is to patch Tk, someone already wrote= it.=0A=0AGreetings,=0AHeiner=0A=0A=0A=0A
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?891542.1575.qm>