pkg-config version confusion

William Pitcock nenolod at dereferenced.org
Fri Jan 5 17:53:45 UTC 2018


Hello,

On Thu, Jan 4, 2018 at 12:27 AM, Jeffrey Walton <noloader at gmail.com> wrote:
> Hi Everyone,
>
> I'm trying to track down an issue when AC_MSG_ERROR goes missing after
> updating M4, Autoconf, Automake and Libtool. Stack Overflow says to
> update Pkg-Config next (https://stackoverflow.com/q/8811381/608639).

AC_MSG_ERROR macro is part of Autoconf itself.  There is no need to
touch pkg-config.

Most likely what is wrong is that you're missing some other macro, and
therefore M4 doesn't get around to including AC_MSG_ERROR macro.

I would check that all development packages required to build the
software you're trying to build are installed.  That typically
resolves the AC_MSG_ERROR issue.

> When I check my Fedora 26 x86_64 machine:
>
>     $ command -v pkg-config
>     /bin/pkg-config
>     $ pkg-config --version
>     1.3.12
>
> But when I check the pkg-config download at
> https://pkgconfig.freedesktop.org/releases are it says the latest
> version is 0.29.2 from MARCH 2017.
>
> Does anyone know what is going on with the version information? Is
> 1.3.12 newer or older than 0.29.2?

This is pkgconf 1.3.12 (my implementation).  Some distributions use it
now because they can take advantage of libpkgconf in various build
tools, etc.

1.3 is the latest release of pkgconf 1.3 series, there is also a 1.4
series that recently went into Fedora rawhide.

William


More information about the pkg-config mailing list