Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

tcl 8.4 to 8.5

155 views
Skip to first unread message

nivparsons

unread,
May 21, 2013, 1:25:04 PM5/21/13
to
Hi all,

I've been using tcl 8.4.19 for ages, but just got
moved to 8.5.11 at work, and now a lot of my scripts fail.

For instance, I use:

"package require aes"

but this gets thrown out by 8.5

I need an idiots guide to upgrading, anyone help please?

Don Porter

unread,
May 21, 2013, 1:58:37 PM5/21/13
to
On 05/21/2013 01:25 PM, nivparsons wrote:
> I've been using tcl 8.4.19 for ages, but just got
> moved to 8.5.11 at work, and now a lot of my scripts fail.
>
> For instance, I use:
>
> "package require aes"
>
> but this gets thrown out by 8.5

Are your packages installed where both a Tcl 8.4 and a Tcl 8.5
installation can find them?

As general advice, reporting verbatim error messages is often
very helpful in getting more useful help.

--
| Don Porter Applied and Computational Mathematics Division |
| donald...@nist.gov Information Technology Laboratory |
| http://math.nist.gov/~DPorter/ NIST |
|______________________________________________________________________|

Don Porter

unread,
May 21, 2013, 1:59:46 PM5/21/13
to
On 05/21/2013 01:25 PM, nivparsons wrote:
> I've been using tcl 8.4.19 for ages, but just got
> moved to 8.5.11 at work, and now a lot of my scripts fail.

Have you built/installed from source, or are you using binary
distributions from some provider? What provider?

Robert Heller

unread,
May 21, 2013, 2:53:56 PM5/21/13
to
Did the people who upgraded Tcl from 8.4, also upgrade / reinstall tcllib?
Also, the 'normal' place tcllib gets installed (at least under CentOS 5 / RHEL
5) is /usr/share/tcl8.4. Upgrading to tcl 8.5.<mumble> probably got rid of
/usr/share/tcl8.4/tcllib-<mumble>. Which means tcllib needs to be
reinstalled (under /usr/share/tcl8.5/ maybe).

>

--
Robert Heller -- 978-544-6933 / hel...@deepsoft.com
Deepwoods Software -- http://www.deepsoft.com/
() ascii ribbon campaign -- against html e-mail
/\ www.asciiribbon.org -- against proprietary attachments



Christian Gollwitzer

unread,
May 21, 2013, 3:21:27 PM5/21/13
to
Am 21.05.13 19:25, schrieb nivparsons:
> I've been using tcl 8.4.19 for ages, but just got
> moved to 8.5.11 at work, and now a lot of my scripts fail.
>
> For instance, I use:
>
> "package require aes"
>
> but this gets thrown out by 8.5

Is it "can't find package aes"?

> I need an idiots guide to upgrading, anyone help please?

There are no big syntax differences between 8.4 and 8.5 in the sense
that code will stop working that worked before. Can it be that you are
simply missing the modules you used to have? For instance, ActiveTcl
shipped 8.4 with a complete set of modules, whereas 8.5 comes with a
smaller installation. You can fetch a lot of stuff via teacup, see

http://wiki.tcl.tk/17305

For instance, try

teacup install ActiveState::ActiveTcl


Christian



0 new messages