Re: Package Require getting "wrong version"
- From: Donald G Porter <dgp@xxxxxxxx>
- Date: Wed, 30 Apr 2008 12:41:48 -0400
Gerald W. Lester wrote:
% package require WS::Utils
1.1.0
% package require http
1.0
In this last example, what does [package versions http] report just
before [package require http] finds version 1.0 ?
Anyone have any ideas on what is wrong and what to do so I consistently get 2.5.3.
Based on what I've seen so far, I suspect something unfriendly happening
with "WS::Utils", possibly something to interfere with Tcl Modules.
What *is* WS::Utils anyway?
We can probably more effectively get to the bottom of this interactively
in the chat.
As unsolicited advice, I'll note that no good program should contain
[package require http], since that's free to deliver either version 1.0
or version 2.* and of course those interfaces are completely different.
Use the 'requirement' argument(s) of [package require] to ask for the
command set your program actually uses.
--
| Don Porter Mathematical and Computational Sciences Division |
| donald.porter@xxxxxxxx Information Technology Laboratory |
| http://math.nist.gov/~DPorter/ NIST |
|______________________________________________________________________|
.
- Follow-Ups:
- Re: Package Require getting "wrong version"
- From: Gerald W. Lester
- Re: Package Require getting "wrong version"
- From: tunity
- Re: Package Require getting "wrong version"
- References:
- Package Require getting "wrong version"
- From: Gerald W. Lester
- Package Require getting "wrong version"
- Prev by Date: Re: Package Require getting "wrong version"
- Next by Date: Re: 3Dcanvas error
- Previous by thread: Re: Package Require getting "wrong version"
- Next by thread: Re: Package Require getting "wrong version"
- Index(es):
Relevant Pages
|