Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gejUr-0007XG-CS for pgsql-hackers@arkaria.postgresql.org; Wed, 02 Jan 2019 16:35:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gejUp-0002bM-Sg for pgsql-hackers@arkaria.postgresql.org; Wed, 02 Jan 2019 16:35:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gejUp-0002bF-LX for pgsql-hackers@lists.postgresql.org; Wed, 02 Jan 2019 16:35:55 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gejUj-00005H-EL for pgsql-hackers@lists.postgresql.org; Wed, 02 Jan 2019 16:35:55 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x02GZkVt004274; Wed, 2 Jan 2019 11:35:46 -0500 From: Tom Lane To: Peter Eisentraut cc: Nikolay Shaplov , pgsql-hackers@lists.postgresql.org, Michael Paquier Subject: Re: [PATCH] check for ctags utility in make_ctags In-reply-to: References: <2394207.ccz7JgCJsh@x200m> <3041301.tun4ao7M3a@x200m> <20190101022411.GC3243@paquier.xyz> <2372584.plvHIL0NPR@x200m> Comments: In-reply-to Peter Eisentraut message dated "Wed, 02 Jan 2019 15:03:19 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4272.1546446946.1@sss.pgh.pa.us> Date: Wed, 02 Jan 2019 11:35:46 -0500 Message-ID: <4273.1546446946@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Peter Eisentraut writes: > On 01/01/2019 17:44, Nikolay Shaplov wrote: >> +if [ ! $(command -v ctags) ] >> +then >> + echo "'ctags' utility is not found" 1>&2 >> + echo "Please install 'ctags' to run make_ctags" 1>&2 >> + exit 1 >> +fi > This assumes that the ctags and etags programs are part of packages of > the same name. I don't think that is always the case. In fact, that's demonstrably not so: on my RHEL6 and Fedora boxes, /usr/bin/etags isn't owned by any package, because it's a symlink managed by the "alternatives" system. It points to /usr/bin/etags.emacs which is owned by the emacs-common package. So dropping the advice about how to fix the problem seems like a good plan. regards, tom lane