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


Groups > gnu.bash.bug > #14139

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

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: readline-8.0-alpha: Makefile.in: don't forget to create pkgconfigdir
Date 2018-05-24 14:46 -0400
Message-ID <mailman.412.1527187598.1292.bug-bash@gnu.org> (permalink)
References <16564.1527176471@dschgrazlin2.units.it> <7c5911be-9375-a8ea-7ece-a2886e17e168@case.edu> <c12abdd4-d10c-88dd-e6fe-73cfa943ee07@redhat.com>

Show all headers | View raw


On 5/24/18 2:29 PM, Eric Blake wrote:
> 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).

Good point about $(DESTDIR). I don't quite buy the bootstrapping argument.
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

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 Chet Ramey <chet.ramey@case.edu> - 2018-05-24 14:46 -0400

csiph-web