[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PKG-Config not enabled.
From: |
Pascal |
Subject: |
Re: PKG-Config not enabled. |
Date: |
Sat, 9 Oct 2021 09:43:23 +0200 |
> Le 3 oct. 2021 à 22:25, Thomas Dickey <dickey@his.com> a écrit :
>
> On Sun, Oct 03, 2021 at 07:09:32PM +0200, Pascal wrote:
>> Hello,
>>
>> When configuring ncurses, I got:
>> ...
>> ** Configuration summary for NCURSES 6.2 20210925:
>> ...
>> pkg-config directory: no
>>
>> The last line seems to indicate that pkg-config is not enabled.
>
> not exactly: it indicates that the configure script was not able to
> find the library-directory for pkg-config. ncurses' configure script
> looks for this information so that it knows where to install ".pc" files.
>
> (One of the design defects of pkg-config is that it's missing options for
> querying the tool for _its_ default configuration, which is aggravated by
> packagers putting it into interesting places).
>
> The configure script attempts to find that in CF_WITH_PKG_CONFIG_LIBDIR,
> but that may fail.
Thanks Thomas,
it's ok now.
FYI, on my configuration, ncurses pc files are created in
$prefix/share/pkgconfig.
One might expected in $prefix/lib/pkgconfig.
Regards, Pascal.
https://blady.pagesperso-orange.fr