[Wayland-bugs] [Bug 67757] New: [PATCH] wayland-scanner.m4: Warn when wayland-scanner.pc not found

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 4 15:54:22 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=67757

          Priority: medium
            Bug ID: 67757
          Assignee: wayland-bugs at lists.freedesktop.org
           Summary: [PATCH] wayland-scanner.m4: Warn when
                    wayland-scanner.pc not found
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: dlitz at dlitz.net
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: wayland
           Product: Wayland

Created attachment 83631
  --> https://bugs.freedesktop.org/attachment.cgi?id=83631&action=edit
patch

I got this mysterious build error when I tried to build Weston (from the
git repo) for the first time:

    make[2]: *** No rule to make target `screenshooter-server-protocol.h',
needed by `all'.  Stop.

The problem was that I had a typo in my $PKG_CONFIG_PATH, which caused
the rules for generating %-server-protocol.h to be omitted from Weston's
Makefile (since pkg-config couldn't the configure script where to look
for wayland-scanner.m4).

With this commit, we emit a warning from the configure script when
wayland-scanner.pc can't be found, so that the above error (if it
occurs) will seem less cryptic.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20130804/f55adfd6/attachment.html>


More information about the Wayland-bugs mailing list