[Lunar-bugs] [Lunar Linux 0000480]: mesa-lib/libdrm_intel

Lunar bug reports list lunar-bugs at lunar-linux.org
Thu Apr 28 11:16:24 CEST 2011


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.lunar-linux.org/view.php?id=480 
====================================================================== 
Reported By:                wdp
Assigned To:                
====================================================================== 
Project:                    Lunar Linux
Issue ID:                   480
Category:                   module
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
lvu installed moonbase:     20110425.13 
Core Tools:                 Theedge 
lvu installed [lunar|theedge]: 20110419 
====================================================================== 
Date Submitted:             2011-04-27 13:22 CEST
Last Modified:              2011-04-28 11:16 CEST
====================================================================== 
Summary:                    mesa-lib/libdrm_intel
Description: 
On a fresh install the following happened when trying to install mesa-lib:

checking for INTEL... no
configure: error: Package requirements (libdrm_intel >= 2.4.21) were
not met:

No package 'libdrm_intel' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables INTEL_CFLAGS
and INTEL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Creating /var/log/lunar/compile/mesa-lib-7.10.1.bz2 
! Problem detected during BUILD
+ Running sanity checks for module "mesa-lib"
/usr/lib/dri/i915_dri.so of mesa-lib is broken. 
        libdrm_intel.so.1 => not found
/usr/lib/dri/i965_dri.so of mesa-lib is broken. 
        libdrm_intel.so.1 => not found
/usr/lib/dri/r200_dri.so of mesa-lib is broken. 
        libdrm_radeon.so.1 => not found
/usr/lib/dri/r300_dri.so of mesa-lib is broken. 
        libdrm_radeon.so.1 => not found
/usr/lib/dri/r600_dri.so of mesa-lib is broken. 
        libdrm_radeon.so.1 => not found
/usr/lib/dri/radeon_dri.so of mesa-lib is broken. 
        libdrm_radeon.so.1 => not found
/usr/lib/egl/pipe_r300.so of mesa-lib is broken. 
        libdrm_radeon.so.1 => not found

To solve this issue you need to perform the following tasks:

lin -cr libdrm
libdrm: Enable support for radeons KMS API? [n] <- no
libdrm: Enable support for intels  KMS API? [n] <- yes!
lin mesa-lib

So if Intel is a required dependency.. we shouldn't ask users. Again..
this is a fresh install.. Apart from, i have no intel graphiccard..

So for configure to work you need to enable intel at libdrm - Right after
that you'll got another problem with mesa-lib:

mklib: Making Linux shared library:  r200_dri.so.tmp
g++ -O2 -march=amdfam10 -pipe -Wall -Wmissing-prototypes -std=c99
-ffast-math -fvisibility=hidden -fno-strict-aliasing  -fPIC
-DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN
-DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER
-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS
-DHAVE_XCB_DRI2 -DHAVE_LIBUDEV -DHAVE_XEXTPROTO_71  -DFEATURE_GL=1 -o
r200_dri.so.test ../../../../../src/mesa/drivers/dri/common/dri_test.o
r200_dri.so.tmp   -ldrm   -lexpat -lm -lpthread -ldl r200_dri.so.tmp:
undefined reference to `radeon_gem_get_kernel_name' collect2: ld
returned 1 exit status make[6]: *** [r200_dri.so] Error 1 make[6]:
Leaving directory `/usr/src/Mesa-7.10.1/src/mesa/drivers/dri/r200' make
[5]: *** [lib] Error 2 make[5]: Leaving directory
`/usr/src/Mesa-7.10.1/src/mesa/drivers/dri/r200' make[4]: *** [subdirs]
Error 1 make[4]: Leaving directory
`/usr/src/Mesa-7.10.1/src/mesa/drivers/dri' make[3]: *** [default]
Error 1 make[3]: Leaving directory
`/usr/src/Mesa-7.10.1/src/mesa/drivers' make[2]: *** [driver_subdirs]
Error 2 make[2]: Leaving directory `/usr/src/Mesa-7.10.1/src/mesa' make
[1]: *** [subdirs] Error 1 make[1]: Leaving directory
`/usr/src/Mesa-7.10.1/src' make: *** [default] Error 1
Creating /var/log/lunar/compile/mesa-lib-7.10.1.bz2 ! Problem detected
during BUILD

no idea how to solve that one.
====================================================================== 

---------------------------------------------------------------------- 
 (0001098) wdp (developer) - 2011-04-28 11:16
 http://bugs.lunar-linux.org/view.php?id=480#c1098 
---------------------------------------------------------------------- 
solved, this problem occurs due to:
http://bugs.lunar-linux.org/view.php?id=481 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-27 13:22 wdp            New Issue                                    
2011-04-27 13:22 wdp            lvu installed moonbase    => 20110425.13     
2011-04-27 13:22 wdp            Core Tools                => Theedge         
2011-04-27 13:22 wdp            lvu installed [lunar|theedge] => 20110419       

2011-04-28 11:16 wdp            Note Added: 0001098                          
======================================================================



More information about the Lunar-bugs mailing list