From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 94443] Compilation libva , No package 'libdrm' found Date: Tue, 08 Mar 2016 12:14:36 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0058305480==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id C2FC36E681 for ; Tue, 8 Mar 2016 12:14:36 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0058305480== Content-Type: multipart/alternative; boundary="14574392760.20FEbc361.7101"; charset="UTF-8" --14574392760.20FEbc361.7101 Date: Tue, 8 Mar 2016 12:14:36 +0000 MIME-Version: 1.0 Content-Type: text/plain https://bugs.freedesktop.org/show_bug.cgi?id=94443 Bug ID: 94443 Summary: Compilation libva , No package 'libdrm' found Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: General Assignee: dri-devel@lists.freedesktop.org Reporter: swojskichlopak@wp.pl I'm trying compile libva 32bit on 64 bit system and from ./configure command: #--------------------------- ... configure: error: Package requirements (libdrm >= 2.4) were not met: No package 'libdrm' 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 DRM_CFLAGS and DRM_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. #--------------------------- #------------------ $ cat /usr/lib/pkgconfig/libdrm.pc prefix=/usr/local exec_prefix=${prefix} libdir=/usr/lib includedir=/usr/include Name: libdrm Description: Userspace interface to kernel DRM services Version: 2.4.66 Libs: -L${libdir} -ldrm Cflags: -I${includedir} -I${includedir}/libdrm #------------------ #-------- $ ls /usr/lib/*drm* /usr/lib/libdrm_amdgpu.so@ /usr/lib/libdrm_nouveau.so.1.0.0* /usr/lib/libdrm_amdgpu.so.1@ /usr/lib/libdrm_radeon.so@ /usr/lib/libdrm_amdgpu.so.1.0.0* /usr/lib/libdrm_radeon.so.1@ /usr/lib/libdrm_intel.so@ /usr/lib/libdrm_radeon.so.1.0.1* /usr/lib/libdrm_intel.so.1@ /usr/lib/libdrm.so@ /usr/lib/libdrm_intel.so.1.0.0* /usr/lib/libdrm.so.2@ /usr/lib/libdrm_nouveau.so@ /usr/lib/libdrm.so.2.4.0* /usr/lib/libdrm_nouveau.so.1@ #-------- If is something wrong with configure (I dont know) how use DRM_CFLAGS ? I tried #----------- ./configure --disable-static --enable-glx \ --libdir=/usr/lib \ --bindir=/usr/bin32 \ DRM_CFLAGS=/usr/lib \ --includedir=/usr/include #----------- but not working. -- You are receiving this mail because: You are the assignee for the bug. --14574392760.20FEbc361.7101 Date: Tue, 8 Mar 2016 12:14:36 +0000 MIME-Version: 1.0 Content-Type: text/html
Bug ID 94443
Summary Compilation libva , No package 'libdrm' found
Product DRI
Version unspecified
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component General
Assignee dri-devel@lists.freedesktop.org
Reporter swojskichlopak@wp.pl

I'm trying compile libva 32bit on 64 bit system
and from ./configure command:

#---------------------------
...
configure: error: Package requirements (libdrm >= 2.4) were not met:

No package 'libdrm' 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 DRM_CFLAGS
and DRM_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
#---------------------------

#------------------
$ cat /usr/lib/pkgconfig/libdrm.pc
prefix=/usr/local
exec_prefix=${prefix}
libdir=/usr/lib
includedir=/usr/include

Name: libdrm
Description: Userspace interface to kernel DRM services
Version: 2.4.66
Libs: -L${libdir} -ldrm
Cflags: -I${includedir} -I${includedir}/libdrm
#------------------

#--------
$ ls /usr/lib/*drm*
/usr/lib/libdrm_amdgpu.so@        /usr/lib/libdrm_nouveau.so.1.0.0*
/usr/lib/libdrm_amdgpu.so.1@      /usr/lib/libdrm_radeon.so@
/usr/lib/libdrm_amdgpu.so.1.0.0*  /usr/lib/libdrm_radeon.so.1@
/usr/lib/libdrm_intel.so@         /usr/lib/libdrm_radeon.so.1.0.1*
/usr/lib/libdrm_intel.so.1@       /usr/lib/libdrm.so@
/usr/lib/libdrm_intel.so.1.0.0*   /usr/lib/libdrm.so.2@
/usr/lib/libdrm_nouveau.so@       /usr/lib/libdrm.so.2.4.0*
/usr/lib/libdrm_nouveau.so.1@
#--------

If is something wrong with configure (I dont know)
 how use DRM_CFLAGS ?
I tried 
#-----------
./configure --disable-static --enable-glx \
  --libdir=/usr/lib \
  --bindir=/usr/bin32 \
  DRM_CFLAGS=/usr/lib \
  --includedir=/usr/include 
#-----------
 but not working.


You are receiving this mail because:
  • You are the assignee for the bug.
--14574392760.20FEbc361.7101-- --===============0058305480== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0058305480==--