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


Groups > gnu.bash.bug > #14137 > unrolled thread

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

Started byEric Blake <eblake@redhat.com>
First post2018-05-24 13:29 -0500
Last post2018-05-24 13:29 -0500
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromEric Blake <eblake@redhat.com>
Date2018-05-24 13:29 -0500
SubjectRe: readline-8.0-alpha: Makefile.in: don't forget to create pkgconfigdir
Message-ID<mailman.410.1527186553.1292.bug-bash@gnu.org>
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

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web