Merge: pkgconfig annotation: improve error on missing dev package
authorJean Privat <jean@pryen.org>
Wed, 2 Nov 2016 12:28:45 +0000 (08:28 -0400)
committerJean Privat <jean@pryen.org>
Wed, 2 Nov 2016 12:28:45 +0000 (08:28 -0400)
commit559e0796ce19327649869105229d2724112425d3
tree6e611651c41a5a537b5de5b4477c195dbd248447
parent7dbf5c9049ce856337bc5ccaf180226611138fd2
parent5c51172cb08331dba664cd14aa01db064dde7acd
Merge: pkgconfig annotation: improve error on missing dev package

This is an attempt to improve the error message on a missing development package. The current error stumps everyone on the first occurrence. The new version puts an emphasis on three things:
- it needs the _dev_ package,
- a possible solution by mentioning apt-get and brew,  and
- that it may be a problem with pkg-config itself.

I chose to mention apt-get and brew as I consider that they are the best known package manager on Linux and macOS..

Pull-Request: #2325
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Jean-Christophe Beaupré <jcbrinfo.public@gmail.com>