• Can't find a usable init.tcl

    From Alexandru@21:1/5 to All on Mon Nov 22 23:34:25 2021
    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
    ---------------------------

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nicolas@21:1/5 to All on Mon Nov 22 23:50:52 2021
    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.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
    ---------------------------

    Hi,
    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.9

    did you set --prefix=Z:/Tcl/lib/ when you compiled it?

    ++

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alexandru@21:1/5 to Nicolas on Tue Nov 23 01:30:54 2021
    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 :
    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
    ---------------------------
    Hi,
    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.9
    did you set --prefix=Z:/Tcl/lib/ when you compiled it?

    ++

    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ralf Fassel@21:1/5 to All on Tue Nov 23 10:40:20 2021
    * Alexandru <alexandru.dadalau@meshparts.de>
    | 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'

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alexandru@21:1/5 to Ralf Fassel on Tue Nov 23 02:26:03 2021
    Ralf Fassel schrieb am Dienstag, 23. November 2021 um 10:40:24 UTC+1:
    * Alexandru <alexandr...@meshparts.de>
    | 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'
    I have TCLLIBPATH but not TCL_LIBRARY.
    I actually made sure, that I have the same env variables on both computers.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ashok@21:1/5 to Alexandru on Thu Nov 25 16:32:33 2021
    On 11/23/2021 3:56 PM, Alexandru wrote:
    R'
    I have TCLLIBPATH but not TCL_LIBRARY.
    I actually made sure, that I have the same env variables on both computers.


    Sounds very much like you have another Tcl dll on your PATH somewhere.
    Note this need not be from a Tcl installation, other software like R or
    Python also carry it around for Tk.

    /Ashok

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)