This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: [PATCH/hack] Running from build dir again
- To: Keith Seitz <keiths at cygnus dot com>
- Subject: Re: [PATCH/hack] Running from build dir again
- From: Ian Roxborough <irox at redhat dot com>
- Date: Wed, 19 Sep 2001 12:16:08 -0700
- CC: Insight Maling List <insight at sources dot redhat dot com>
- References: <Pine.GSO.4.33.0109191107370.9780-100000@makita.cygnus.com>
Hi Keith,
I've been looking at this problem from the other end, i.e. fixing IWidgets to
not be so dumb. But, after some effort I think your current solution/hack is
best. The long term "clean" solution would seem to center around removing
IWidgets from Insight. (!?) Otherwise it will involve fixing Iwidgets.
> This gross hack allows insight to run from the build directory again.
Atleast it's not as gross as the Tcl library loader hack...
> Recent Tcl/Tk churn has broken this convenience, and, well, as hacky and
> ugly as this is, it fixes it.
Yeah, IWidgets is a bit hacky, we could move the:
append auto_path $IWIDGETS_LIBRARY
from main.tcl (in Insight) into iwidgets.tcl (IWidgets will always assume
that the scripts it wants is in a "./scripts" directory).
Other than that, there doesn't seem to be much that can be done,
Ian.