Prev: Tcl vs. Lua
Next: Checksum
From: Andry on
Correct,
Tclsh seems not supporting/recognizing IxTclHal package.
I had already tried the sequence you suggested:
package require Tk
package require IxTclHal
....but the error message after "package require IxTclHal" is always the
same:
CANNOT FIND PACKAGE.

From: suchenwi on
Well, then obviously it is not installed at a point where Tcl can find
it.
The simplest way is to copy the directory (with pkgIndex.tcl, DLLs,
scripts..) to the "lib" sibling of the one where your tclsh is
installed. For example:

executable in packages in
c:/Tcl/bin c:/Tcl/lib
/usr/local/bin /usr/local/lib
/my/foo/dir /my/foo/lib

To find out where your tclsh comes from, start it interactively
(without script) and type
info na

From: Cameron Laird on
In article <1140508748.733126.271550(a)g44g2000cwa.googlegroups.com>,
suchenwi <richard.suchenwirth-bauersachs(a)siemens.com> wrote:
>Well, then obviously it is not installed at a point where Tcl can find
>it.
>The simplest way is to copy the directory (with pkgIndex.tcl, DLLs,
>scripts..) to the "lib" sibling of the one where your tclsh is
>installed. For example:
>
>executable in packages in
>c:/Tcl/bin c:/Tcl/lib
>/usr/local/bin /usr/local/lib
>/my/foo/dir /my/foo/lib
>
>To find out where your tclsh comes from, start it interactively
>(without script) and type
>info na
>

Richard, this might not be so. I speculate that he has a custom
wish; his only access to IxTclHal might be through that one
executable, with no direct way to make it available within a
standard tclsh. If that's so--and I suspect it is--then our
advice needs to be in terms of

exec wish ...

Mr. Rossi, are you working under Windows or Unix?
From: Andry on
I already tried copying both IxTclHal.tcl and IxTclHal.dll in the the
same directory as Tclsh.exe but it doesn't work.
I'm currently working under Windows XP.
The wish I'm using is the one provided with Ixia software and it's
version 8.3.2.4.
I've just found out that wish version 8.4.2.12 (which I have installed
too) does not work either (it can't find the package either).
It seems that IxTclHal does not support wish (Tk) 8.4, but only 8.3.
I don't have a Tclsh 8.3 to try because Ixia installation software only
provides wish, and from the web I could only find Tclsh 8.4 available.

What do you think?
Thanks a lot.

From: Ulrich Schöbel on
Hi Andry,

did you compare the contents of auto_path of the Ixia wish
to auto_path in tclsh and wish?

I suspect them to be different.

Setting auto_path in tclsh to the contents of it in Ixia wish
might (should) solve your problem.

Kind regards

Ulrich


Am Tue, 21 Feb 2006 09:12:07 -0800 schrieb Andry:

> I already tried copying both IxTclHal.tcl and IxTclHal.dll in the the
> same directory as Tclsh.exe but it doesn't work.
> I'm currently working under Windows XP.
> The wish I'm using is the one provided with Ixia software and it's
> version 8.3.2.4.
> I've just found out that wish version 8.4.2.12 (which I have installed
> too) does not work either (it can't find the package either).
> It seems that IxTclHal does not support wish (Tk) 8.4, but only 8.3.
> I don't have a Tclsh 8.3 to try because Ixia installation software only
> provides wish, and from the web I could only find Tclsh 8.4 available.
>
> What do you think?
> Thanks a lot.

First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4
Prev: Tcl vs. Lua
Next: Checksum