http://bugs.freedesktop.org/show_bug.cgi?id=18161

           Summary: mesa-7.2: src/mesa/gl.pc.in lacks a 'Requires: libdrm'
           Product: Mesa
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa3d-dev@lists.sourceforge.net
        ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=19794)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=19794)
Patch

With xorg-server 7.2, the build with fail if you configure using
--disable-dri.:

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include
-I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus
-I../hw/xfree86/common -I../hw/xfree86/dri -I../hw/xfree86/dri2 -I../mi
-DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
-I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/dbus-1.0
-I/usr/lib64/dbus-1.0/include -I../include -I../include -I../Xext
-I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow
-I../miext/damage -I../render -I../randr -I../fb -DXFree86Server
-D__GLX_ALIGN64 -march=core2 -pipe -O2 -ggdb -D__INGMAR_CFLAGS__ -g -MT
glxdricommon.lo -MD -MP -MF .deps/glxdricommon.Tpo -c glxdricommon.c  -fPIC
-DPIC -o .libs/glxdricommon.o                                                   
In file included from glxdriswrast.c:39:                                        
/usr/include/GL/internal/dri_interface.h:45:17: error: drm.h: No such file or
directory                                                                       
In file included from glxdriswrast.c:39:                                        
/usr/include/GL/internal/dri_interface.h:285: error: expected declaration
specifiers or '...' before 'drm_clip_rect_t'                                    
/usr/include/GL/internal/dri_interface.h:287: error: expected declaration
specifiers or '...' before 'drm_clip_rect_t'                                    
/usr/include/GL/internal/dri_interface.h:341: error: expected declaration
specifiers or '...' before 'drm_clip_rect_t'                                    
/usr/include/GL/internal/dri_interface.h:603: error: expected declaration
specifiers or '...' before 'drm_drawable_t'                                     
/usr/include/GL/internal/dri_interface.h:611: error: expected declaration
specifiers or '...' before 'drm_context_t'                                      
In file included from glxdricommon.c:35:                                        
/usr/include/GL/internal/dri_interface.h:45:17: error: drm.h: No such file or
directory                                                                       
In file included from glxdricommon.c:35:                                        
/usr/include/GL/internal/dri_interface.h:285: error: expected declaration
specifiers or '...' before 'drm_clip_rect_t'                                    
/usr/include/GL/internal/dri_interface.h:287: error: expected declaration
specifiers or '...' before 'drm_clip_rect_t'                                    
/usr/include/GL/internal/dri_interface.h:341: error: expected declaration
specifiers or '...' before 'drm_clip_rect_t'                                    
/usr/include/GL/internal/dri_interface.h:603: error: expected declaration
specifiers or '...' before 'drm_drawable_t'                                     
/usr/include/GL/internal/dri_interface.h:611: error: expected declaration
specifiers or '...' before 'drm_context_t'

http://bugs.gentoo.org/show_bug.cgi?id=236851#c10 seems to trace this to '',
caused by mesa.git/src/mesa/gl.pc.in not specifying the requirement on libdrm.

Attached patch works for me.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to