🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.tcl
Article #17

Re: Why I'm reverting from Tcl/Tk 9.1.0 to Tcl/Tk 9.0.3

#17
From: 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
Technical Details
Message-ID: <11a6img$3a3a0$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11a01q4$sqls$1@dont-email.me> <11a0g6t$12dd2$1@dont-email.me> <11a26vt$1md53$1@dont-email.me> <11a4cgv$2g9q4$1@dont-email.me> <11a4qh4$2k75j$1@dont-email.me> <11a56ci$2oob0$1@dont-email.me> <9a1f4b79-a10d-49f3-9a7c-473aa8a6f342@comcast.net>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Alan Grunwald <nospam.nurdglaw@gmail.com>
Newsgroups: comp.lang.tcl
Subject: Re: Why I'm reverting from Tcl/Tk 9.1.0 to Tcl/Tk 9.0.3
Date: Wed, 7 Oct 2026 23:56:16 +0100
Organization: A noiseless patient Spider
Lines: 96
Message-ID: <11a6img$3a3a0$1@dont-email.me>
References: <11a01q4$sqls$1@dont-email.me> <11a0g6t$12dd2$1@dont-email.me>
 <11a26vt$1md53$1@dont-email.me> <11a4cgv$2g9q4$1@dont-email.me>
 <11a4qh4$2k75j$1@dont-email.me> <11a56ci$2oob0$1@dont-email.me>
 <9a1f4b79-a10d-49f3-9a7c-473aa8a6f342@comcast.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 07 Oct 2026 22:56:16 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3476800"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18a9YSC2n6GMuxnom7TaWhXt57Ubh2qwGg="; posting-host="2eb04c9728303ad4bafdc95132f6cb16"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:ZuonZpiKmvEilxhI+3+q5AR5VqQ= sha256:fBV4ENJikIeVC3RLhcHddgHJChnvCK/DfLeUKhA83aw=
	sha1:b3rtRBv8Mpv6lCxbpAzQ5tjrCCo= sha256:qzIX43i5Hdo5I6oG2CKyPThE4FeaxsApJ7ZHJvpXSh4=
In-Reply-To: <9a1f4b79-a10d-49f3-9a7c-473aa8a6f342@comcast.net>
Content-Language: en-US