Bug 71572

Summary: Build fails due to missing include path to <drm.h>
Product: Wayland Reporter: Enrico Scholz <enrico.scholz>
Component: westonAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: 1.3.0   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Enrico Scholz 2013-11-13 12:01:53 UTC
| In file included from launcher-util.c:44:0:
| /srv/projects/.../usr/include/xf86drm.h:40:17: fatal error: drm.h: No such file or directory
|  #include <drm.h>
| compilation terminated.
| make[4]: *** [fbdev_backend_la-launcher-util.lo] Error 1


The searchpath which is necessary to include <drm.h> is in
DRM_COMPOSITOR_CFLAGS and in SETBACKLIGHT_CFLAGS.  None of them is used to build fbdev_backend
Comment 1 Kristian Høgsberg 2013-11-25 04:02:48 UTC
Should be fixed in

commit d2c9d8af50351bd2e1385cfa056eda44f06d19c5
Author: Kristian Høgsberg <krh@bitplanet.net>
Date:   Sun Nov 24 14:37:07 2013 -0800

    configure.ac: Make libdrm optional in weston-launch
    
    If libdrm is available, weston-launch and launcer-util.c will support
    getting the drm device and setting and dropping drm master, otherwise
    we'll only support getting input devices.

on weston master.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.