Artifacts Associated With Ticket b2e3cbdc8f
Ticket change [513081d530] (rid 220947) by dgp on 2023-12-15 19:46:59:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
$ make html ... using Tcl source directory /home/dgp/fossil/tcl9.0b1 using Tk source directory verbose messages are off scanning section Tcl/Tk Applications : make-manpage-section: not table of contents. make: *** [html] Error 1
- foundin initialized to: "trunk"
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- private_contact initialized to: "8e2300e85be5dd1445b9666eb9429055951e33be"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "53. Configuration and Build Tools"
- title initialized to: "`make html` fails"
- type initialized to: "Bug"
Ticket change [b7a222a920] (rid 220948) by dgp on 2023-12-15 19:47:52:
- icomment:
The targets `make html-tcl` and `make html-tk` do appear to work, and their combination is presumably the desired result.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [f0be38aeef] (rid 220988) by dgp on 2023-12-20 16:10:40:
- icomment:
The `make html` target passes the command line argument --useversion=$(MAJOR_VERSION).$(MINOR_VERSION) which in this case sets the value to "9.0" This is odd since my sandboxes are under directories named tcl9.0b1 and tk9.0b1 which matches what the releases will unpack into, and what any downstream user will most likely have. I can work around the problem by using symlinks to create the appearance of the directories tcl9.0 and tk9.0 that the existing code is looking for. That will do for now, but doesn't really seem to be the right answer. FWIW the [findversion] routine inside the man2html machinery seems to be a real mess.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [cc9431b2e3] (rid 259402) by serhiy.storchaka on 2026-10-20 12:40:54:
- foundin changed to: "9.1.0"
- icomment:
Reproduced on main with source directories named tcl9.1b1 and tk9.1b1, exactly as reported. The cause is in <tt>findversion</tt> in tools/tcltk-man2html.tcl: <tt>foreach top1 {$top $top/..} sub {{} generic}</tt> pairs the two lists, so it only tries <tt>$top/<dir>/tk.h</tt> and <tt>$top/../<dir>/generic/tk.h</tt>. After Tcl is found the search for Tk starts from the parent directory, so <tt>tk9.1b1/generic/tk.h</tt> is never checked, and Tk is only found if its directory is named <tt>tk$useversion</tt>; the empty Tk directory then gives "not table of contents". Proposed fix in branch [/timeline?r=man2html-find-tk-generic|man2html-find-tk-generic]: try both subdirectories for each search root. <tt>make html</tt> then works with tcl9.1b1/tk9.1b1; the output for a checkout layout is unchanged. Related: [7dc0420245] (branch [/timeline?r=man2html-tk-beside|man2html-tk-beside]) is about the opposite case, an unrelated Tk tree found next to the source directory. Both change how tcltk-man2html.tcl finds Tk, in different places, so the branches can be merged together. - login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
Ticket change [04a4fc3337] (rid 259812) by dgp on 2026-10-21 17:54:01:
- assignee changed to: "dkf"
- login: "dgp"
- mimetype: "text/plain"