On Mon, Dec 12, 2011 at 12:32:04AM -0500, Michael Mol wrote > llvm is pulled in on most of my systems as a dependency of something > else. It doesn't conflict with having gcc installed. > > emerge sys-devel/llvm > > And try again. If that fixes it, you should file a bug against the > specific package failing to build, noting the missing explicit build > dependency.
After some testing, and plain old trial-and-error, I discovered that it may have been due to me running with USE starting with "-*". I found out that... * emergeing llvm does not help * I unmerged llvm, and added the line media-libs/mesa llvm to /etc/portage/package.use, and the build works. Now that I know what to look for, I can find... https://bugs.gentoo.org/show_bug.cgi?id=377013 which covers this issue. The problem is that the generic error message... configure: error: LLVM is required to build Gallium R300 on x86 and x86_64 ...is not informative enough. This has been fixed in mesa 7.12, due out in a few months. Apparently, it'll generate an error message advising that mesa must be built with USE="llvm" if Gallium R300 is to be built. -- Walter Dnes <waltd...@waltdnes.org>