Re: [PATCH] Makefile: check that tcl/tk is installed
From: Ramsay Jones <hidden>
Date: 2017-11-26 17:43:38
On 26/11/17 14:00, Christian Couder wrote:
On Sun, Nov 26, 2017 at 4:53 AM, Junio C Hamano [off-list ref] wrote:quoted
Christian Couder [off-list ref] writes:quoted
On Mon, Nov 20, 2017 at 6:15 PM, Christian Couder [off-list ref] wrote:quoted
By default running `make install` in the root directory of the project will set TCLTK_PATH to `wish` and then go into the "git-gui" and "gitk-git" sub-directories to build and install these 2 sub-projects.Has this patch fallen through the cracks or is there an unresolved issue?I had an impression that the conclusion was that the existing error message at runtime already does an adequate job and there is no issue to be addressed by this patch. Am I mistaken?This patch is mostly about what happens at the build step. Its goal is not much to improve what happens at runtime, though that is improved a bit too. If the build step was good enough, then I would agree that what happens at run time is adequate. Let's consider only people installing git using "make install" to use it on their machine, as I think I already discussed the case of packagers and added the BYPASS_TCLTK_CHECK variable for them.
I haven't been following this thread too closely, but I have the feeling that the best course of action is to simply not fall back to using a tcl version of msgfmt in the first place!. ;-) If a given platform does not have gettext/msgfmt, then you just don't get an i18n-ed version of git. (no need for BYPASS_ ...). Am I missing something? ATB, Ramsay Jones