Now available at
https://sourceforge.net/projects/tcl/files/Tcl/9.0b1/
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.
config.out 2>&1
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?
LD_LIBRARY_PATH=/path/to/place/build/lib /path/to/place/build/bin/wish8.6
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.
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 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.
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.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 463 |
Nodes: | 16 (2 / 14) |
Uptime: | 156:58:52 |
Calls: | 9,384 |
Calls today: | 4 |
Files: | 13,561 |
Messages: | 6,095,919 |