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]

Runtime error with Insight-6.8 with recent build


This may already be noted on the list but I ran across it again when trying to run a 6.8 build on fedora 11 x86_64.

Specifically, I see the error noted here when starting insight:

http://bugs.gentoo.org/show_bug.cgi?id=225999

"Application initialization failed: Can't find a usable tk.tcl in the following
directories:
/usr/lib64/tcl8.5/tk8.5 /usr/lib64/tk8.5 /lib/tk8.5 /usr/library ...
This probably means that tk wasn't installed properly."


I must apply this patch and rebuild to fix it:

http://bugs.gentoo.org/attachment.cgi?id=161242

--- generic/tk.h.orig	2008-02-06 16:31:40.000000000 +0100
+++ generic/tk.h	2008-07-24 08:21:46.000000000 +0200
@@ -635,17 +635,15 @@
  *

*---------------------------------------------------------------------------
  */
-#define VirtualEvent	    (LASTEvent)
-#define ActivateNotify	    (LASTEvent + 1)
-#define DeactivateNotify    (LASTEvent + 2)
-#define MouseWheelEvent     (LASTEvent + 3)
-#define TK_LASTEVENT	    (LASTEvent + 4)
+#define VirtualEvent	    (MappingNotify + 1)
+#define ActivateNotify	    (MappingNotify + 2)
+#define DeactivateNotify    (MappingNotify + 3)
+#define MouseWheelEvent     (MappingNotify + 4)
+#define TK_LASTEVENT	    (MappingNotify + 5)

 #define MouseWheelMask	    (1L << 28)
-
 #define ActivateMask	    (1L << 29)
 #define VirtualEventMask    (1L << 30)
-#define TK_LASTEVENT	    (LASTEvent + 4)


/*


-gene






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