Artifacts Associated With Ticket 1cf49a09261a8650
Ticket change [8084b484de] (rid 247629) by oscarfv on 2025-10-27 15:16:21:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-plain"
- comment initialized to:
From MSYS2/Mingw-packages: --- a/win/configure.in +++ b/win/configure.in @@ -285,6 +285,7 @@ eval "TCL_DLL_FILE=tcl${VER}${DLLSUFFIX}" +eval "TCL_LIB_FLAG=\"-ltcl${VER}${LIBFLAGSUFFIX}\"" eval "TCL_STUB_LIB_FILE=\"${LIBPREFIX}tclstub${VER}${LIBSUFFIX}\"" eval "TCL_STUB_LIB_FLAG=\"-ltclstub${VER}${LIBFLAGSUFFIX}\"" eval "TCL_BUILD_STUB_LIB_SPEC=\"-L`$CYGPATH $(pwd)` ${TCL_STUB_LIB_FLAG}\"" @@ -375,6 +376,7 @@ AC_SUBST(TCL_IMPORT_LIB_FILE) AC_SUBST(TCL_IMPORT_LIB_FLAG) # empty on win +AC_SUBST(TCL_LIBS) AC_SUBST(TCL_LIB_SPEC) AC_SUBST(TCL_STUB_LIB_FILE) AC_SUBST(TCL_STUB_LIB_FLAG) @@ -458,7 +458,7 @@ AC_SUBST(RC_DEFINES) AC_SUBST(RES) -AC_CONFIG_FILES([Makefile tclConfig.sh tcl.hpj tclsh.exe.manifest]) +AC_CONFIG_FILES([Makefile tclConfig.sh tcl.hpj tclsh.exe.manifest tcl.pc]) AC_OUTPUT dnl Local Variables: --- a/win/Makefile.in +++ b/win/Makefile.in @@ -672,6 +672,9 @@ echo Installing $(REG_LIB_FILE); \ $(COPY) $(REG_LIB_FILE) "$(LIB_INSTALL_DIR)/reg${REGDOTVER}"; \ fi + @echo "Installing pkg-config file to $(LIB_INSTALL_DIR)/pkgconfig/" + @$(INSTALL_DATA_DIR) "$(LIB_INSTALL_DIR)/pkgconfig" + @$(INSTALL_DATA) tcl.pc "$(LIB_INSTALL_DIR)/pkgconfig/tcl.pc" install-libraries: libraries install-tzdata install-msgs @for i in "$(prefix)/lib" "$(INCLUDE_INSTALL_DIR)" \ - is_private initialized to: "0"
- login: "oscarfv"
- priority initialized to: "5 Medium"
- private_contact initialized to: "becb0e4021beda640acc1b17b371abd9e9618647"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "oscarfv"
- subsystem initialized to: "53. Configuration and Build Tools"
- title initialized to: "Install pkgconfig"
- type initialized to: "Patch"
Ticket change [9b137ea49a] (rid 247645) by jan.nijtmans on 2025-10-28 07:58:54:
- assignee changed to: "jan.nijtmans"
- icomment:
Trying this, I get: error: cannot find input file: tcl.pc.in Did you add a "tcl.pc.in" in the win directory, or is the UNIX version (tcl.pc:../unix/tcl.pc.in) fine?
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
Ticket change [bfda636a18] (rid 247655) by oscarfv on 2025-10-28 09:31:13:
- icomment:
Yes, we are using unix/tcltcl.pc.in by explicitly copying it from the build recipe: cp unix/tcl.pc.in win/tcl.pc.in Sorry for missing this detail. The Tk counterpart ( https://core.tcl-lang.org/tk/tktview/2c240bb0f5 ) does this on a different way (AC_CONFIG_FILES).
- login: "oscarfv"
- mimetype: "text/plain"
- icomment:
Ticket change [ee7ec1302f] (rid 247656) by jan.nijtmans on 2025-10-28 10:26:51:
- icomment: "So, does [f856dbf9394261fb|this] work for you?"
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
Ticket change [29f13a157b] (rid 247657) by oscarfv on 2025-10-28 10:48:42:
- icomment:
I don't know autotools, so your judgement is way better than mine. After resolving the other tickets, I'll get an snapshot of the repo to test the build. Thank you.
- login: "oscarfv"
- mimetype: "text/plain"
- icomment:
Ticket change [8442b4b360] (rid 247813) by jan.nijtmans on 2025-10-30 18:36:02:
- closedate changed to: "2460979.27503275"
- closer changed to: "jan.nijtmans"
- icomment:
Fixed [bbc10f091d6e0ab6|here] Thanks for the report and the patch!
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"