* Tcl/Tk problems
@ 1997-07-02 14:53 John Banghart
0 siblings, 0 replies; 4+ messages in thread
From: John Banghart @ 1997-07-02 14:53 UTC (permalink / raw)
I am trying to run Scotty/Tkined on my Alpha, and I get this error:
# tkined1.4.5
invoalid command name "package"
whiel executing
"package require Tcl 7.5"
(file "/usr/bin/tkined1.4.5" line 9)
Anyone have any experience with this?
--
John Banghart
Systems Administrator
Red Rose SuperNet
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Tcl/Tk problems
@ 1997-07-02 16:53 Przemek Klosowski
0 siblings, 0 replies; 4+ messages in thread
From: Przemek Klosowski @ 1997-07-02 16:53 UTC (permalink / raw)
package command was introduced in tcl 7.5 or 7.6, I think; tkined is
probably a script, and it must be somehow invoking older version of tcl.
p
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Tcl/Tk problems
@ 1997-07-02 17:33 Michael J. Donahue
0 siblings, 0 replies; 4+ messages in thread
From: Michael J. Donahue @ 1997-07-02 17:33 UTC (permalink / raw)
>I am trying to run Scotty/Tkined on my Alpha, and I get this error:
>
># tkined1.4.5
>invoalid command name "package"
> whiel executing
>"package require Tcl 7.5"
> (file "/usr/bin/tkined1.4.5" line 9)
>
>Anyone have any experience with this?
What version of Tcl are you running? If memory serves, the "package"
command was introduced in Tcl 7.5, so this is exactly the response one
expects if you are running Tcl 7.4, for example.
I don't know anything about Scotty/Tkined, but it is also possible
that that code redefines, or rather, attempts to redefine, the package
command.
I would suggest starting up a Tcl shell ('tclsh'), and at the prompt
first enter
% puts $tcl_version
to see what version you are running (the '%' here is just the command
prompt from the interpreter), or even
% info patchlevel
Then try the above command, i.e.,
% package require Tcl 7.5
If the interpreter responds with 'invalid command name "package"',
then you need to upgrade your Tcl/Tk installation.
Incidentally, if you decide to upgrade your Tcl/Tk, make sure you get
Tcl/Tk 7.6/4.2 patchlevel 2 (from January 1997), as opposed to the
patchlevel 0 release (from October, 1996--I think), which has several
serious bugs. I don't know what ships with RedHat 4.2, but 4.1
shipped with the buggy version.
I'm currently experimenting with the Tcl/Tk 8.0 beta release. It
compiles out of the box, though with multiple warnings about
int<->pointer conversions. I don't know if those are real problems or
not...my code runs ok, but I certainly have not exercised all of
Tcl/Tk.
Hope this helps,
-mike
--
Michael J. Donahue
National Institute of Standards and Technology
Mathematical & Computational Sciences Division
Bldg 820, Rm 365
Gaithersburg, MD 20899
email: michael.donahue@nist.gov
voice: (301) 975-5424
fax: (301) 990-4127
web: http://math.nist.gov/mcsd/Staff/MDonahue/
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Tcl/Tk problems
@ 1997-07-02 17:37 Michael J. Donahue
0 siblings, 0 replies; 4+ messages in thread
From: Michael J. Donahue @ 1997-07-02 17:37 UTC (permalink / raw)
Przemek Klosowski writes:
>package command was introduced in tcl 7.5 or 7.6, I think; tkined is
>probably a script, and it must be somehow invoking older version of tcl.
Just to confirm: I have tcl 7.4, 7.5, 7.6 and 8.0b1 installed. 7.4
does *not* have the 'package' command. 7.5 and later do.
-mike
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1997-07-02 17:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-07-02 17:37 Tcl/Tk problems Michael J. Donahue
-- strict thread matches above, loose matches on Subject: below --
1997-07-02 17:33 Michael J. Donahue
1997-07-02 16:53 Przemek Klosowski
1997-07-02 14:53 John Banghart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox