From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS53758 23.128.96.0/24 X-Spam-Status: No, score=-1.7 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RCVD_IN_DNSWL_HI,RCVD_IN_SORBS_WEB,SPF_HELO_PASS,SPF_PASS,URIBL_SBL, URIBL_SBL_A shortcircuit=no autolearn=no autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id 758C11F5AE for ; Sun, 23 May 2021 08:11:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231636AbhEWIMc (ORCPT ); Sun, 23 May 2021 04:12:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231599AbhEWIMa (ORCPT ); Sun, 23 May 2021 04:12:30 -0400 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55B95C061574 for ; Sun, 23 May 2021 01:11:04 -0700 (PDT) Received: by mail-pl1-x62b.google.com with SMTP id 69so13095163plc.5 for ; Sun, 23 May 2021 01:11:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=lwVEYdtu88y6qqKnYErzxxXorpXskoyUZjj57zVQFvY=; b=pVhD52BMILMg6RM+DkRNQDNpGREpMXyC2m+8aRx7/6UqnqhefnBNY+tWC0RUQS3kKn tmsDrZJT0ax5rWri2qt99Z4arPDNZq54RhgFp8nzs9UYdrTQEs6DbxgogsERpTX6dUeC jKuqHhbMG5OktgExh+1XRisbebB4a+BYZkGb4MbG1lpmJZXaezOCCzHws/2ySUfPj7+d guQZEX5okHv4jZWvQA1x2eeYj86FJ2ZBOvaXHd0QkyxIyHK2DvFNGIt3pWKpekiJjtW0 PmIOVRdZJ2zRqd4LFWzprlhuj6Vmg+F0q56gBfD3HRM//7Lv1UfBUugfsg8OC/X7AV/N p5tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=lwVEYdtu88y6qqKnYErzxxXorpXskoyUZjj57zVQFvY=; b=ftvH6xNqulk9R4oz0K+KoyRlt3GeD1oIdrL/Kw+VfUt2r6if/eCxX4M0vwinKfExhn CX62db35H5WsC4VpvNRY7MR+NKBQBX3i1PrEiGHVVW61dmcA/1U8GGWG916bOzSCpb1T WdU6+7agZPychrRr+a05ekpxM/avC5aES7GTq+eeJvMmM5ah647ZEyCFVoQF0IXYjAQI F1sswF7jn4ra9BnTyA2r+967ZmKrHRp2DQAIBXvVwEk69rVy5QqJaKtm2iTwnOD3Q5xp IVLY1qQhTP0WR94LPG6jMrffSWtfBRRE/iX9UxxN4JncsE8jCeYwzwcZhtM0Z/2V+C52 ai/Q== X-Gm-Message-State: AOAM533k943glNicduy+sSwr/K4QatG0YJULrQ2MNFEkKFfXxGXolbe7 6cYP57i2MrMgL9PDhkk4e/4= X-Google-Smtp-Source: ABdhPJwTv512xqTNX9/pvkYDd5XzOAtn3+8R9nGGGKXeL/HfGIa1UszcorIcFt5koXnH23ioaHe20Q== X-Received: by 2002:a17:902:c3cd:b029:f1:57d0:4de5 with SMTP id j13-20020a170902c3cdb02900f157d04de5mr20050460plj.53.1621757463846; Sun, 23 May 2021 01:11:03 -0700 (PDT) Received: from [192.168.43.80] (subs32-116-206-28-20.three.co.id. [116.206.28.20]) by smtp.gmail.com with ESMTPSA id y76sm6403421pfb.74.2021.05.23.01.11.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 23 May 2021 01:11:03 -0700 (PDT) Subject: Re: [GSoC] My Git Dev Blog To: Atharva Raykar , git Cc: Christian Couder , Shourya Shukla References: <35493133-2504-4CAE-B700-79EAB990DD17@gmail.com> From: Bagas Sanjaya Message-ID: Date: Sun, 23 May 2021 15:10:57 +0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: <35493133-2504-4CAE-B700-79EAB990DD17@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Hi Atharva, On 22/05/21 23.42, Atharva Raykar wrote: > Hi all, > > As is tradition, I have started my weekly GSoC blog :) > > Here is week 1: https://atharvaraykar.me/gitnotes/week1 > > I shall be sharing my progress, thoughts, experiences and any > information that might help future contributors in my blog. > > After my GSoC period, I hope to convert it into a blog that > will help pull in and guide new contributors to Git development. > > Any kind of feedback will be appreciated! > You said on your blog that you switched your development environment from Linux (what the distro you used previously?) to macOS. Why did you make the switch? Next, you mentioned that you set up emacs config for Git developers (ones that contribute code to git.git). Since I use (r)vim instead of emacs as my editor, what are similar configs for vim? And finally, you said that you had to deal with "header not found" errors. I asked these questions: 1. You mentioned that in order to link against gettext on non-standard path, you did: > ./configure "LDFLAGS=$LDFLAGS -L/opt/homebrew/Cellar/gettext/0.21/lib" \ > "CFLAGS=-I/opt/homebrew/Cellar/gettext/0.21/include" Why did you use full path to gettext? I suspect that you can instead use `LDFLAGS= $LDFLAGS -L/opt/homebrew/lib \ CFLAGS=-I/opt/homebrew/include`, because when you install a library using homebrew, it will symlink the library location from homebrew standard hierarchy (/opt/homebrew/{lib,include}) to actual location (/opt/homebrew////{lib,include}). 2. Can these procedure above for linking Git against libraries at non-standard locations (such as /opt) be applicable also to Linux systems? Try to adapt that procedure on your Linux system (if available), with custom-compiled newer version of any of Git dependencies (such as gettext). Thanks. -- An old man doll... just what I always wanted! - Clara