Hi,
Sorry if this has already been answered already but is there a prebuilt dialog compiler for MacOS?
Thanks,
rh
Hi,
Sorry if this has already been answered already but is there a prebuilt dialog compiler for MacOS?
Thanks,
rh
I believe there will be, on the community-maintained version, once we actually get all the pull requests reviewed to make a full release. We make sure to test on Windows, Mac, and Linux, so we should have builds for all three.
Unfortunately, we’re still waiting on that. (I’m currently hoping for “before the end of 2025”.) And Linus didn’t provide Mac builds for his versions, because he didn’t have a Mac to test on.
For now, I’m afraid you’ll have to build from source. Sorry about that!
no problems! looking forward to the full release. ![]()
Compiling on Mac Sequoia from the latest in main, I get
... diff --ignore-trailing-space man_1a.z.out man_1a.z.gold diff: unrecognized option `--ignore-trailing-space' usage: diff [-aBbdilpTtw] [-c | -e | -f | -n | -q | -u] [--ignore-case] [--no-ignore-case] [--normal] [--strip-trailing-cr] [--tabsize] [-I pattern] [-F pattern] [-L label] file1 file2 ... make[2]: *** [man_1a.test] Error 2 rm man_1a.z.gold man_1a.z5 man_1a.debug man_1a.z.in man_1a.d.out man_1a.z.out make[1]: *** [language] Error 2 make: *** [test] Error 2 rm src/dialogc
…which I take to be during the build of the man pages. The default builtin version of diff on Sequoia doesn’t seem to have –ignore-trailing-spaces, which makes the build fail.
I could try to fix it and submit a PR, but I don’t have any other systems to verify that my fix doesn’t break things for everyone else.
Ugh, that’s annoying! I had hoped all recent versions of diff would support that option. I guess the best alternative is to run everything through a sed script to get rid of trailing spaces and newlines first, but I’m not great at working with those.
(If you have an idea, though, PRs are welcome! The Windows and Linux builds will automatically be tested on the dev server every time someone makes a PR against the main branch, and it’s fine to do that for testing.)
For just building the compiler, though, it doesn’t matter—that’s only used when running the automated tests. If you go to the src folder and make dialogc and make dgdebug, that will get you the compiler and debugger without calling diff at all.