Re: Git and gettext

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

 



On Tue, Aug 06, 2024 at 04:52:39AM -0500, Kim Scarborough wrote:

> On 8/4/24 7:53 PM, Jeff King wrote:
> > If we don't have msgfmt, I think git-gui invokes a custom script via
> > tclsh. If you also don't have that, it will fail. Running with "make
> > V=1" makes this more obvious, since it shows the fallback command name
> > instead of "MSGFMT".
> > 
> > If you don't need git-gui at all, the simplest thing is to just run
> > "make NO_GETTEXT=1 NO_TCLTK=1". That's what I do, and I have neither
> > msgfmt nor gettext on my system.
> 
> That did it. Thanks!
> 
> Would it be possible to modify the configure script so that it checks for
> this stuff?

Probably. It looks like the configure script knows about both gettext
and tcl paths, but running "autoconf && ./configure" on my machine
doesn't disable either.

Looks like the NO_GETTEXT test is checking to compile against libintl.
Which I do have (it comes with glibc), but I don't have the other tools.

For tcl, you can say "--without-tcltk" manually. But if you don't, it
just assumes "wish" is present without checking.

So I'd imagine that both tests could be made more robust. I don't use
autoconf myself (in the Git project, it is an optional layer that sits
on top of the Makefile knobs), so I'll leave that to somebody more
motivated (and hopefully more familiar with the usual autoconf solutions
to these kinds of things).

-Peff




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux