On 23-May-2021, at 01:09, Philippe Blain <levraiphilippeblain@xxxxxxxxx> wrote: > > Hi Atharva, > > Le 2021-05-22 à 12:42, Atharva Raykar a écrit : >> Hi all, >> As is tradition, I have started my weekly GSoC blog :) >> Here is week 1: https://atharvaraykar.me/gitnotes/week1 >> > > I enjoyed reading your first post. About gettext, note that > if you do not want to hardcode a specific version of gettext > in your LDFLAGS/CFLAGS, you could use '/usr/local/opt/gettext/{include,lib}', > or rather, the equivalent for M1 Macs, which I guess would be > '/opt/homebrew/opt/gettext' ? Can't test as I'm on Intel... Thanks for pointing this out. This worked as well on my M1 Mac. As Bagas suggested in this thread, using '/opt/homebrew/{include,lib}' also works, as homebrew symlinks the actual location to that directory. I'll update my blog entry. > On a second note, for your information > the 'configure' build approach is not as well maintained as > the Makefile-only approach, so it's good to make it work with the plain Makefile. Noted. I realised the real blooper for me that snowballed into my janky fix was looking at resources on building Git in all sorts of places online, while not noticing the fact that there was a pretty clear INSTALL file in the source all along (: > Cheers and good luck for your internship, Thanks! > Philippe. >