Article View: comp.lang.tcl
Article #13Re: Why I'm reverting from Tcl/Tk 9.1.0 to Tcl/Tk 9.0.3
From: Brian
Date: Wed, 07 Oct 2026 12:57
Date: Wed, 07 Oct 2026 12:57
80 lines
4124 bytes
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.
Technical Details
Message-ID:
<9a1f4b79-a10d-49f3-9a7c-473aa8a6f342@comcast.net>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-mailReferences:
<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>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: Brian <brian199@comcast.net> 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 07:57:08 -0500 Organization: A noiseless patient Spider Lines: 80 Message-ID: <9a1f4b79-a10d-49f3-9a7c-473aa8a6f342@comcast.net> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 07 Oct 2026 12:57:09 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3020707"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ElGyaLVWz1Td+wjXKqxQB"; posting-host="ef38778282bb8b0b516b9260324b3a14" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:HyP1EYw/7FtKc8LfjS0mP8TCOpQ= sha256:bVYlrVLTke5HoPj9+vhLcGJauqgvdr2h9EkOaLy5wNo= sha1:NA7n1mU7nbl+Rf24x3WVBo2ZCM8= sha256:m/JuKxocaUnNfEgIzvrj6AOPtZ86ez2Ct31yP4L1ZBY= In-Reply-To: <11a56ci$2oob0$1@dont-email.me> Content-Language: en-US