Overview
| Artifact ID: | 2f38f2c9a6b7c3deb049f26eea8699c054d0b2458d3adc5b7856efaf8207df02 |
|---|---|
| Ticket: | 1b8a893ded5f2a9b0c70a5893c7a2be3429d8033
TCL_PACKAGE_PATH path is (wrongly) braced. |
| User & Date: | oehhar on 2024-03-04 08:16:55 |
Changes
- icomment:
Thanks, Andreas, for the ticket. Please allow me to copy the information from the clt thread titled "tcltls install error..." started 3.3.2024 16:39 UTC. <H2>First post</H2> After building latest tcl/tk 8.6.14, I also freshened up a few extra libraries, in particular tcltls-1.7.22 It seemed to compile well, but the last few lines of build-log show: <verbatim> ... objcopy --discard-all shared-tcltls.so mv shared-tcltls.so tcltls.so /usr/bin/install -c -d '{/usr/local/lib}/tcltls1.7.22' /usr/bin/install -c tcltls.so '{/usr/local/lib}/tcltls1.7.22' /usr/bin/install -c -m 644 pkgIndex.tcl '{/usr/local/lib}/tcltls1.7.22' </verbatim> Yes, there are some strange extra curlies, and - indeed - it didn't install into /usr/local/..., but instead into a local directory "{". Is it just me...? (I'll go deeper into analysis, if this isn't an already known issue.) Last time I built tcltls was version 1.7.21 on Solaris, and I didn't have these extra curlies back then. <H2>Andreas addition 1</H2> Well, I did look further into it, and the culprit is not tcltls. In /usr/local/lib/tclConfig.sh from fresh tcl-8.6.14 install it says literally: TCL_PACKAGE_PATH='{/usr/local/lib} ' All other tclConfig.sh on my system all still have the whitespace, but no curlies in that line. My last tcl build on that machine is a bit aged, so I cannot yet tell, how "fresh" the regression is - if it isn't caused by some other oddity on my system, anyway. <H2>Andreas addition 2</H2> It seems to be a regression inside tcl-8.6 that happened somewhere between 8.6.10 (correct) and 8.6.14 (wrong) in 8.6.10 the unix/configure.in had this line 871: <verbatim> test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="${prefix}/lib ${TCL_PACKAGE_PATH}" </verbatim> in 8.6.14, that line (now 873) has changed to: <verbatim> test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="{${prefix}/lib} ${TCL_PACKAGE_PATH}" </verbatim> Note: There is a similar line shortly above, with a similar change and two now-braced items, which may affect other unix-platforms. Either, there was a wrong assumption about what language code would actually use that tclConfig.sh entry, or tcltls is wrong by using it at all. I don't know. - login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- username: "oehhar"