Re: Git and gettext
- From
brian m. carlson <sandals@crustytoothpaste.net>
- Date
- Aug 3, 2024, 17:34 UTC
- Message-ID
- <Zq5qNwmTpL1H5LH0@tapette.crustytoothpaste.net>
- In-Reply-To
- <7d507ea2-08e1-4597-bff8-8a2b40a01747@scarborough.kim>
On 2024-08-03 at 17:24:43, Kim Scarborough wrote:
Show 7 quoted lines
> > I believe you can use NO_GETTEXT=1 and NO_MSGFMT=1 (both must be set) to > > remove the need for gettext and msgfmt. The latter can be omitted if > > you're not building git-gui. You can see other configuration options at > > the top of the Makefile. > > I tried setting both but it still errors out. A little later in the build, > though.
Hmm, I can't remove msgfmt from my system, but if I put a `msgfmt` script in `$TMP/path` that contains just a shebang and `exit 1` and do this, the build succeeds:
--- PATH="$TMP/path:$PATH" make -j12 NO_GETTEXT=1 NO_MSGFMT=1 ---
Note that `config.mak` is not read by git-gui, so you do really have to set `NO_MSGFMT=1` on the command line.
Can you show exactly the commands you're running and exactly the output you're getting? Also, what OS and version are you running this on?
-- brian m. carlson (they/them or he/him) Toronto, Ontario, CA