Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14137

Re: readline-8.0-alpha: Makefile.in: don't forget to create pkgconfigdir

Path csiph.com!goblin3!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Eric Blake <eblake@redhat.com>
Newsgroups gnu.bash.bug
Subject Re: readline-8.0-alpha: Makefile.in: don't forget to create pkgconfigdir
Date Thu, 24 May 2018 13:29:06 -0500
Organization Red Hat, Inc.
Lines 25
Approved bug-bash@gnu.org
Message-ID <mailman.410.1527186553.1292.bug-bash@gnu.org> (permalink)
References <16564.1527176471@dschgrazlin2.units.it> <7c5911be-9375-a8ea-7ece-a2886e17e168@case.edu>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace usenet.stanford.edu 1527186553 1425 208.118.235.17 (24 May 2018 18:29:13 GMT)
X-Complaints-To action@cs.stanford.edu
To chet.ramey@case.edu, gabriele balducci <balducci@dschgrazlin2.units.it>, bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
In-Reply-To <7c5911be-9375-a8ea-7ece-a2886e17e168@case.edu>
Content-Language en-US
X-Scanned-By MIMEDefang 2.78 on 10.11.54.6
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Thu, 24 May 2018 18:29:07 +0000 (UTC)
X-Greylist inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Thu, 24 May 2018 18:29:07 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'eblake@redhat.com' RCPT:''
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy]
X-Received-From 66.187.233.73
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash/>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:14137

Show key headers only | View raw


On 05/24/2018 01:18 PM, Chet Ramey wrote:
> On 5/24/18 11:40 AM, gabriele balducci wrote:
>> hi
>>
>> just tried to build/install readline-8.0-alpha and found the following
>> glitch:
> 
> Thanks for the report. I think a better fix is to not to attempt to
> install readline.pc if $(pkgconfigdir) is missing.

Why not? If you are doing an install into DESTDIR for the purpose of 
bundling a pre-built binary for a distro, then $(pkgconfigdir) will be 
missing, because the ONLY things living in DESTDIR are what the package 
itself installs.  When DESTDIR is empty, you're right that either 
$(pkgconfigdir) is likely to already exist, or that the user is not 
using pkg-config; but even that's a risky assumption (when bootstrapping 
a system, readline might be installed prior to pkg-config, and we 
shouldn't require the user to run 'make install' a second time just to 
install the pieces that weren't installed the first time).

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: readline-8.0-alpha: Makefile.in: don't forget to create pkgconfigdir Eric Blake <eblake@redhat.com> - 2018-05-24 13:29 -0500

csiph-web