When compiling groff from git I always start by running bootstrap. I still have the same problem.
To repeat more concisely, here's the first error from the build: CXX src/libs/libgroff/libgroff_a-curtime.o In file included from ../src/libs/libgroff/curtime.cpp:20: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdlib.h:100: ./lib/math.h:38:3: error: "Please include config.h first." #error "Please include config.h first." Why is a system include file (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/stdlib.h) including groff's lib/math.h? The next few errors appear to be lib/math.h complaining about things that aren't defined because config.h hasn't been included. On Tue, Feb 9, 2021 at 8:31 PM Bjarni Ingi Gislason <bjarn...@rhi.hi.is> wrote: > The gnulib's version is probably out of date. > > Read "INSTALL.REPO" and run groff's "bootstrap" to update "gnulib". > > -- > Bjarni I. Gislason > -- T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io