On Thu, Dec 01, 2011 at 03:41:08PM +0000, Andrew Benton wrote: > On Thu, 1 Dec 2011 03:44:35 +0000 > Ken Moffat <[email protected]> wrote: > > > MesaLib-7.10.3 > > I plan to test 7.11.2 but I bailed on this build - after sedding > > out the requirement for libdrm_nouveau >= 0.6 (I only have ati > > video cards) it told me I needed llvm : I think Andy posted about > > how to tame that package the other day, but sitting in front of > > a text screen I figured the best way forward was to go back to a > > version I'd built recently on an older system which I new had fewer > > dependencies. > > FWIW, I can build llvm without static libs like so: > > ./configure --prefix=/usr > # Don't build static libraries: > sed -i 's#BUILD_ARCHIVE :*= 1#NO_BUILD_ARCHIVE = 1#' \ > $(grep -rl 'BUILD_ARCHIVE :*= 1' .) > # Build shared libraries: > find . -name Makefile -exec sed -i '/SHARED_LIBRARY/d > /LIBRARYNAME/a SHARED_LIBRARY = 1' {} \; > # Remove some hard coded static libs. Use shared libs instead: > for thing in {utils/*,projects/sample/tools/sample}/Makefile Makefile.rules > do sed -i 's#.* \([^ ]*[ert]\)\.a#LDFLAGS = -l\1#' ${thing} > done > make -j$(getconf _NPROCESSORS_ONLN) > make install > > Andy
Thanks for (re) posting this. Am I right in thinking llvm is required for current Mesa, or do you have another sed to let it build with gcc ? ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
