Archlinux x86_64 , git master rev f358462 ./autogen.sh \ --prefix=/usr \ --sysconfdir=/etc \ --with-dri-driverdir=/usr/lib/xorg/modules/dri \ --with-egl-platforms=x11,drm,wayland \ --with-gallium-drivers=r300,r600,radeonsi,swrast \ --with-dri-drivers=swrast \ --enable-llvm-shared-libs \ --enable-egl \ --disable-gallium-egl \ --disable-gallium-gbm \ --enable-gbm \ --enable-gallium-llvm \ --enable-shared-glapi \ --enable-glx \ --enable-glx-tls \ --enable-dri \ --enable-gles1 \ --enable-gles2 \ --enable-texture-float \ --enable-xa \ --enable-vdpau \ --enable-omx \ --enable-opencl \ --enable-opencl-icd \ --with-clang-libdir=/usr/lib \ --enable-xvmc \ --enable-r600-llvm-compiler \ --enable-gallium-osmesa \ --enable-gallium-tests make make DESTDIR=${pkgdir} install the gallium_drv_video.so file is placed in DESTDIR/usr/lib/dri and not in DESTDIR/usr/lib/xorg/modules/dri as i expect with above /.configure settings. build log : http://pastebin.com/xvg5Mku8
gallium_drv_video.so is a libva backend. As such one needs to set --with-va-libdir. Something like the following should work like a charm ./configure --with-va-libdir=`pkg-config libva --variable=driverdir` ...
You are right, and libva pkgconfig on arch indeed has /usr/lib/dri as default folder. Thanks for the information.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.