[PATCH wayland-web] Added depencies and bug fixes to build instructions

Thierry Reding thierry.reding at gmail.com
Wed May 21 14:16:02 PDT 2014


On Tue, May 20, 2014 at 01:12:32PM -0700, Bill Spitzak wrote:
[...]
> The biggest hint would be to print something with the word "pkg-config" in
> it. Then I would have the secret password that would lead me to a man page
> that would tell me what is going on.
> 
> Please print the package name the error was in (ie the name of the pc file).

If a package wasn't found at least the PKG_CHECK_MODULES autoconf macro
will mention which package(s) it couldn't find.

> The actual git repository name would help too.
> 
> pkg-config has an awful lot of bugs and gnu-isms, fixing them would help:
> 
> 1. If I type "pkg-config --verision foo" I want the version of foo. Or an
> error message. Don't print the pkg-config version. Holy crap.

While I agree with the other points, I think it's perfectly consistent
for --version to output the version of pkg-config itself. There's
--modversion if you want to query the version of a given package.

> 2. Add an option to print where it found the .pc file! Right now I have to
> run --debug and pick it out of the output.
> 
> 3. Fix the stupid "add the directory containing 'foo.pc' to PKG_CONFIG_PATH"
> error message. That is *NEVER* what is wrong. A better one is "foo.pc not
> found in any of ~/install/lib/pkgconfig, ..."
> 
> 4. Make -h print the same thing as --help.

For me the output of -h is actually the same as the output of --help.
That's pkg-config 0.28.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20140521/6784e851/attachment.sig>


More information about the wayland-devel mailing list