| Ticket Hash: | fb2fecf22123f3c6ccaefbc0e7b40c4f3b728ceb | ||
| Title: | make-docs-n in WSL (Debian 12) fails due to DTPLITE substitution | ||
| Status: | Open | Type: | Build Problem |
| Severity: | Important | Priority: | |
| Subsystem: | Resolution: | ||
| Last Modified: |
2026-01-28 07:21:38 4.1 days ago |
Created: |
2026-01-28 07:21:38 4.1 days ago |
| Version Found In: | 2.0 (28/01/2026) | ||
| User Comments: | ||||
anonymous added on 2026-01-28 07:21:38:
---------------------------- (that's what claude says why it's failing) The build fails in the make-docs-n target (Makefile line 219) due to two interrelated issues:
In Makefile.in:213: DTPLITE=$(TCLSH) @DTPLITE@ The @DTPLITE@ placeholder should be substituted by configure with the path to dtplite. However, DTPLITE is never defined in configure.ac, so the literal string @DTPLITE@ remains in the generated Makefile.
The TCLSH variable expands to include environment variables (line 141): TCLSH = $(TCLSH_ENV) $(PKG_ENV) $(TCLSH_PROG) Where PKG_ENV includes PATH="$(EXTRA_PATH):$(PATH)" (line 137). PATH contains Windows-style paths with parentheses: /mnt/c/Program Files (x86)/... When the shell evaluates line 219: @if [ -n "$(DTPLITE)" -a -x "$(DTPLITE)" ]; then The parentheses in (x86) are interpreted as shell command grouping syntax, causing: syntax error near unexpected token `(' Here the build fail: gcc -pipe -O2 -fomit-frame-pointer -DNDEBUG -Wall -fPIC -shared -Wl,--export-dynamic -o libtls2.0.so tls.o tlsBIO.o tlsIO.o tlsX509.o -lssl -lcrypto -L/home/thomas/cm.tcltk/tcltk86/rcompile/tcl/unix -ltclstub8.6
: libtls2.0.so
make nroff documentation
/bin/bash: -c: line 1: syntax error near unexpected token | ||||