Discussion:
unknown
1970-01-01 00:00:00 UTC
Permalink
--
sguil - The Analyst Console for NSM
http://sguil.sf.net

--e89a8ff1c170666db404d14ca97f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable <div dir="ltr">What about this:<div><br></div><div><div>% package require Tk</div><div>8.5.13</div><div>% package require Itcl</div><div>3.4</div><div>% package require Itk</div><div>3.3</div><div>% package require Iwidgets</div> <div>4.0.1</div></div><div><br></div><div style>Send any errors you get trying to run those.</div><div style><br></div><div style>Bamm</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 20, 2012 at 12:56 PM, Paul Schmehl <span dir="ltr">&lt;<a href="mailto:***@tx.rr.com" target="_blank">***@tx.rr.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"># tclsh<br>
% puts $auto_path<br>
/usr/local/lib/tcl8.5 /usr/local/lib<br>
%<br>
<br>
# ls -lsa /usr/local/lib/i*<br>
0 lrwxr-xr-x  1 root  wheel  28 Dec 20 17:28 /usr/local/lib/iwidgets -&gt; /usr/local/lib/iwidgets4.0.1<br>
<br>
/usr/local/lib/itcl3.4:<br>
total 44<br>
2 drwxr-xr-x   2 root  wheel    512 Dec 20 17:40 .<br>
26 drwxr-xr-x  55 root  wheel  26624 Dec 20 17:40 ..<br>
10 -r--r--r--   1 root  wheel   9196 Dec 20 17:40 itcl.tcl<br>
4 -r--r--r--   1 root  wheel   2387 Dec 20 17:40 itclConfig.sh<br>
2 -r--r--r--   1 root  wheel    115 Dec 20 17:40 pkgIndex.tcl<br>
<br>
/usr/local/lib/itk3.3:<br>
total 52<br>
2 drwxr-xr-x   2 root  wheel    512 Nov 15 20:55 .<br>
26 drwxr-xr-x  55 root  wheel  26624 Dec 20 17:40 ..<br>
4 -r--r--r--   1 root  wheel   3527 Nov 15 20:55 Archetype.itk<br>
4 -r--r--r--   1 root  wheel   2686 Nov 15 20:55 Toplevel.itk<br>
4 -r--r--r--   1 root  wheel   2651 Nov 15 20:55 Widget.itk<br>
6 -r--r--r--   1 root  wheel   5303 Nov 15 20:55 itk.tcl<br>
2 -r--r--r--   1 root  wheel   1778 Nov 15 20:55 itkConfig.sh<br>
2 -r--r--r--   1 root  wheel    112 Nov 15 20:55 pkgIndex.tcl<br>
2 -r--r--r--   1 root  wheel    578 Nov 15 20:55 tclIndex<br>
<br>
/usr/local/lib/iwidgets4.0.1:<br>
total 38<br>
2 drwxr-xr-x   4 root  wheel    512 Dec 20 17:28 .<br>
26 drwxr-xr-x  55 root  wheel  26624 Dec 20 17:40 ..<br>
2 drwxr-xr-x   4 root  wheel   1536 Dec 20 17:28 demos<br>
2 -r--r--r--   1 root  wheel   1129 Dec 20 17:28 iwidgets.tcl<br>
2 -r--r--r--   1 root  wheel   1759 Dec 20 17:28 license.terms<br>
2 -r--r--r--   1 root  wheel    115 Dec 20 17:28 pkgIndex.tcl<br>
2 drwxr-xr-x   2 root  wheel   1536 Dec 20 17:28 scripts<br>
<br>
So it seems that auto_path *should* know where iwidgets is but doesn&#39;t for some reason.<br>
<br>
I tried adding lappend auto_path /usr/local/lib/iwidget4.0.1 to <a href="http://squil.tk" target="_blank">squil.tk</a>, but that didn&#39;t fix it either.<br>
<br>
Even uninstalling and reinstalling tcl8.5, itcl and iwidgets didn&#39;t fix it.<br>
<br>
# tclsh<br>
% puts $auto_path<br>
/usr/local/lib/tcl8.5 /usr/local/lib<br>
% package require iwidgets<br>
can&#39;t find package iwidgets<br>
% exit<br>
<br>
I can&#39;t help but think there&#39;s something fundamental I&#39;m missing here. Surely there&#39;s a way in the tcl language to tell it where to find iwidgets?<div class="HOEnZb"><div class="h5"><br>
<br>
--On December 20, 2012 12:44:30 PM -0500 Bamm Visscher &lt;<a href="mailto:***@gmail.com" target="_blank">***@gmail.com</a>&gt; wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Loading...