Aqua : issue with tcltk-man2html.tcl
Closed / Invalid6967e2915adb0a44ff462b73c23291335b777bc1Created 2 years agoUpdated 2 years ago
Descriptionplain2024-09-27 13:40:11
Hi, when I build Tcl (where main forlder is named tcl-53e5096b31), all is fine and when tcltk-man2html.tcl is used, Tcl is found. I've puts some debug info and it results: tcldir= tclh=/Users/nico/daylight/lib/build/tcl-53e5096b31/tools/tcl.h name=TCL tclh=/Users/nico/daylight/lib/build/tcl-53e5096b31/compat/tcl.h name=TCL tclh=/Users/nico/daylight/lib/build/tcl-53e5096b31/libtommath/tcl.h name=TCL tclh=/Users/nico/daylight/lib/build/tcl-53e5096b31/win/tcl.h name=TCL tclh=/Users/nico/daylight/lib/build/tcl-53e5096b31/tests/tcl.h name=TCL tclh=/Users/nico/daylight/lib/build/tcl-53e5096b31/library/tcl.h name=TCL tclh=/Users/nico/daylight/lib/build/tcl-53e5096b31/tests-perf/tcl.h name=TCL tclh=/Users/nico/daylight/lib/build/tcl-53e5096b31/unix/tcl.h name=TCL tclh=/Users/nico/daylight/lib/build/tcl-53e5096b31/pkgs/tcl.h name=TCL tclh=/Users/nico/daylight/lib/build/tcl-53e5096b31/macosx/tcl.h name=TCL tclh=/Users/nico/daylight/lib/build/tcl-53e5096b31/doc/tcl.h name=TCL tclh=/Users/nico/daylight/lib/build/tcl-53e5096b31/generic/tcl.h name=TCL finally tcldir=tcl-53e5096b31 using Tcl source directory /Users/nico/daylight/lib/build/tcl-53e5096b31 but when I build Tk, tcltk-man2html.tcl fails and exit is called... which in turns break my build script. my Tk folder is tk-e598adaa thank you for your help. best regards, nicolas
sl1200mk2plain2024-09-27 17:00:46
sorry I forgot to sya that it happens during the following call: sudo make -C macosx install-deploy and it's prompted: tcltk-man-html: couldn't find Tk below make[3]: *** [html-tk] Error 1 make[2]: *** [install-strip] Error 2 make[1]: *** [install-tk] Error 2 make: *** [install-deploy] Error 2
sl1200mk2plain2024-09-30 08:58:02
if in the tk/unix/Makefile.in, in the BUILD_HTML section I change the --srcdir=$(TOP_DIR)/.. for --srcdir=$(TOP_DIR) it works, no more errors nor build break ++
jan.nijtmanswiki2024-10-02 11:30:43
Looking at the documentation:
usage: tcltk-man-html \[OPTION\] ... --help print this help, then exit --version print version number, then exit --srcdir=DIR find tcl and tk source below DIR --htmldir=DIR put generated HTML in DIR --tcl build tcl help --tk build tk help --useversion version of tcl/tk to search for --verbose whether to print longer messages
This means that --srcdir is supposed to be the directory _above_ Tcl and Tk, and that the Tcl and Tk directories are supposed to be named "tclX.Y" and "tkX.Y".
So, it looks like your directory naming is not what tcltk-man-html expects.
Maybe you can fool the script by specifying --useversion=-e598adaa, but I doubt that's very useful.
Sorry!
sl1200mk2plain2024-10-04 16:13:47
I would like to understand why my build fails (not the entire build as dylib is created) and not the one on the github for the macOs build. I've read the github workflow and there's no error because the folder is named tk and not tk-7888854 (whatever the commit is) so I've renamed tk-7888854 to tk and build is fine, even the html section. this should me mentioned somewhere... or in the BUILD_HTML section I change the --srcdir=$(TOP_DIR)/.. for --srcdir=$(TOP_DIR) I've tested with this change on my Debian and things are fine. best regards, nicolas
Log in (anonymous is fine) to add a comment.