Results 1 to 2 of 2

Thread: Is this a bug? (libdrm_radeon.pc.in)

  1. #1
    Join Date
    Oct 2007
    Posts
    1,283

    Question Is this a bug? (libdrm_radeon.pc.in)

    libdrm.pc.in uses a @PACKAGE_VERSION@ variable (macro?) and the generated libdrm.pc has the correct version (2.4.17).

    Meanwhile, libdrm_radeon.pc.in (and intel/nouveau) uses a hard-coded, outdated version, and the resulting .pc file retains that. So after you build and install libdrm..
    Code:
    pkg-config --modversion libdrm_radeon 
    1.0.1
    ..and then when you try and build latest mesa (which requires libdrm_radeon 2.4.17):
    Code:
    checking for LIBDRM_RADEON... no
    Is this a bug worth reporting? It's easy enough to work around by editing the installed libdrm_radeon.pc file (in /usr/lib/pkgconfig/ on my system) I looked on freedesktop bugs for libdrm_radeon, but only saw one (unrelated) bug. If it is a bug, please fix it or report it for me (I'm tired of registering for 200 different bug forums) :\

    Thanks
    Last edited by DanL; 01-04-2010 at 10:42 AM.

  2. #2
    Join Date
    Jan 2009
    Location
    Italy
    Posts
    82

    Default

    Quote Originally Posted by DanL View Post
    ..and then when you try and build latest mesa (which requires libdrm_radeon 2.4.17):
    Code:
    checking for LIBDRM_RADEON... no
    Code:
    PKG_CHECK_MODULES([LIBDRM_RADEON], [libdrm_radeon libdrm >= $LIBDRM_RADEON_REQUIRED], HAVE_LIBDRM_RADEON=yes, HAVE_LIBDRM_RADEON=no)
    Only the version of libdrm is tested; libdrm_radeon is just checked for existence.

    Edit: to clarify: mesa itself works with older libdrm (2.4.15); however in order to use the new API it requires that libdrm_radeon is installed and libdrm is >= 2.4.17.
    The message above may be confusing since it refers to libdrm_radeon but in reality it checks two conditions.
    Last edited by tettamanti; 01-04-2010 at 05:02 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •