Summary: | media-libs/mesa-7.4_rc1 compilation fails cannot find drm.h | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Maksim 'max_posedon' Melnikau <maxposedon> |
Component: | New packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | x11 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | mesa-7.4_rc1 build log |
Description
Maksim 'max_posedon' Melnikau
2009-03-27 19:10:57 UTC
Created attachment 186468 [details]
mesa-7.4_rc1 build log
Which version of libdrm are you using? Thanks (In reply to comment #2) > Which version of libdrm are you using? x11-libs/libdrm-2.4.5 Right, you seem to be missing "-I/usr/include/drm" in that very first "makedepend". Please paste the output of the following : - pkg-config --debug 2>&1 | grep drm - cat /usr/lib/pkgconfig/libdrm.pc Thanks max_posedon max_posedon # pkg-config --debug 2>&1 | grep drm File 'libdrm_intel.pc' appears to be a .pc file Will find package 'libdrm_intel' in file '/usr/lib/pkgconfig/libdrm_intel.pc' File 'libdrm.pc' appears to be a .pc file Will find package 'libdrm' in file '/usr/lib/pkgconfig/libdrm.pc' max_posedon max_posedon # cat /usr/lib/pkgconfig/libdrm.pc prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: libdrm Description: Userspace interface to kernel DRM services Version: 2.4.5 Libs: -L${libdir} -ldrm Cflags: -I${includedir} -I${includedir}/drm max_posedon max_posedon # cat /usr/lib/pkgconfig/libdrm_intel.pc prefix=/usr exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: libdrm Description: Userspace interface to kernel DRM services Version: 2.4.5 Libs: -L${libdir} -ldrm -ldrm_intel Cflags: -I${includedir} -I${includedir}/drm Remi, thanks for your questions, it helped me find a problem. During playing with cross-compilation I somehow create symlink i686-pc-linux-gnu-pkg-config -> cross-pkg-config and that is a reason, why mesa compilation was broken (same as many others packages). So it was my mistake. Ahhhh, well that's a pretty good explanation as I was running out of ideas :) Thanks a lot for letting me know you've solved this. Cheers |