Artifacts Associated With Ticket 316976aff3
Ticket change [20426571eb] (rid 1557) by anonymous on 2021-02-27 22:02:50:
- foundin initialized to: "1.7.22"
- icomment:
I'm trying to build 1.7.22 for Windows, using Visual Studio 2017 (Community Edition). The win directory is missing in the download, but I managed to add it via the patch I found on this site. However, it's now missing rules-ext.vc. I found a version of rules.vc from 2016 (before the win directory was deleted), but I get the following errors: 'nmakehlp' is not recognized as an internal or external command, operable program or batch file. targets.vc(29) : fatal error U1083: target macro '$(PRJLIB)' expands to nothing I would greatly appreciate it if someone could add that missing file (as well as any other missing artifacts), and any documentation that would help with building this module would be appreciated, including how you compiled the module to test it for the patch. I really want to get this module compiled to update the tcl web server (tclhttpd) to make it more secure. Regards, Jeffrey Rothman, Ph.D.
- login: "anonymous"
- mimetype: "text/x-fossil-plain"
- private_contact initialized to: "793aeae01821516f7a3d8d9c0adafcca479f79bf"
- severity initialized to: "Critical"
- status initialized to: "Open"
- title initialized to: "rules-ext.vc missing from win directory"
- type initialized to: "Build Problem"
Ticket change [a86910a74f] (rid 1570) by anonymous on 2022-01-07 06:36:20:
- icomment:
Professor Rothman It may be the version of Tcl you are using is before the changes from [TIP 477](https://core.tcl-lang.org/tips/doc/trunk/tip/477.md) were integrated. For the problem in your post I looked at the a few of the Tcl modules and added the following line to win/makefile.vc: ``` PRJLIBNAME = $(PROJECT)$(VERSION)$(SUFX).$(EXT) PRJLIB = $(OUT_DIR)\$(PRJLIBNAME) ``` You may not need both, but this seemed to be the pattern from other packages. After that I was able to compile the module using Tcl8.6.12. Initially tried 8.6.7 until I read TIP 477. Hopefully this resolves your issue and assist others who have been working on the windows compile. vectorphresh
- login: "anonymous"
- mimetype: "text/x-markdown"
- priority changed to: "Immediate"
- resolution changed to: "Open"
- icomment:
Ticket change [3c116178f4] (rid 1571) by anonymous on 2022-01-07 07:17:40:
- icomment:
Professor Rothman It may be the version of Tcl you are using is before the changes from [TIP 477](https://core.tcl-lang.org/tips/doc/trunk/tip/477.md) were integrated. You will need to copy the rules-ext.vc from TCLDIR/win folder, where TCLDIR is your source folder For the other problem in your post, I looked at a few Tcl modules and added the following line to win/makefile.vc: ``` PRJLIBNAME = $(PROJECT)$(VERSION)$(SUFX).$(EXT) PRJLIB = $(OUT_DIR)\$(PRJLIBNAME) ``` You may not need both, but this seemed to be the pattern from other packages. After that I was able to compile the module using Tcl8.6.12. Initially tried 8.6.7 until I read TIP 477. Hopefully this resolves your issue and assist others who have been working on the windows compile. vectorphresh
- login: "anonymous"
- mimetype: "text/x-markdown"
- icomment:
Ticket change [e793177da4] (rid 3698) by bohagan on 2024-06-29 01:37:01:
- icomment:
This issue has been fixed in commit [7c266d8a5b22e61f].
- login: "bohagan"
- mimetype: "text/x-fossil-plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- icomment: