Hi,
I have a self compiled Tcl installation and on two new Workstations I get this error below. On all other computers, there is no error.
The paths are correct and I can see a init.tcl file there.
Any ideas?
Thanks
Alexandru
---------------------------
application-specific initialization failed
---------------------------
Can't find a usable init.tcl in the following directories:
Z:/Tcl/lib/tcl8.6 Z:/Tcl/lib/tcl8.6 Z:/lib/tcl8.6 Z:/Tcl/library Z:/library Z:/tcl8.6.7/library Z:/tcl8.6.7/library
Z:/Tcl/lib/tcl8.6/init.tcl: version conflict for package "Tcl": have 8.6.7, need exactly 8.6.9
version conflict for package "Tcl": have 8.6.7, need exactly 8.6.9
while executing
"package require -exact Tcl 8.6.9"
(file "Z:/Tcl/lib/tcl8.6/init.tcl" line 19)
invoked from within
"source Z:/Tcl/lib/tcl8.6/init.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source $tclfile]"
Z:/Tcl/lib/tcl8.6/init.tcl: version conflict for package "Tcl": have 8.6.7, need exactly 8.6.9
version conflict for package "Tcl": have 8.6.7, need exactly 8.6.9
while executing
"package require -exact Tcl 8.6.9"
(file "Z:/Tcl/lib/tcl8.6/init.tcl" line 19)
invoked from within
"source Z:/Tcl/lib/tcl8.6/init.tcl"
("uplevel" body line 1)
invoked from within
"upl ...
---------------------------
OK
---------------------------
version conflict for package "Tcl": have 8.6.7, need exactly 8.6.9
Le mardi 23 novembre 2021 à 08:34:27 UTC+1, Alexandru a écrit :
Hi,
I have a self compiled Tcl installation and on two new Workstations I get this error below. On all other computers, there is no error.
The paths are correct and I can see a init.tcl file there.
Any ideas?
Thanks
Alexandru
---------------------------
application-specific initialization failed
---------------------------
Can't find a usable init.tcl in the following directories: Z:/Tcl/lib/tcl8.6 Z:/Tcl/lib/tcl8.6 Z:/lib/tcl8.6 Z:/Tcl/library Z:/library Z:/tcl8.6.7/library Z:/tcl8.6.7/library
Z:/Tcl/lib/tcl8.6/init.tcl: version conflict for package "Tcl": have 8.6.7, need exactly 8.6.9Hi,
version conflict for package "Tcl": have 8.6.7, need exactly 8.6.9
while executing
"package require -exact Tcl 8.6.9"
(file "Z:/Tcl/lib/tcl8.6/init.tcl" line 19)
invoked from within
"source Z:/Tcl/lib/tcl8.6/init.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source $tclfile]"
Z:/Tcl/lib/tcl8.6/init.tcl: version conflict for package "Tcl": have 8.6.7, need exactly 8.6.9
version conflict for package "Tcl": have 8.6.7, need exactly 8.6.9
while executing
"package require -exact Tcl 8.6.9"
(file "Z:/Tcl/lib/tcl8.6/init.tcl" line 19)
invoked from within
"source Z:/Tcl/lib/tcl8.6/init.tcl"
("uplevel" body line 1)
invoked from within
"upl ...
---------------------------
OK
---------------------------
it seems that the problem is not about not finding init.tcl, but that Tcl found is an old one.
version conflict for package "Tcl": have 8.6.7, need exactly 8.6.9did you set --prefix=Z:/Tcl/lib/ when you compiled it?
++
* Alexandru <alexandr...@meshparts.de>I have TCLLIBPATH but not TCL_LIBRARY.
| Nicolas schrieb am Dienstag, 23. November 2021 um 08:50:54 UTC+1:
| > Le mardi 23 novembre 2021 à 08:34:27 UTC+1, Alexandru a écrit :
| > > ---------------------------
| > > application-specific initialization failed
| > > ---------------------------
| > > Can't find a usable init.tcl in the following directories:
| > > Z:/Tcl/lib/tcl8.6 Z:/Tcl/lib/tcl8.6 Z:/lib/tcl8.6 Z:/Tcl/library Z:/library Z:/tcl8.6.7/library Z:/tcl8.6.7/library
--<snip-snip>--
| I don't know, since I use BAWT to compile.
| Also, the compilation was done years ago.
| I just wonder, that it works on all other computers that I have.
| The issue I get is only on two new computers.
| What is the difference?
| The installation path of Tcl is at least the same and it's the same OS. Might be some environment variable (specificaly TCL_LIBRARY and related) which is set/not set on those where it works.
Also check which tclsh/wish you actually get, might not be the one you
think it is.
R'
R'I have TCLLIBPATH but not TCL_LIBRARY.
I actually made sure, that I have the same env variables on both computers.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 285 |
Nodes: | 16 (2 / 14) |
Uptime: | 26:23:16 |
Calls: | 6,448 |
Files: | 12,050 |
Messages: | 5,254,429 |