Re: [Activetcl] Finding dom::tcl package in 8.4 to 8.5 migration
by Jeff Hobbs other posts by this author
Jan 3 2008 5:57PM messages near this date
view in the new Beta List Site
[Activetcl] Finding dom::tcl package in 8.4 to 8.5 migration
|
[Activetcl] question relating to iwidgets::tabnotebook
Mark Howe wrote:
> I'm trying to move a script from ActiveTCL 8.4 to 8.5. The script starts
OK, there are a few items mixed here. I'll try and separate ...
> #!/opt/ActiveTcl-8.4/bin/wish8.4
You have 8.4 and 8.5 installed side-by-side. Over-the-top is actually
supported (even though there is a warning by the installer - this will
change). When you install over-the-top, 8.5 will pick up all the extra
modules that ship by default with 8.4.
> I thought dom::tcl was part of the standard ActiveTCL distro, and,
It is part of the 8.4 distro, or available in the teapot.
> sudo /opt/ActiveTcl-8.5/bin/teacup install dom::tcl
>
> I get
>
> Resolving dom::tcl -is package ... [package dom::tcl 2.6 _ ... Already
> installed, probing dependencies]
>
> However, I have a
> /opt/ActiveTcl-8.4/lib/Tcldom2.6/
> but no corresponding directory within 8.5.
>
> Does this mean that I don't have dom::tcl for 8.5 but teacup is finding
> the 8.4 version? If so, how do I either get my script to find the 8.4
> version of install the 8.5 version?
Now this is where it gets somewhat confusing. The teacup is for
managing a central repository for use by many versions of Tcl, but it
also recognizes the pre-installed libraries. What teacup says above is
that you indeed have dom::tcl, but it finds it in the 8.4 dist. What
you can do is force the install with --force, and you will then have
another copy in your local teapot repo. The other option is to install
8.5 on top of 8.4 (or cp -r /opt/ActiveTcl-8.5/* /opt/ActiveTcl-8.4).
Both 8.4 and 8.5 will work fine.
Jeff
_______________________________________________
ActiveTcl mailing list
ActiveTcl@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Mark Howe
Jeff Hobbs
|