ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> activetcl
activetcl
[Activetcl] Finding dom::tcl package in 8.4 to 8.5 migration
by Mark Howe other posts by this author
Jan 3 2008 4:49PM messages near this date
view in the new Beta List Site
Re: [Activetcl] BLT in Teapot | Re: [Activetcl] Finding dom::tcl package in 8.4 to 8.5 migration
Hi,

I'm trying to move a script from ActiveTCL 8.4 to 8.5. The script starts

#!/opt/ActiveTcl-8.4/bin/wish8.4

package require Tk
package require dom::tcl

and works fine. If I change the two 8.4 to 8.5 in the shebang line, I get

Error in startup script: can't find package dom::tcl
     while executing
"package require dom::tcl"
     (file "/home/mark/xcrtcl/xcrtcl.tcl" line 4)

I thought dom::tcl was part of the standard ActiveTCL distro, and,
indeed, if I do

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?

Regards,

Mark Howe

_______________________________________________
ActiveTcl mailing list
ActiveTcl@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Mark Howe
Jeff Hobbs

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved