🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

9 total messages Started by Ashok Wed, 07 Oct 2026 02:58
Re: Why I'm reverting from Tcl/Tk 9.1.0 to Tcl/Tk 9.0.3
#1
Author: Ashok
Date: Wed, 07 Oct 2026 02:58
24 lines
2178 bytes
Sorry you are having difficulty, Mark. See below.

On 10/6/2026 12:41 PM, Mark Summerfield wrote:

> 
> I looked at building from https://github.com/tcltk/ which has the dev daily
> build but it lists linux as failing for both Tcl and Tk so it seems pointless
> to try at the moment.

The daily builds fail even for minor hiccups/bugs so I would still give 
it a go.

> 
> Also, I found that regarding third party packages, tcltls2 builds fine with
> 9.0.3 but fails to build with 9.1.0.

I just tried building the HEAD of tcltls repository against 9.1.0 
release with MinGW on Windows (openssl 3.6) as well under Ubuntu 26 
(openssl 3.5.5). Both built and ran tests with no failures. What was the 
error you saw, what tcltls distribution did you use, and what was the 
installed openssl version?

Sorry, can't help with Tk related issues.
Re: Why I'm reverting from Tcl/Tk 9.1.0 to Tcl/Tk 9.0.3
#5
Author: Mark Summerfield
Date: Wed, 07 Oct 2026 06:57
141 lines
10961 bytes
On Wed, 7 Oct 2026 08:28:40 +0530, Ashok wrote:

