Hi Bruno,

At 2026-07-31T22:55:29+0200, Bruno Haible via discussion of the GNU roff 
typesetting system and related software wrote:
> Trying to build groff from the git repository:
> 
> $ git pull
> $ ./bootstrap --no-git --gnulib-srcdir=$GNULIB_SRCDIR
> $ ./configure
> $ make
> ...
>   GEN      lib/wchar.h
>   GEN      lib/wctype.h
>   GEN      doc/groff.html
> groff.texi:12253: warning: @image file `line-layout' (for HTML) not found, 
> using `line-layout.png'
> groff.texi:26753: warning: @image file `gnu' (for HTML) not found, using 
> `gnu.png'
> cp: cannot stat './doc/gnu.png': No such file or directory
> cp: cannot stat './doc/line-layout.png': No such file or directory
> make: *** [Makefile:20050: doc/groff.html] Error 1
> 
> If I need to use either "make -k" or "./configure
> --enable-maintainer-mode", there's something wrong with the build
> system. (I am not a maintainer of groff.)

We've documented that you _do_ need to `--enable-maintainer-mode` to
build groff from Git.

$ sed -n '79,98p' INSTALL.REPO
Building
--------

You can now run the "configure" script.  It produces the "config.status"
script, which generates the Makefile.  Then run "make" to build the
groff project.  You can perform these actions from the source tree.

    $ ./configure --enable-maintainer-mode
    $ make # run with -j option if desired

You can alternatively build groff outside of its source tree, which is
cleaner, leaving fewer files to confuse "git status" if you aim to
undertake development.

    $ mkdir build
    $ cd build
    $ ../configure --enable-maintainer-mode
    $ make # run with -j option if desired

A separate build tree need not be a subdirectory of the source.

Attachment: signature.asc
Description: PGP signature

  • ... Bruno Haible via discussion of the GNU roff typesetting system and related software
    • ... G. Branden Robinson
      • ... Bruno Haible via discussion of the GNU roff typesetting system and related software
        • ... G. Branden Robinson
          • ... Bruno Haible via discussion of the GNU roff typesetting system and related software

Reply via email to