groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compile error with the current groff git head


From: Bjarni Ingi Gislason
Subject: Re: Compile error with the current groff git head
Date: Fri, 4 Dec 2020 22:35:33 +0000
User-agent: Mutt/1.5.20 (2009-12-10)

On Fri, Dec 04, 2020 at 12:44:56PM -0500, T. Kurt Bond wrote:
> When I try to compile groff on macOS Catalina with the compiler tools
> installed by Xcode 12.2 (12B4b) and commit
> 534680662889eb74dac3e100bcadf97e5962f027 I get the following error:
> 
>   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."
>   ^
> ./lib/math.h:40:1: error: unknown type name '_GL_INLINE_HEADER_BEGIN'
> _GL_INLINE_HEADER_BEGIN
> ^
[...] 
> Does anybody have any idea what is going on here?  This also fails on an
> older checkout of the groff git repository that I have compiled in the
> past, so I speculate it is a problem with something on the Mac, rather than
> with groff.  A google search did not come up with any answers.
> -- 
> T. Kurt Bond, tkurtbond@gmail.com, https://tkurtbond.github.io

  My first thought was, that this is a "gnulib" issue,
your copies are too old.

  So you should update your copies,
I use a script named "bootstrap.loc":

#!/bin/sh

./bootstrap --no-git --skip-po --gnulib-srcdir=$GNULIB_SRCDIR \
--bootstrap-sync 2>&1 | tee bootstrap.output

  I have a local copy of the gnulib repository, if not,
the options have to be adjusted.

-- 
Bjarni I. Gislason



reply via email to

[Prev in Thread] Current Thread [Next in Thread]