[Savage40] "No package 'libdrm' found"

Alex Deucher agd5f at yahoo.com
Thu Aug 25 05:50:19 PDT 2005


--- Rácz János <nigra at freemail.hu> wrote:

> Hi!
> 
> I am a common (and old) user of the manual 
> "http://dri.freedesktop.org/wiki/Building"
> for my laptop (savage driver).
> 
> I had to remake that method because of a kernel changing.
> When I am on
> "1.6. Building Mesa 3D Drivers on Linux"
> (after typing "make linux-dri" or "make linux-dri-x86")
> I got an error message (the problematic part of the text):
> 
> "Package libdrm was not found in the pkg-config search path.
> Perhaps you should add the directory containing `libdrm.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'libdrm' found
> In file included from glxclient.h:82,
>                  from clientattrib.c:38:
> ../../../include/GL/internal/dri_interface.h:42:21: xf86drm.h: Nincs
> ilyen 
> fájl vagy könyvtár
> ../../../include/GL/internal/dri_interface.h:43:17: drm.h: Nincs
> ilyen fájl 
> vagy könyvtár
> In file included from glxclient.h:82,
>                  from clientattrib.c:38:
> ../../../include/GL/internal/dri_interface.h:189: error: syntax error
> before 
> "drm_context_t"
> ../../../include/GL/internal/dri_interface.h:201: error: syntax error
> before 
> "drm_drawable_t"
> ../../../include/GL/internal/dri_interface.h:216: error: syntax error
> before 
> "drm_clip_rect_t"
> In file included from clientattrib.c:39:
> indirect.h:67: warning: `fastcall' attribute directive ignored
> indirect.h:70: warning: `fastcall' attribute directive ignored
> make[3]: *** [clientattrib.o] Error 1
> make[3]: Leaving directory `/root/Mesa/src/glx/x11'
> make[2]: *** [subdirs] Error 1
> make[2]: Leaving directory `/root/Mesa/src'
> make[1]: *** [default] Error 1
> make[1]: Leaving directory `/root/Mesa'
> make: *** [linux-dri] Error 2"
> 
> Of course I tried to modify some config file, but It was not managed
> to solve 
> the problem. It is sad, because it (following instructions in 
> "http://dri.freedesktop.org/wiki/Building") was a simple and harmless
> method 
> installing 3D on my laptop.
> 
> I would be very grateful if you could help me installing dri driver.
> Thank you!
> 

You need the latest libdrm:

http://people.freedesktop.org/~ajax/libdrm/

Alex

> nigra



		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 


More information about the Savage40 mailing list