Hi,
I'd like to install the Tcl Thread package for my 8.6.13 Tcl version.
Hi,
I'd like to install the Tcl Thread package for my 8.6.13 Tcl version.
The 2.9 branch from https://core.tcl-lang.org/thread/timeline?y=ci seems
to be meant for newer versions of Tcl, so I downloaded the tarball from
the last commit for version 2.8 - https://core.tcl-lang.org/thread/info/ 48e507d6c9591a01.
I wanted to install it in a RedHat machine but also tried this in a Devuan x86_64 box.
Tried to follow the instructions.
Extract and gunzip.
cd unix
In file 'CONFIG' Uncommented the lines:
# grep -v '^#' CONFIG
CC=gcc; export CC
../configure --enable-threads
Then 'make' and `make test`.
Tests ended at Tue Oct 17 15:35:40 WEST 2023
all.tcl: Total 139 Passed 123 Skipped 16 Failed 0 Sourced 0 Test Files.
Number of tests skipped for each constraint:
8 have_gdbm
8 have_lmdb
Everything Ok, but `make install` fails.
It is meant to be installed in /usr/local by default.
In both distros, it fails with:
# make install
/bin/bash: ../tclconfig/install-sh: No such file or directory
make: *** [Makefile:460: install-lib-binaries] Error 127
Am I missing something, or is the installation broken?
Thanks in advance,
Luís Mendes
Am 17.10.2023 um 16:38 schrieb Luis Mendes:Passed
Hi,
I'd like to install the Tcl Thread package for my 8.6.13 Tcl version.
The 2.9 branch from https://core.tcl-lang.org/thread/timeline?y=ci
seems to be meant for newer versions of Tcl, so I downloaded the
tarball from the last commit for version 2.8 -
https://core.tcl-lang.org/thread/info/ 48e507d6c9591a01.
I wanted to install it in a RedHat machine but also tried this in a
Devuan x86_64 box.
Tried to follow the instructions.
Extract and gunzip.
cd unix In file 'CONFIG' Uncommented the lines:
# grep -v '^#' CONFIG CC=gcc; export CC ../configure --enable-threads
Then 'make' and `make test`.
Tests ended at Tue Oct 17 15:35:40 WEST 2023 all.tcl: Total 139
123 Skipped 16 Failed 0 Sourced 0 Test Files.
Number of tests skipped for each constraint:
8 have_gdbm 8 have_lmdb
Everything Ok, but `make install` fails.
It is meant to be installed in /usr/local by default.
In both distros, it fails with:
# make install /bin/bash: ../tclconfig/install-sh: No such file or
directory make: *** [Makefile:460: install-lib-binaries] Error 127
Am I missing something, or is the installation broken?
Thanks in advance,
Luís Mendes
Hi Luís,
the tread package is bundled with the tcl distribution. So, you may
extract the source from the tcl8.6.13 source distribution (folder
"pck"). If you would build TCL from source from the distro, it will automatically include the thread package.
About your issue. The "make install" does not know where to put the
resulting dll. I suppose, /usr/local" is just a default.
When TCL is build, a "tclConfig.sh" file is created which contains all
the informations to build other packages. The path to this file should
be specified with the "./configure" command.
On Tue, 17 Oct 2023 17:17:44 +0200, Harald Oehlmann wrote:
Am 17.10.2023 um 16:38 schrieb Luis Mendes:Passed
Hi,
I'd like to install the Tcl Thread package for my 8.6.13 Tcl version.
The 2.9 branch from https://core.tcl-lang.org/thread/timeline?y=ci
seems to be meant for newer versions of Tcl, so I downloaded the
tarball from the last commit for version 2.8 -
https://core.tcl-lang.org/thread/info/ 48e507d6c9591a01.
I wanted to install it in a RedHat machine but also tried this in a
Devuan x86_64 box.
Tried to follow the instructions.
Extract and gunzip.
cd unix In file 'CONFIG' Uncommented the lines:
# grep -v '^#' CONFIG CC=gcc; export CC ../configure --enable-threads
Then 'make' and `make test`.
Tests ended at Tue Oct 17 15:35:40 WEST 2023 all.tcl: Total 139
123 Skipped 16 Failed 0 Sourced 0 Test Files.
Number of tests skipped for each constraint:
8 have_gdbm 8 have_lmdb
Everything Ok, but `make install` fails.
It is meant to be installed in /usr/local by default.
In both distros, it fails with:
# make install /bin/bash: ../tclconfig/install-sh: No such file or
directory make: *** [Makefile:460: install-lib-binaries] Error 127
Am I missing something, or is the installation broken?
Thanks in advance,
Luís Mendes
Hi Luís,
the tread package is bundled with the tcl distribution. So, you may
extract the source from the tcl8.6.13 source distribution (folder
"pck"). If you would build TCL from source from the distro, it will
automatically include the thread package.
About your issue. The "make install" does not know where to put the
resulting dll. I suppose, /usr/local" is just a default.
When TCL is build, a "tclConfig.sh" file is created which contains all
the informations to build other packages. The path to this file should
be specified with the "./configure" command.
Hi Harald,
I tried to find that tclConfig.sh file:
# find / -iname tclConfig.sh
/usr/lib/tcl8.6/tclConfig.sh
/usr/lib/x86_64-linux-gnu/tcl8.6/tclConfig.sh
The first one just points to the second.
# cat /usr/lib/tcl8.6/tclConfig.sh
#! /bin/sh
. /usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`/tcl8.6/tclConfig.sh
As per the instructions, I edited the file 'unix/CONFIG' as:
unix# grep -v '^#' CONFIG
CC=gcc; export CC
../configure --enable-threads \
--with-tcl=/usr/lib/x86_64-linux-gnu/tcl8.6/
Did the `make`, returns successfully, although the last line says:
"Zip entry offsets appear off by 98360 bytes - correcting..."
When `make install`, the same error:
unix# make install
/bin/bash: ../tclconfig/install-sh: No such file or directory
make: *** [Makefile:460: install-lib-binaries] Error 127
Should this `../tclconfig/install-sh` be created by the `make install`? Where?
Tcl_package_Thread_source_code-48e507d6c9# find . -name tclconfig Tcl_package_Thread_source_code-48e507d6c9# find . -name install-sh
Nothing shows up.
Luis
# make install
/bin/bash: ../tclconfig/install-sh: No such file or directory
make: *** [Makefile:460: install-lib-binaries] Error 127
Am I missing something, or is the installation broken?
Luis Mendes schrieb am Dienstag, 17. Oktober 2023 um 16:38:14 UTC+2:
Hi,
I'd like to install the Tcl Thread package for my 8.6.13 Tcl version.
with paket -manager
apt search tcl-thread
or links to to compile:
https://www.tcl-lang.org/doc/howto/compile.html https://wiki.tcl-lang.org/page/To+build+and+test+Tcl
and a example with mingw (Windows)
https://wiki.tcl-lang.org/page/Building+TclBlend+with+msys%5Fmingw
Am 18.10.2023 um 00:35 schrieb Luis Mendes:That tclconfig file is not installed in the system.
On Tue, 17 Oct 2023 17:17:44 +0200, Harald Oehlmann wrote:
Am 17.10.2023 um 16:38 schrieb Luis Mendes:Passed
Hi,
I'd like to install the Tcl Thread package for my 8.6.13 Tcl version.
The 2.9 branch from https://core.tcl-lang.org/thread/timeline?y=ci
seems to be meant for newer versions of Tcl, so I downloaded the
tarball from the last commit for version 2.8 -
https://core.tcl-lang.org/thread/info/ 48e507d6c9591a01.
I wanted to install it in a RedHat machine but also tried this in a
Devuan x86_64 box.
Tried to follow the instructions.
Extract and gunzip.
cd unix In file 'CONFIG' Uncommented the lines:
# grep -v '^#' CONFIG CC=gcc; export CC ../configure --enable-threads
Then 'make' and `make test`.
Tests ended at Tue Oct 17 15:35:40 WEST 2023 all.tcl: Total 139
123 Skipped 16 Failed 0 Sourced 0 Test Files.
Number of tests skipped for each constraint:
8 have_gdbm 8 have_lmdb
Everything Ok, but `make install` fails.
It is meant to be installed in /usr/local by default.
In both distros, it fails with:
# make install /bin/bash: ../tclconfig/install-sh: No such file or
directory make: *** [Makefile:460: install-lib-binaries] Error 127
Am I missing something, or is the installation broken?
Thanks in advance,
Luís Mendes
Hi Luís,
the tread package is bundled with the tcl distribution. So, you may
extract the source from the tcl8.6.13 source distribution (folder
"pck"). If you would build TCL from source from the distro, it will
automatically include the thread package.
About your issue. The "make install" does not know where to put the
resulting dll. I suppose, /usr/local" is just a default.
When TCL is build, a "tclConfig.sh" file is created which contains all
the informations to build other packages. The path to this file should
be specified with the "./configure" command.
Hi Harald,
I tried to find that tclConfig.sh file:
# find / -iname tclConfig.sh /usr/lib/tcl8.6/tclConfig.sh
/usr/lib/x86_64-linux-gnu/tcl8.6/tclConfig.sh
The first one just points to the second.
# cat /usr/lib/tcl8.6/tclConfig.sh #! /bin/sh .
/usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`/tcl8.6/tclConfig.sh
As per the instructions, I edited the file 'unix/CONFIG' as:
unix# grep -v '^#' CONFIG CC=gcc; export CC ../configure
--enable-threads \
--with-tcl=/usr/lib/x86_64-linux-gnu/tcl8.6/
Did the `make`, returns successfully, although the last line says: "Zip
entry offsets appear off by 98360 bytes - correcting..."
When `make install`, the same error:
unix# make install /bin/bash: ../tclconfig/install-sh: No such file or
directory make: *** [Makefile:460: install-lib-binaries] Error 127
Should this `../tclconfig/install-sh` be created by the `make install`?
Where?
Tcl_package_Thread_source_code-48e507d6c9# find . -name tclconfig
Tcl_package_Thread_source_code-48e507d6c9# find . -name install-sh
Nothing shows up.
Luis
AFAIK, install-sh is a script which basically copies files.
It is part of the TCL build machinery.
https://core.tcl-lang.org/tclconfig
This is always included in TCL. Maybe, you have a tcl-develop package,
which includes this file ?
Or the TEA files must be added to the thread source files. The windows
files are there, but no Unix files.
https://wiki.tcl-lang.org/page/TEA
https://core.tcl-lang.org/sampleextension/info/33580ef758b65fc8
Sorry,
Harald
On Tue, 17 Oct 2023 08:46:07 -0700 (PDT), greg wrote:
Luis Mendes schrieb am Dienstag, 17. Oktober 2023 um 16:38:14 UTC+2:
Hi,
I'd like to install the Tcl Thread package for my 8.6.13 Tcl version.
with paket -manager
apt search tcl-thread
or links to to compile:
https://www.tcl-lang.org/doc/howto/compile.html https://wiki.tcl-lang.org/page/To+build+and+test+Tcl
and a example with mingw (Windows)
https://wiki.tcl-lang.org/page/Building+TclBlend+with+msys%5FmingwHi Greg,
The Devuan machine has the tcl-thread package, but it's only a test box.
I need tcl-thread at a RHEL 8.6 system, and tcl-thread (or similar) can't
be found as a package.
I followed the instructions, but the problem is still:
Tcl_package_Thread_source_code-48e507d6c9/unix$ sudo make install
/bin/bash: ../tclconfig/install-sh: No such file or directory
make: *** [Makefile:460: install-lib-binaries] Error 127
Probably, I wouldn't have any problems in my old Slackware systems, but
it's not my choice to use RHEL.
Thanks,
LuisHow did you install Tcl/Tk on redhat?
On Tue, 17 Oct 2023 08:46:07 -0700 (PDT), greg wrote:
Luis Mendes schrieb am Dienstag, 17. Oktober 2023 um 16:38:14 UTC+2:
Hi,
I'd like to install the Tcl Thread package for my 8.6.13 Tcl version.
with paket -manager
apt search tcl-thread
or links to to compile:
https://www.tcl-lang.org/doc/howto/compile.html
https://wiki.tcl-lang.org/page/To+build+and+test+Tcl
and a example with mingw (Windows)
https://wiki.tcl-lang.org/page/Building+TclBlend+with+msys%5Fmingw
Hi Greg,
The Devuan machine has the tcl-thread package, but it's only a test box.
I need tcl-thread at a RHEL 8.6 system, and tcl-thread (or similar) can't
be found as a package.
I followed the instructions, but the problem is still:
Tcl_package_Thread_source_code-48e507d6c9/unix$ sudo make install
/bin/bash: ../tclconfig/install-sh: No such file or directory
make: *** [Makefile:460: install-lib-binaries] Error 127
Probably, I wouldn't have any problems in my old Slackware systems, but
it's not my choice to use RHEL.
Thanks,
Luis
Luis Mendes schrieb am Mittwoch, 18. Oktober 2023 um 16:12:49 UTC+2:Hi Greg,
On Tue, 17 Oct 2023 08:46:07 -0700 (PDT), greg wrote:How did you install Tcl/Tk on redhat?
Luis Mendes schrieb am Dienstag, 17. Oktober 2023 um 16:38:14 UTC+2:Hi Greg,
Hi,
I'd like to install the Tcl Thread package for my 8.6.13 Tcl
version.
with paket -manager
apt search tcl-thread
or links to to compile:
https://www.tcl-lang.org/doc/howto/compile.html
https://wiki.tcl-lang.org/page/To+build+and+test+Tcl
and a example with mingw (Windows)
https://wiki.tcl-lang.org/page/Building+TclBlend+with+msys%5Fmingw
The Devuan machine has the tcl-thread package, but it's only a test
box. I need tcl-thread at a RHEL 8.6 system, and tcl-thread (or
similar) can't be found as a package.
I followed the instructions, but the problem is still:
Tcl_package_Thread_source_code-48e507d6c9/unix$ sudo make install
/bin/bash: ../tclconfig/install-sh: No such file or directory make: ***
[Makefile:460: install-lib-binaries] Error 127 Probably, I wouldn't
have any problems in my old Slackware systems, but it's not my choice
to use RHEL.
Thanks,
Luis
From source or package manager (e.g. dnf)
What is with:Error: No matching Packages to list
dnf info <package_name>
or dnf info tcl-thread
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (3 / 13) |
| Uptime: | 28:02:33 |
| Calls: | 12,107 |
| Calls today: | 7 |
| Files: | 15,006 |
| Messages: | 6,518,228 |