All I wanted was to use notmuch on my MBP to manage email, just like I do on my Mac Mini. The only viable solution I found was muchsync. There’s no macOS installer for it1, so I figured I’d compile it myself.Â
A few years ago I promised myself that if something required ./configure && make && make install
 I would skip it. Well, I really wanted to try it, so off I went. The make
 command failed immediately because it couldn’t find notmuch.h. Great, path problems. After an hour of throwing things at the wall, adding some environment variables worked: