Hi Stepan,
On Wed, 26 Apr 2017, Stepan Kasal wrote:
> [Sorry that I repeated my question on the main Git list; it looked like
> google groups list manager have not received my message for 24 hours.]
Yes, that list manager is also me. These days, I frequently get to read
new emails only toward the end of the day, addressing older mails before
that.
> On Tuesday, 25 April 2017 23:12:55 UTC+2, Johannes Schindelin wrote:
> > I think you need to call `pacman -Sy mingw-w64-x86_64-libiconv` to fix
> > this. Git itself is a MINGW program, hence it requires mingw-w64-*
> > dependencies (the libiconv you installed is an MSYS2 one, i.e. linking
> > to the MSYS2 runtime for transparent POSIX emulation).
>
> That package was ok, so the pacman command did not help.
>
> But the rest of the explanation has inspired me to guess the solution:
> I used "msys2.exe" to get my shell window.
> It is important to start "git-bash.exe" instead.
Yes, msys2.exe is the wrong thing to start. If anything, you would want to
start mingw64.exe.
> > Nobody found the time yet to update the home page, but we do have a more
> > convenient way to install the SDK now:
> >
> > git clone
https://github.com/git-for-windows/git-sdk-64
>
> Actually, my instance of git-sdk-64 was created very conveniently:
> IIRC, I just ran the SDK installer linked from the bottom of the home page.
Yes, but it takes ages to initialize, and it hammers MSYS2's repository,
which is sometimes down.
> Yet I decided to try this new method, but I'm lost.
> In my previous git-sdk, the installer created 4 git clones under /usr/src.
> How shall I get them?
Manually :-P
Seriously again, this is part of the problems that need to be addressed
before the home page can be changed. Help would be very welcome.
> And is that all that is needed to get the SDK to a state equivalent to
> the full setup provided by the installer?
I guess it would make sense to have some code in /etc/profile.d/git-sdk.sh
to test whether any of the
/usr/src/{MINGW-packages,MSYS2-packages,build-extra,git} directories needs
to be initialized.
The code to be patched lives here:
https://github.com/git-for-windows/build-extra/blob/master/git-extra/git-sdk.sh
A Pull Request to fix this would be really nice.
Ciao,
Johannes