[PATCH/itcl] Fix running in builddir
Keith Seitz
keiths@redhat.com
Fri Mar 23 22:13:00 GMT 2012
Hi,
I haven't been using built-in tcl et al for a while, but with the recent
patch submissions, I decided to give it a whirl.
Turns out that insight would no longer run from the build directory. I
tracked this down to a failure to instantiate an iwidgets::scrolledtext
widget. This happens because the auto_path for iwidgets is set relative
to the build directory, and that's not where the actual scripts files are.
To run from the build directory, we also need to add the source
directory to the auto_path. This is what this patch does.
Keith
itcl/iwidgets/ChangeLog
2012-03-23 Keith Seitz <keiths@redhat.com>
* iwidgets.tcl.in: Add source directories to the auto_path.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: run-from-builddir.patch
Type: text/x-patch
Size: 944 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/insight/attachments/20120323/dc4aa08d/attachment.bin>
More information about the Insight
mailing list