Web lists-archives.com

Re: How to disable docs when building Git from sources




On Mon, Mar 25, 2019 at 3:14 AM Johannes Sixt <j6t@xxxxxxxx> wrote:
>
> Am 25.03.19 um 07:40 schrieb Jeffrey Walton:
> > I'm working on a low-resource dev-board. It is missing a lot of
> > utilities to save space. I'm building Git 2.20 from sources. Make is
> > failing due to '/bin/sh: 1: msgfmt: not found'. I don't cross-compile
> > because that's a bigger pain in the ass than waiting for the native
> > build to finish.
> >
> > I ran './configure --help' but I don't see a way to disable the docs.
> > In the past I tired --disable-docs but it had no effect.
> >
> > How do I disable the docs?
>
> These are message translations, not documentation. To disable them, set
>
> NO_GETTEXT=Yes
>
> in your config.mak.

Thanks Hannes.

I used 'make -j 4 NO_GETTEXT=Yes' and I think that fixed the command
line components. Or at least I did not see the error where I was
previously seeing it.

I am seeing a similar issue now for the GUI components (assuming
po2msg.sh is doing similar):

make -C git-gui  gitexecdir='/usr/local/libexec/git-core' all
make[1]: Entering directory '/home/jwalton/Build-Scripts/git-2.21.0/git-gui'
GITGUI_VERSION = 0.21.GITGUI
    * new locations or Tcl/Tk interpreter
tclsh po/po2msg.sh --statistics --tcl -l hu -d po/ po/hu.po
tclsh po/po2msg.sh --statistics --tcl -l pt_pt -d po/ po/pt_pt.po
make[1]: tclsh: Command not found
make[1]: tclsh: Command not found
tclsh po/po2msg.sh --statistics --tcl -l ja -d po/ po/ja.po
Makefile:252: recipe for target 'po/hu.msg' failed
make[1]: tclsh: Command not found
make[1]: *** [po/hu.msg] Error 127
make[1]: *** Waiting for unfinished jobs....
Makefile:252: recipe for target 'po/pt_pt.msg' failed
make[1]: *** [po/pt_pt.msg] Error 127
Makefile:252: recipe for target 'po/ja.msg' failed
make[1]: *** [po/ja.msg] Error 127
make[1]: Leaving directory '/home/jwalton/Build-Scripts/git-2.21.0/git-gui'
Makefile:2037: recipe for target 'all' failed
make: *** [all] Error 2

Jeff