Package Require getting "wrong version"
- From: "Gerald W. Lester" <Gerald.Lester@xxxxxxx>
- Date: Wed, 30 Apr 2008 10:40:59 -0500
Depending on what order package requires are done, I'm getting different versions of the http package (1.0 vs 2.5.3 -- I want 2.5.3). This is in a FreeBSD system with the ports build of Tcl 8.5. See below:
$ tclsh8.5
% set auto_path
/usr/local/lib/tcl8.5 /usr/local/lib
% package require Tcl 8.5
8.5.1
% package require http
2.5.3
% exit
$ tclsh8.5
% package require Tcl 8.5
8.5.1
% package require WS::Utils
1.1.0
% package require http
1.0
% exit
$ tclsh8.5
% package require foo
can't find package foo
% package require WS::Utils
1.1.0
% package require http
2.5.3
% exit
$ tclsh8.5
% package require WS::Utils
1.1.0
% package require http
1.0
% exit
$ ls /usr/local/lib/*/pkgIndex.tcl
/usr/local/lib/Tktable2.9/pkgIndex.tcl /usr/local/lib/tdom0.8.2/pkgIndex.tcl /usr/local/lib/tk8.5-threads/pkgIndex.tcl
/usr/local/lib/expect5.43/pkgIndex.tcl /usr/local/lib/thread2.6.5/pkgIndex.tcl /usr/local/lib/tk8.5/pkgIndex.tcl
/usr/local/lib/tcllib/pkgIndex.tcl /usr/local/lib/tk8.4/pkgIndex.tcl /usr/local/lib/tls/pkgIndex.tcl
Anyone have any ideas on what is wrong and what to do so I consistently get 2.5.3.
(Note this does not happen on my OS X box using ActiveState's 8.5 distro).
--
+--------------------------------+---------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+
.
- Follow-Ups:
- Re: Package Require getting "wrong version"
- From: Neil Madden
- Re: Package Require getting "wrong version"
- From: Donald G Porter
- Re: Package Require getting "wrong version"
- From: Ralf Fassel
- Re: Package Require getting "wrong version"
- Prev by Date: Re: version conflict for package "Tcl": TCL_VERSION vs TCL_PATCH_LEVEL
- Next by Date: Re: Tk programming challenge
- Previous by thread: query ttk::treeview for all nodes?
- Next by thread: Re: Package Require getting "wrong version"
- Index(es):
Relevant Pages
|