Re: Package Require getting "wrong version"
- From: Donald G Porter <dgp@xxxxxxxx>
- Date: Wed, 30 Apr 2008 15:13:28 -0400
Donald G Porter wrote:
In this last example, what does [package versions http] report just
before [package require http] finds version 1.0 ?
Gerald W. Lester wrote:
It just reports 1.0.
Ok, once you get into that state, [package require] is behaving according
to spec. You've asked for any version of http. It knows about version 1.0,
so it will deliver version 1.0 without bothering to go look for any others.
The mystery is how you get into that state, having discovered the availability
of version 1.0 while somehow missing the availability of version 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.
I do three package requires and do not touch auto_path (although one of the packages required from TclLib does).
What *is* WS::Utils anyway?
More directly asked, how can I get what I need to reproduce this problem
for myself?
It is part of the WebServices for Tcl package. Note -- I've only seen this behavior on a FreeBSD box. Other boxes seem ok.
What's the origin of Tcl on that FreeBSD box? If this is some fork of Tcl,
who knows what they've broken.
--
| 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: Donald G Porter
- Re: Package Require getting "wrong version"
- References:
- Package Require getting "wrong version"
- From: Gerald W. Lester
- Re: Package Require getting "wrong version"
- From: Donald G Porter
- Re: Package Require getting "wrong version"
- From: Gerald W. Lester
- Package Require getting "wrong version"
- Prev by Date: Re: tkimg OS X universal
- Next by Date: Re: Tcl extensions built with lcc-win32
- Previous by thread: Re: Package Require getting "wrong version"
- Next by thread: Re: Package Require getting "wrong version"
- Index(es):
Relevant Pages
|