Open ryandesign opened 1 year ago
Use Ragel 6.10 (which is "stable"). Ragel 7 is still in "development".
Thanks, I can confirm that it does build with ragel 6.10. I reported the problem with ragel 7.0.4 to its developer.
MacPorts had updated its ragel port to version 7 years ago, which should not have happened since it was a development version. I've now downgraded MacPorts ragel back to version 6.10 and added a new ragel-devel port for those who want to work with version 7.
I have installed ragel 7.0.4 and building mpw fails:
The crash log says:
The MacPorts project encountered a similar error building a different program that used ragel:
https://github.com/macports/macports-ports/blob/8064da0ce1b0e7f8562fafc2616c8b7823c37298/editors/textmate2/files/patch-Frameworks_plist_src_ascii.rl-work-around-ragel7-bugs.diff
The MacPorts developer who fixed it believed this was a ragel 7 bug, but I don't know if that's true or if it has been reported to the developer of ragel.
I'm not familiar with ragel and am not certain how to adapt the fix from the MacPorts patchfile to the mpw environment.rl file.
The mpw readme mentions the ragel requirement but does not give a specific version number.