History Of Ticket 316976aff3a2a38e

Artifacts Associated With Ticket 316976aff3a2a38e

  1. Ticket change [20426571eb] (rid 1557) by anonymous on 2021-02-27 22:02:50:

    1. foundin initialized to: "1.7.22"
    2. 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.
      
    3. login: "anonymous"
    4. mimetype: "text/x-fossil-plain"
    5. private_contact initialized to: "793aeae01821516f7a3d8d9c0adafcca479f79bf"
    6. severity initialized to: "Critical"
    7. status initialized to: "Open"
    8. title initialized to: "rules-ext.vc missing from win directory"
    9. type initialized to: "Build Problem"
  2. Ticket change [a86910a74f] (rid 1570) by anonymous on 2022-01-07 06:36:20:

    1. 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
      
    2. login: "anonymous"
    3. mimetype: "text/x-markdown"
    4. priority changed to: "Immediate"
    5. resolution changed to: "Open"
  3. Ticket change [3c116178f4] (rid 1571) by anonymous on 2022-01-07 07:17:40:

    1. 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
      
    2. login: "anonymous"
    3. mimetype: "text/x-markdown"