Overview
| Artifact ID: | 2c7762977ddaf634514c8d02fd4ecf78a321aed6d3c89e15a0ea1fdf7cb32ffc |
|---|---|
| Ticket: | 4e812aadae68af384605a5e78845abe40206fbe9
package require msgcat fails |
| User & Date: | anonymous on 2018-11-01 14:09:07 |
Changes
- icomment:
Build and install Tcl 8.7 and Tk 8.7 like this: $ rm -rf build $ cd tcl $ fossil update core-8-branch ; make -C macosx ; sudo make -C macosx install $ cd ../tk $ fossil update trunk ; make -C macosx ; sudo make -C macosx install Now run Wish: $ Wish % package require msgcat couldn't read file "/Library/Frameworks/Tcl.framework/Versions/8.7/Resources/Scripts/msgcat/msgcat.tcl": no such file or directory If you look for msgcat you find a .tm file: $ find /Library/Frameworks/Tcl.framework/Versions/8.7 -name 'msgcat*' /Library/Frameworks/Tcl.framework/Versions/8.7/Resources/tcl8/8.7/msgcat-1.7.0.tm So, yes, it is being installed as a TM, whatever that is, but Tcl 8.7 does not seem to know how to load a TM. You can make the error go away by doing this: $ sudo mkdir /Library/Frameworks/Tcl.framework/Versions/8.7/Resources/Scripts/msgcat $ sudo cp /Library/Frameworks/Tcl.framework/Versions/8.7/Resources/tcl8/8.7/msgcat-1.7.0.tm /Library/Frameworks/Tcl.framework/Versions/8.7/Resources/Scripts/msgcat/msgcat.tcl Then Wish is able to load the package: $ Wish % package require msgcat 1.7.0
- login: "anonymous"
- mimetype: "text/plain"
- username: "Marc Culler"