Ragnar Thomsen wrote:
> I tried installing libdrm and mesa in /usr as BLFS does it now. However, I run
> into a problem. Libdrm installs without problems, but when building mesa I get
> the following error:
>
> make[4]: Entering directory
> `/sources/xc/Mesa-9.0.1/src/gallium/auxiliary/pipe-loader'
>    CC       pipe_loader_drm.lo
> pipe_loader_drm.c:40:22: fatal error: xcb/dri2.h: No such file or directory
> compilation terminated.
>
> I checked that the dri2.h file is installed in /usr/X11/include/xcb and the
> right paths are set in the xcb-dri2.pc file.
>
> Any ideas?

I don't know about a 'proper' fix, but you can use:

export C_INCLUDE_PATH=/usr/X11/include/xcb

for a workaround.

On my system, I have two instances of dri2.h:

31952 -rw-r--r-- 1 58809 Sep 10 03:23 /opt/xorg/include/xcb/dri2.h
31952 -rw-r--r-- 1 58809 Sep 10 03:23 /opt/xorg/include/xcb/dri2.h

Note that they have the same inode so are hard links.


   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to