Did you have an existing Homebrew installation from before the 10.9 upgrade?
If so, the simplest thing is probably to rip out your entire Homebrew installation and re-run the bootstrap -- a fresh build of everything should end up consistent with the new C++ library. (There may be a better way to get brew to recompile all the C++ packages, but not sure offhand.) -- brion vibber (brion @ pobox.com / bvibber @ wikimedia.org) On Fri, Oct 25, 2013 at 1:36 AM, Gianfranco Palumbo <[email protected]>wrote: > Hi, > > I was following this guide ( > https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Firefox_OS_build_prerequisites#Run_Firefox_OS_Mac_Bootstrap > ) > but when I run this: > -- > curl -fsSL > https://raw.github.com/mozilla-b2g/B2G/master/scripts/bootstrap-mac.sh | > bash > -- > or (brew install mpfr) > > it says: > --------------- > Do you want to install gcc-4.6 by running Homebrew? > [/usr/local/bin/brew install > https://raw.github.com/mozilla-b2g/B2G/master/scripts/homebrew/gcc-4.6.rb] > [Y/n] Y > => /usr/local/bin/brew install > https://raw.github.com/mozilla-b2g/B2G/master/scripts/homebrew/gcc-4.6.rb > ######################################################################## > 100.0% > ==> Installing dependencies for gcc-4.6: mpfr, libmpc > ==> Installing gcc-4.6 dependency: mpfr > Error: mpfr dependency gmp was built with the following > C++ standard library: libstdc++ (from clang) > > This is incompatible with the standard library being used > to build mpfr: libc++ (from clang) > > Please reinstall gmp using a compatible compiler. > hint: Check https://github.com/mxcl/homebrew/wiki/C++-Standard-Libraries > -------------- > > This seems because of libstdc++ has been removed in favour of libc++ > > > http://blog.new-bamboo.co.uk/2013/10/24/3-quick-tips-for-coding-with-os-x-10-9-mavericks > > Any idea on how to fix this? > _______________________________________________ > dev-b2g mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-b2g > _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
