On Mon, Dec 19, 2011 at 11:22:02AM -0600, [email protected] wrote: > > I've successfully compiled X without dri or glx on LFS-7.0 but can't > compile Mesa due to (I believe) drm problems. Although libdrm seems to > compile without error, libdrm_nouveau.so isn't found in /usr/lib > although libdrm.so, libdrm_intel.so, and libdrm_radeon.so are. > > The business end of this is the following I receive when compiling Mesa: > > Configure error: Package requirements (libdrm_nouveau >= 0.6) were > not met: > > No package 'libdrm_nouveau' found > > ? If you need nouveau, I think you need to add --enable-nouveau-experimental-api when you configure libdrm.
Mesa is now something of an aggravation for those who build from source for one machine - the gallium drivers (which use llvm) are now built by default, and I think that the (ati) R300 driver is only available in the gallium version. I'm using *old* ati hardware (R100, R200 AGP cards) and I'm now compiling Mesa using --without-gallium-drivers (so, I don't need llvm) and --with-dri-drivers=radeon,r200,swrast (tested on the R100, which uses radaeon - everyone needs swrast). If you don't use nvidia hardware and do build llvm, the following sed to not build nouveau might help (I tried it, configure got past the drm_nouveau test, but then failed because llvm was missing) sed -i -e /DRI_DIRS=\"i915/s/nouveau//' configure ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
