• Tcl/Tk 9.0b1 Release Candidates

    From Don Porter@21:1/5 to All on Thu Dec 21 13:39:43 2023
    Now available at

    https://sourceforge.net/projects/tcl/files/Tcl/9.0b1/

    are candidate files making up the RC3 pre-releases of Tcl and Tk 9.0b1.

    The pre-release of Tcl 9.0b1 includes the package sqlite3.44.2 and pre-releases of packages Itcl 4.2.4, tdbc* 1.1.6, and Thread 3.0b1 .

    The RC3 files should become the 9.0b1 releases in the next several days, with a release announcement. Please report any release-blocking troubles you discover.

    These releases are intended for beta testing for the purpose of reporting and fixing bugs and discovering hurdles of migration to the new major versions. It is not recommended that they be deployed to any mission critical usage without careful testing
    and consideration.

    --
    | Don Porter Applied and Computational Mathematics Division |
    | donald.porter@nist.gov Information Technology Laboratory |
    | http://math.nist.gov/~DPorter/ NIST | |______________________________________________________________________|

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Luc@21:1/5 to Don Porter on Thu Dec 21 20:44:21 2023
    On Thu, 21 Dec 2023 13:39:43 -0500, Don Porter wrote:

    Now available at

    https://sourceforge.net/projects/tcl/files/Tcl/9.0b1/

    **************************

    Will someone please tell me how I can compile and installl Tcl 9 in a
    way that will absolutely not interfere with my current 8.6 installation? Ideally, the system should not even know it exists, and I can run my
    scripts with

    $ /home/tcl/sandbox/tcl9/tclsh /path/to/script.tcl


    Would 'stow' perhaps be a good solution for that?


    --
    Luc


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ted Nolan @21:1/5 to Gerald.Lester@gmail.com on Fri Dec 22 13:18:05 2023
    In article <oRfhN.93875$Wp_8.89292@fx17.iad>,
    Gerald Lester <Gerald.Lester@gmail.com> wrote:
    On 12/21/23 17:44, Luc wrote:
    On Thu, 21 Dec 2023 13:39:43 -0500, Don Porter wrote:

    Now available at

    https://sourceforge.net/projects/tcl/files/Tcl/9.0b1/

    **************************

    Will someone please tell me how I can compile and installl Tcl 9 in a
    way that will absolutely not interfere with my current 8.6 installation?
    Ideally, the system should not even know it exists, and I can run my
    scripts with

    $ /home/tcl/sandbox/tcl9/tclsh /path/to/script.tcl


    Would 'stow' perhaps be a good solution for that?

    Read up about symlinks.
    Read up about the PATH variable.



    When I'm compiling a "side" Tcl, I just do something like this in the
    "unix" dir of the distribution:

    do_config:
    ====
    #!/bin/sh
    ./configure \
    --prefix=/usr/local/cluster/tcl-core-8-6-11 \
    --enable-64bit \
    config.out 2>&1

    do_make:
    ====
    #!/bin/sh
    make > make.out 2>&1

    do_install:
    ====
    #!/bin/sh
    make install > install.out 2>&1

    And then

    ./do_config
    (check output)

    ./do_make
    (check output)

    ./do_install
    (check_output)

    Set your desired version in "do_config", of course.

    Then just put /usr/local/cluster/tcl-core-8-6-11/bin in front of
    your PATH when you want to play with that version.
    --
    columbiaclosings.com
    What's not in Columbia anymore..

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From et99@21:1/5 to Luc on Fri Dec 22 19:26:30 2023
    On 12/21/2023 3:44 PM, Luc wrote:
    On Thu, 21 Dec 2023 13:39:43 -0500, Don Porter wrote:

    Now available at

    https://sourceforge.net/projects/tcl/files/Tcl/9.0b1/

    **************************

    Will someone please tell me how I can compile and installl Tcl 9 in a
    way that will absolutely not interfere with my current 8.6 installation? Ideally, the system should not even know it exists, and I can run my
    scripts with

    $ /home/tcl/sandbox/tcl9/tclsh /path/to/script.tcl


    Would 'stow' perhaps be a good solution for that?



    Here's how I built an 8.6.13, It's been quite a while since I build on linux (windows build is easier imo), but here's the basic idea:


    ./configure --prefix=/path/to/place/build


    make
    make install

    then for tk, you need to add the option --with-tcl so it can find the one you just built

    ./configure --prefix=/path/to/place/build --with-tcl=/path/to.../unix

    pointing to where the unix directory is that you did the tcl build from

    make
    make install

    And then when you run. I likely have these dir's a bit wrong, but wherever the lib and bin for these went. If you don't do this library path thing you end up mixing up your versions of stuff at runtime.

    LD_LIBRARY_PATH=/path/to/place/build/lib /path/to/place/build/bin/wish8.6

    Hope this helps.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From et99@21:1/5 to All on Fri Dec 22 20:58:26 2023
    On 12/22/2023 7:26 PM, et99 wrote:
    On 12/21/2023 3:44 PM, Luc wrote:
    On Thu, 21 Dec 2023 13:39:43 -0500, Don Porter wrote:

    Now available at

    https://sourceforge.net/projects/tcl/files/Tcl/9.0b1/

    **************************

    Will someone please tell me how I can compile and installl Tcl 9 in a
    way that will absolutely not interfere with my current 8.6 installation?
    Ideally, the system should not even know it exists, and I can run my
    scripts with

    $ /home/tcl/sandbox/tcl9/tclsh /path/to/script.tcl


    Would 'stow' perhaps be a good solution for that?



    Here's how I built an 8.6.13, It's been quite a while since I build on linux (windows build is easier imo), but here's the basic idea:


    ./configure --prefix=/path/to/place/build


    make
    make install

    then for tk, you need to add the option --with-tcl so it can find the one you just built

    ./configure --prefix=/path/to/place/buildĀ  --with-tcl=/path/to.../unix

    pointing to where the unix directory is that you did the tcl build from

    make
    make install

    And then when you run. I likely have these dir's a bit wrong, but wherever the lib and bin for these went. If you don't do this library path thing you end up mixing up your versions of stuff at runtime.

    LD_LIBRARY_PATH=/path/to/place/build/lib /path/to/place/build/bin/wish8.6

    Hope this helps.



    http://www.tcl.tk/doc/howto/compile.html

    official howto

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Don Porter@21:1/5 to All on Thu Dec 28 15:09:29 2023
    Now available at

    https://sourceforge.net/projects/tcl/files/Tcl/9.0b1/

    are the RC4 candidate source code distribution pre-releases of Tcl 9.0b1 and Tk 9.0b1 and bundled packages.

    The changes from RC3:
    Tcl: Update the tzdata files to 2023d
    Tk: Correct zipfs attached archives for Windows.
    Update TK_RELEASE_SERIAL
    Thread,TDBC*:
    Support builds of Tcl 8 compatible installation against Tcl 9 headers

    It is expected that these release artifacts will be renamed to become the Tcl/Tk 9.0b1 releases in the next several days.

    Thank you for your contributions and assistance.
    --
    | Don Porter Applied and Computational Mathematics Division |
    | donald.porter@nist.gov Information Technology Laboratory |
    | http://math.nist.gov/~DPorter/ NIST | |______________________________________________________________________|

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ian@21:1/5 to Don Porter on Fri Dec 29 17:57:15 2023
    Don Porter wrote:


    Now available at

    https://sourceforge.net/projects/tcl/files/Tcl/9.0b1/

    are the RC4 candidate source code distribution pre-releases of Tcl
    9.0b1 and Tk 9.0b1 and bundled packages.

    The changes from RC3:
    Tcl: Update the tzdata files to 2023d
    Tk: Correct zipfs attached archives for Windows.
    Update TK_RELEASE_SERIAL
    Thread,TDBC*:
    Support builds of Tcl 8 compatible installation against
    Tcl 9 headers

    It is expected that these release artifacts will be renamed to become
    the Tcl/Tk 9.0b1 releases in the next several days.

    Thank you for your contributions and assistance.

    Problem building Tk9.0 on linux (OpenSuse 15.5)

    1. My source directory contains the following subdirectories (among
    others)
    tcl8.6.12
    tk8.6.12
    tcl9.0b1
    tk9.0b1

    2. tcl9.0 builds with no problems.

    3. Attempt to run configure script in ~/source/tk9.0b1/unix fails.
    output from ./config is
    configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu checking for Tcl configuration...
    found /home/ian/source/tcl8.6.12/unix/tclConfig.sh
    checking for existence
    of /home/ian/source/tcl8.6.12/unix/tclConfig.sh... loading
    configure: error: tk 9.0 requires Tcl 8.7+
    Found config for Tcl 8.6

    4. If I rename subdirectory tcl8.6.12 to something harmless, configure
    runs ok, and tk9.0b1 builds successfully.

    5. So it looks like configure script looks for tclConfig.sh in the first
    tclish subdirectory it finds, rather than searching for one with
    matching version.
    --
    *********** To reply by e-mail, make w single in address **************

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From et99@21:1/5 to Ian on Sun Dec 31 14:48:47 2023
    On 12/29/2023 5:57 PM, Ian wrote:
    Don Porter wrote:


    Now available at

    https://sourceforge.net/projects/tcl/files/Tcl/9.0b1/

    are the RC4 candidate source code distribution pre-releases of Tcl
    9.0b1 and Tk 9.0b1 and bundled packages.

    The changes from RC3:
    Tcl: Update the tzdata files to 2023d
    Tk: Correct zipfs attached archives for Windows.
    Update TK_RELEASE_SERIAL
    Thread,TDBC*:
    Support builds of Tcl 8 compatible installation against
    Tcl 9 headers

    It is expected that these release artifacts will be renamed to become
    the Tcl/Tk 9.0b1 releases in the next several days.

    Thank you for your contributions and assistance.

    Problem building Tk9.0 on linux (OpenSuse 15.5)

    1. My source directory contains the following subdirectories (among
    others)
    tcl8.6.12
    tk8.6.12
    tcl9.0b1
    tk9.0b1

    2. tcl9.0 builds with no problems.

    3. Attempt to run configure script in ~/source/tk9.0b1/unix fails.
    output from ./config is
    configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu checking for Tcl configuration...
    found /home/ian/source/tcl8.6.12/unix/tclConfig.sh
    checking for existence
    of /home/ian/source/tcl8.6.12/unix/tclConfig.sh... loading
    configure: error: tk 9.0 requires Tcl 8.7+
    Found config for Tcl 8.6

    4. If I rename subdirectory tcl8.6.12 to something harmless, configure
    runs ok, and tk9.0b1 builds successfully.

    5. So it looks like configure script looks for tclConfig.sh in the first tclish subdirectory it finds, rather than searching for one with
    matching version.

    I haven't tried building on linux yet, but on windows, there was something about a side by side build where I didn't have to do much of anything to build Tk after building Tcl, as long as the two were unzipped into the same directory. Perhaps that's what
    you are seeing.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Don Porter@21:1/5 to Ian on Tue Jan 2 08:02:17 2024
    On 12/29/23 20:57, Ian wrote:
    3. Attempt to run configure script in ~/source/tk9.0b1/unix fails.
    output from ./config is
    configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu checking for Tcl configuration...
    found /home/ian/source/tcl8.6.12/unix/tclConfig.sh
    checking for existence
    of /home/ian/source/tcl8.6.12/unix/tclConfig.sh... loading
    configure: error: tk 9.0 requires Tcl 8.7+
    Found config for Tcl 8.6
    ...
    5. So it looks like configure script looks for tclConfig.sh in the first tclish subdirectory it finds, rather than searching for one with
    matching version.

    Feel free to open a ticket offering improved search strategies, but
    the --with-tcl= option is there for scenarios like the one you describe.

    $ ./configure --with-tcl=../../tcl9.0b1/unix

    --
    | Don Porter Applied and Computational Mathematics Division |
    | donald.porter@nist.gov Information Technology Laboratory |
    | http://math.nist.gov/~DPorter/ NIST | |______________________________________________________________________|

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