> Sorry you are having difficulty, Mark. See below.
[snip[
>> Also, I found that regarding third party packages, tcltls2 builds fine with
>> 9.0.3 but fails to build with 9.1.0.
> 
> I just tried building the HEAD of tcltls repository against 9.1.0 
> release with MinGW on Windows (openssl 3.6) as well under Ubuntu 26 
> (openssl 3.5.5). Both built and ran tests with no failures. What was the 
> error you saw, what tcltls distribution did you use, and what was the 
> installed openssl version?

I now believe the tcltls problem is a configuration bug in tcltls.

When I try to make it immediately fails because it can't find 'dtplite'.

However, 'dtplite' _is_ installed in the locally built Tcl I'm configuring
and building tcltls against. See below:

Script started on 2026-10-07 07:51:00+01:00 [TERM="xterm-256color" TTY="/dev/pts/1" COLUMNS="93" LINES="50"]
[?2004h]0;~/Downloads/tcltls2.0.1$ ./configure --prefix=/home/mark/opt/tcl91   --enable-64bit  --enable-64bit --with-tcl=//home/mark/opt/tcl91/lib//home/mark/opt/tcl91/lib/
[?2004l
checking TEA configuration... ok (TEA 3.13)
configure: configuring tls 2.0.1
checking system version... Linux-6.12.111+deb13-amd64
checking for Tcl configuration... found /home/mark/opt/tcl91/lib/tclConfig.sh
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C23 features... -std=gnu23
checking for existence of /home/mark/opt/tcl91/lib/tclConfig.sh... loading
checking platform... unix
configure: --exec-prefix defaulting to TCL_EXEC_PREFIX /home/mark/opt/tcl91
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C23 features... (cached) -std=gnu23
checking how to run the C preprocessor... gcc -std=gnu23 -E
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking if the compiler understands -pipe... yes
checking whether byte ordering is bigendian... no
checking for Tcl public headers... /home/mark/opt/tcl91/include
checking for pthread_mutex_init in -lpthread... yes
checking for building with threads... yes (default)
checking how to build libraries... shared
checking for ranlib... (cached) ranlib
checking if 64bit support is requested... yes
checking if 64bit Sparc VIS support is requested... no
checking if compiler supports visibility "hidden"... yes
checking if rpath support is requested... yes
checking system version... (cached) Linux-6.12.111+deb13-amd64
checking for ar... ar
checking if compiler accepts -m64 flag... yes
checking for cast to union support... yes
checking for stdbool.h... yes
checking for required early compiler flags... none
checking for 64-bit integer type... yes
checking for build with symbols... no
checking for egrep -e... /usr/bin/grep -E
checking for pkg-config... pkg-config
checking for debug mode... no
checking for fast path... no
checking for enable hardening... yes
checking for static linking of openSSL libraries... no
checking for OpenSSL directory... 
checking for OpenSSL include directory... 
checking for OpenSSL lib directory... 
checking for OpenSSL pkgconfig... 
checking for libs... ${exec_prefix}/lib
checking for SSL libs... -lssl -lcrypto 
checking for tclsh... /home/mark/opt/tcl91/bin/tclsh9.1
checking for dtplite... /usr/bin/dtplite
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pkgIndex.tcl
[?2004h]0;~/Downloads/tcltls2.0.1$ make
[?2004l
sed -e '/^\\s*\#/d' -e '/^\\s*$/d' -e 's/\\/\\\\/g' -e 's/\"/\\"/g' -e 's/^/"/' \
    -e 's/$/\\n\"/' 'library/tls.tcl' > 'tls.tcl.h' || { rm -f tls.tcl.h; exit 1; }
gcc -std=gnu23 -DPACKAGE_NAME=\"tls\" -DPACKAGE_TARNAME=\"tls\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"tls\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tls=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DHAVE_STDBOOL_H=1 -DTCL_WIDE_INT_IS_LONG=1 -DTCL_CFG_OPTIMIZED=1 -DUSE_TCL_STUBS=1 -DNO_SSL3=1 -D_FORTIFY_SOURCE=2 -fstack-protector-all -fno-strict-overflow  -Wno-deprecated-declarations -I/usr/include -I"/home/mark/opt/tcl91/include"  -I.    -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC -pipe -m64 -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC  -c `echo ./generic/tlsBIO.c` -o tlsBIO.o
gcc -std=gnu23 -DPACKAGE_NAME=\"tls\" -DPACKAGE_TARNAME=\"tls\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"tls\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tls=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DHAVE_STDBOOL_H=1 -DTCL_WIDE_INT_IS_LONG=1 -DTCL_CFG_OPTIMIZED=1 -DUSE_TCL_STUBS=1 -DNO_SSL3=1 -D_FORTIFY_SOURCE=2 -fstack-protector-all -fno-strict-overflow  -Wno-deprecated-declarations -I/usr/include -I"/home/mark/opt/tcl91/include"  -I.    -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC -pipe -m64 -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC  -c `echo ./generic/tlsIO.c` -o tlsIO.o
gcc -std=gnu23 -DPACKAGE_NAME=\"tls\" -DPACKAGE_TARNAME=\"tls\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"tls\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tls=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DHAVE_STDBOOL_H=1 -DTCL_WIDE_INT_IS_LONG=1 -DTCL_CFG_OPTIMIZED=1 -DUSE_TCL_STUBS=1 -DNO_SSL3=1 -D_FORTIFY_SOURCE=2 -fstack-protector-all -fno-strict-overflow  -Wno-deprecated-declarations -I/usr/include -I"/home/mark/opt/tcl91/include"  -I.    -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC -pipe -m64 -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC  -c `echo ./generic/tlsX509.c` -o tlsX509.o
make nroff documentation
make HTML documentation
gcc -std=gnu23 -DPACKAGE_NAME=\"tls\" -DPACKAGE_TARNAME=\"tls\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"tls\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_tls=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DHAVE_STDBOOL_H=1 -DTCL_WIDE_INT_IS_LONG=1 -DTCL_CFG_OPTIMIZED=1 -DUSE_TCL_STUBS=1 -DNO_SSL3=1 -D_FORTIFY_SOURCE=2 -fstack-protector-all -fno-strict-overflow  -Wno-deprecated-declarations -I/usr/include -I"/home/mark/opt/tcl91/include"  -I.    -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC -pipe -m64 -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC  -c `echo ./generic/tls.c` -o tls.o
application-specific initialization failed: application-specific initialization failed: Cannot find a usable init.tcl in the following directories: 


    /home/mark/Downloads/tcl9.1.0/library





This probably means that Tcl wasn't installed properly.


Cannot find a usable init.tcl in the following directories: 


    /home/mark/Downloads/tcl9.1.0/library





This probably means that Tcl wasn't installed properly.


can't find package dtplite 1.0.5
    while executing
"package require dtplite 1.0.5"
    (file "/usr/bin/dtplite" line 20)
can't find package dtplite 1.0.5
    while executing
"package require dtplite 1.0.5"
    (file "/usr/bin/dtplite" line 20)
make: *** [Makefile:227: make-docs-html] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:219: make-docs-n] Error 1
$ locate dtplite |grep tcl91
/home/mark/opt/tcl91/bin/dtplite
/home/mark/opt/tcl91/lib/tcllib2.0/dtplite
/home/mark/opt/tcl91/lib/tcllib2.0/dtplite/dtplite.tcl
/home/mark/opt/tcl91/lib/tcllib2.0/dtplite/pkgIndex.tcl
Re: Why I'm reverting from Tcl/Tk 9.1.0 to Tcl/Tk 9.0.3
#7
Author: Mark Summerfield
Date: Wed, 07 Oct 2026 07:32
18 lines
1980 bytes
On Wed, 7 Oct 2026 08:28:40 +0530, Ashok wrote:

> Sorry you are having difficulty, Mark. See below.
> 
> On 10/6/2026 12:41 PM, Mark Summerfield wrote:
> 
>> 
>> I looked at building from https://github.com/tcltk/ which has the dev daily
>> build but it lists linux as failing for both Tcl and Tk so it seems pointless
>> to try at the moment.
> 
> The daily builds fail even for minor hiccups/bugs so I would still give 
> it a go.

I built using the today's daily. tcltls had exactly the same problem as with
the released 9.1.0. And I also got the same Tk problem which I've now
submitted as a ticket:
https://core.tcl-lang.org/tk/tktview/6f054bf319b4e5f3c77d5905b89b626800694932
Re: Why I'm reverting from Tcl/Tk 9.1.0 to Tcl/Tk 9.0.3
#10
Author: Ashok
Date: Wed, 07 Oct 2026 10:20
57 lines
3038 bytes
Ok, I don't have dtplite (or tcllib) installed so I was just doing

make binaries
make test

It's not clear why it is looking in /home/mark/Downloads/tcl9.1.0/library.

Do you by any chance have TCL_LIBRARY env variable pointed there? Else 
looking at the config output, why is it looking there? It's also picking 
up dtplite from /usr/bin/dtplite which seems suspicious. I would have 
thought it should be in /home/mark/opt/tcl91/lib/.

/Ashok

On 10/7/2026 12:27 PM, Mark Summerfield wrote:

> application-specific initialization failed: application-specific initialization failed: Cannot find a usable init.tcl in the following directories:
> 
> 
>      /home/mark/Downloads/tcl9.1.0/library
> 
> 
> 
> 
> 
> This probably means that Tcl wasn't installed properly.
> 
> 
> Cannot find a usable init.tcl in the following directories:
> 
> 
>      /home/mark/Downloads/tcl9.1.0/library
> 
> 
> 
> 
> 
> This probably means that Tcl wasn't installed properly.
> 
> 
> can't find package dtplite 1.0.5
>      while executing
> "package require dtplite 1.0.5"
>      (file "/usr/bin/dtplite" line 20)
> can't find package dtplite 1.0.5
>      while executing
> "package require dtplite 1.0.5"
>      (file "/usr/bin/dtplite" line 20)
> make: *** [Makefile:227: make-docs-html] Error 1
> make: *** Waiting for unfinished jobs....
> make: *** [Makefile:219: make-docs-n] Error 1
> $ locate dtplite |grep tcl91
> /home/mark/opt/tcl91/bin/dtplite
> /home/mark/opt/tcl91/lib/tcllib2.0/dtplite
> /home/mark/opt/tcl91/lib/tcllib2.0/dtplite/dtplite.tcl
> /home/mark/opt/tcl91/lib/tcllib2.0/dtplite/pkgIndex.tcl
Re: Why I'm reverting from Tcl/Tk 9.1.0 to Tcl/Tk 9.0.3
#11
Author: Mark Summerfield
Date: Wed, 07 Oct 2026 11:12
21 lines
2113 bytes
On Wed, 7 Oct 2026 15:50:03 +0530, Ashok wrote:

> Ok, I don't have dtplite (or tcllib) installed so I was just doing
> 
> make binaries
> make test
> 
> It's not clear why it is looking in /home/mark/Downloads/tcl9.1.0/library.
> 
> Do you by any chance have TCL_LIBRARY env variable pointed there? Else 
> looking at the config output, why is it looking there? It's also picking 
> up dtplite from /usr/bin/dtplite which seems suspicious. I would have 
> thought it should be in /home/mark/opt/tcl91/lib/.
> 
> /Ashok
[snip]

I don't have any TCL envvars set. I _expected_ it to look in 
/home/mark/opt/tcl91/bin but the fact that despite my setting --prefix to
/home/mark/opt/tcl91 it is looking in /usr/bin suggests a tcltls config
bug to me.
Re: Why I'm reverting from Tcl/Tk 9.1.0 to Tcl/Tk 9.0.3
#13
Author: Brian
Date: Wed, 07 Oct 2026 12:57
80 lines
4124 bytes
On 10/7/26 5:20 AM, Ashok wrote:
> Ok, I don't have dtplite (or tcllib) installed so I was just doing
> 
> make binaries
> make test
> 
> It's not clear why it is looking in /home/mark/Downloads/tcl9.1.0/library.
> 
> Do you by any chance have TCL_LIBRARY env variable pointed there? Else 
> looking at the config output, why is it looking there? It's also picking 
> up dtplite from /usr/bin/dtplite which seems suspicious. I would have 
> thought it should be in /home/mark/opt/tcl91/lib/.
> 
> /Ashok
> 
> On 10/7/2026 12:27 PM, Mark Summerfield wrote:
> 
>> application-specific initialization failed: application-specific 
>> initialization failed: Cannot find a usable init.tcl in the following 
>> directories:
>>
>>
>>      /home/mark/Downloads/tcl9.1.0/library
>>
>>
>>
>>
>>
>> This probably means that Tcl wasn't installed properly.
>>
>>
>> Cannot find a usable init.tcl in the following directories:
>>
>>
>>      /home/mark/Downloads/tcl9.1.0/library
>>
>>
>>
>>
>>
>> This probably means that Tcl wasn't installed properly.
>>
>>
>> can't find package dtplite 1.0.5
>>      while executing
>> "package require dtplite 1.0.5"
>>      (file "/usr/bin/dtplite" line 20)
>> can't find package dtplite 1.0.5
>>      while executing
>> "package require dtplite 1.0.5"
>>      (file "/usr/bin/dtplite" line 20)
>> make: *** [Makefile:227: make-docs-html] Error 1
>> make: *** Waiting for unfinished jobs....
>> make: *** [Makefile:219: make-docs-n] Error 1
>> $ locate dtplite |grep tcl91
>> /home/mark/opt/tcl91/bin/dtplite
>> /home/mark/opt/tcl91/lib/tcllib2.0/dtplite
>> /home/mark/opt/tcl91/lib/tcllib2.0/dtplite/dtplite.tcl
>> /home/mark/opt/tcl91/lib/tcllib2.0/dtplite/pkgIndex.tcl
> 

The issue isn't with tcltls or the configure scripts, the issue is you 
seem to have tcl installed in at least 3 locations so when the 
/usr/bin/dtplite.tcl script is called, tclsh can't find the init.tcl 
file. That's the error message you have above. So you need to provide 
options to tell it how to find the right install location. Another issue 
may be the output you pasted into the message showing the command line 
was corrupted with extra characters. That will cause it to fail too.

Here's what I use on OpenSuSE with a custom TCL install:

./configure --enable-64bit --prefix=/opt/tcl9.1 
-with-tcl=/opt/tcl9.1/lib64 --with-openssl-dir=/usr 
--with-openssl-includedir=/usr/include --with-openssl-libdir=/usr/lib64

You may also need to alter the PATH to remove any other TCL locations if 
it keeps using the wrong tclsh.

See './configure --help' for the complete list of options.
Re: Why I'm reverting from Tcl/Tk 9.1.0 to Tcl/Tk 9.0.3
#17
Author: Alan Grunwald
Date: Wed, 07 Oct 2026 22:56
96 lines
4897 bytes
On 07/10/2026 13:57, Brian wrote:
> On 10/7/26 5:20 AM, Ashok wrote:
>> Ok, I don't have dtplite (or tcllib) installed so I was just doing
>>
>> make binaries
>> make test
>>
>> It's not clear why it is looking in /home/mark/Downloads/tcl9.1.0/ 
>> library.
>>
>> Do you by any chance have TCL_LIBRARY env variable pointed there? Else 
>> looking at the config output, why is it looking there? It's also 
>> picking up dtplite from /usr/bin/dtplite which seems suspicious. I 
>> would have thought it should be in /home/mark/opt/tcl91/lib/.
>>
>> /Ashok
>>
>> On 10/7/2026 12:27 PM, Mark Summerfield wrote:
>>
>>> application-specific initialization failed: application-specific 
>>> initialization failed: Cannot find a usable init.tcl in the following 
>>> directories:
>>>
>>>
>>>      /home/mark/Downloads/tcl9.1.0/library
>>>
>>>
>>>
>>>
>>>
>>> This probably means that Tcl wasn't installed properly.
>>>
>>>
>>> Cannot find a usable init.tcl in the following directories:
>>>
>>>
>>>      /home/mark/Downloads/tcl9.1.0/library
>>>
>>>
>>>
>>>
>>>
>>> This probably means that Tcl wasn't installed properly.
>>>
>>>
>>> can't find package dtplite 1.0.5
>>>      while executing
>>> "package require dtplite 1.0.5"
>>>      (file "/usr/bin/dtplite" line 20)
>>> can't find package dtplite 1.0.5
>>>      while executing
>>> "package require dtplite 1.0.5"
>>>      (file "/usr/bin/dtplite" line 20)
>>> make: *** [Makefile:227: make-docs-html] Error 1
>>> make: *** Waiting for unfinished jobs....
>>> make: *** [Makefile:219: make-docs-n] Error 1
>>> $ locate dtplite |grep tcl91
>>> /home/mark/opt/tcl91/bin/dtplite
>>> /home/mark/opt/tcl91/lib/tcllib2.0/dtplite
>>> /home/mark/opt/tcl91/lib/tcllib2.0/dtplite/dtplite.tcl
>>> /home/mark/opt/tcl91/lib/tcllib2.0/dtplite/pkgIndex.tcl
>>
> 
> The issue isn't with tcltls or the configure scripts, the issue is you 
> seem to have tcl installed in at least 3 locations so when the /usr/bin/ 
> dtplite.tcl script is called, tclsh can't find the init.tcl file. That's 
> the error message you have above. So you need to provide options to tell 
> it how to find the right install location. Another issue may be the 
> output you pasted into the message showing the command line was 
> corrupted with extra characters. That will cause it to fail too.
> 
> Here's what I use on OpenSuSE with a custom TCL install:
> 
> ./configure --enable-64bit --prefix=/opt/tcl9.1 -with-tcl=/opt/tcl9.1/ 
> lib64 --with-openssl-dir=/usr --with-openssl-includedir=/usr/include -- 
> with-openssl-libdir=/usr/lib64
> 
> You may also need to alter the PATH to remove any other TCL locations if 
> it keeps using the wrong tclsh.
> 
> See './configure --help' for the complete list of options.
> 
I've kept readers of this newsgroup, and Brian, amused for many hours 
with problems building tcltls in the past. About a year ago, Brian 
hand-held me through the process (probably for Tcl 9.0.3 or 9.0.2) and I 
ended up with a configure command that was many inches long, that 
specified a lot of --with... flags, and that worked.

I have since experimented with dropping most of the flags and for both 
tcl9.0.4 and tcl9.1.0, I have successfully built tcltls2.0.1 after

./configure --enable-64bit --prefix=<wherever>

Stick with it.

Alan
Re: Why I'm reverting from Tcl/Tk 9.1.0 to Tcl/Tk 9.0.3
#19
Author: Mark Summerfield
Date: Thu, 08 Oct 2026 06:50
12 lines
2045 bytes
On Wed, 7 Oct 2026 07:57:08 -0500, Brian wrote:
[snip]
> Here's what I use on OpenSuSE with a custom TCL install:
> 
> ./configure --enable-64bit --prefix=/opt/tcl9.1 
> -with-tcl=/opt/tcl9.1/lib64 --with-openssl-dir=/usr 
> --with-openssl-includedir=/usr/include --with-openssl-libdir=/usr/lib64

Tried with:
./configure --enable-64bit --prefix=/home/mark/opt/tcl91x -with-tcl=/home/mark/opt/tcl91x/lib --with-openssl-dir=/usr --with-openssl-includedir=/usr/include --with-openssl-libdir=/usr/lib/x86_64-linux-gnu

but it still fails with both 9.1.0 and 9.1.1. I'm giving up since it installs fine with 9.0.3 which is what I now use.
Re: Why I'm reverting from Tcl/Tk 9.1.0 to Tcl/Tk 9.0.3
#120
Author: eeyore
Date: Thu, 05 Nov 2026 21:26
40 lines
2440 bytes
Mark Summerfield <m.n.summerfield@gmail.com> posted:

> On Wed, 7 Oct 2026 08:28:40 +0530, Ashok wrote:
> 
> > Sorry you are having difficulty, Mark. See below.
> > 
> > On 10/6/2026 12:41 PM, Mark Summerfield wrote:
> > 
> >> 
> >> I looked at building from https://github.com/tcltk/ which has the dev daily
> >> build but it lists linux as failing for both Tcl and Tk so it seems pointless
> >> to try at the moment.
> > 
> > The daily builds fail even for minor hiccups/bugs so I would still give 
> > it a go.
> 
> I built using the today's daily. tcltls had exactly the same problem as with
> the released 9.1.0. And I also got the same Tk problem which I've now
> submitted as a ticket:
> https://core.tcl-lang.org/tk/tktview/6f054bf319b4e5f3c77d5905b89b626800694932

Could this be related to: https://core.tcl-lang.org/tips/doc/trunk/tip/732.md

i.e. "Tcl initialization

Applications must call one of the following functions prior to making any other calls into the Tcl C API.

    Tcl_FindExecutable may be used to initialize Tcl if the application will not use the ZipFS file system to store Tcl support script files and encodings.
This tip was implemented for version 9.1. I found that I had to use Tcl_FindExecutable as such:
    
    Tcl_FindExecutable(argv[0]);
    interp =  Tcl_CreateInterp();
    int istat = Tcl_Init(interp);

In order to use the init.tcl proc auto_execok..

Where in version 9.0 I did not need it.


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads