This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
Runtime error with Insight-6.8 with recent build
- From: Gene Smith <gds at chartertn dot net>
- To: insight at sources dot redhat dot com
- Date: Mon, 13 Jul 2009 23:33:38 -0400
- Subject: 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