Skip to content

Instantly share code, notes, and snippets.

@lifepillar
Created October 25, 2013 11:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lifepillar/7153442 to your computer and use it in GitHub Desktop.
Save lifepillar/7153442 to your computer and use it in GitHub Desktop.
Output of brew uninstall apple-gcc42; brew install -v apple-gcc42 mariadb on OS X Mavericks (see http://github.com/mxcl/homebrew/issues/23580).
brew uninstall apple-gcc42; brew install -v apple-gcc42 mariadb
Error: No such keg: /usr/local/Cellar/apple-gcc42
==> Downloading http://r.research.att.com/tools/gcc-42-5666.3-darwin11.pkg
Already downloaded: /Library/Caches/Homebrew/apple-gcc42-4.2.1-5666.3.pkg
/usr/bin/xar -xf /Library/Caches/Homebrew/apple-gcc42-4.2.1-5666.3.pkg
mv *.pkg/Payload Payload.gz
ls | grep -v Payload | xargs rm -r
pax --insecure -rz -f Payload.gz -s ',./usr,/usr/local/Cellar/apple-gcc42/4.2.1-5666.3,'
==> Cleaning
rm: /usr/local/Cellar/apple-gcc42/4.2.1-5666.3/lib/gcc/i686-apple-darwin11/4.2.1/x86_64/libgfortranbegin.la
rm: /usr/local/Cellar/apple-gcc42/4.2.1-5666.3/lib/gcc/i686-apple-darwin11/4.2.1/libgfortranbegin.la
rmdir: /usr/local/Cellar/apple-gcc42/4.2.1-5666.3/lib/gcc/i686-apple-darwin11/4.2.1/include/gcc (empty)
==> Caveats
NOTE:
This formula provides components that were removed from XCode in the 4.2
release. There is no reason to install this formula if you are using a
version of XCode prior to 4.2.
This formula contains compilers built from Apple's GCC sources, build
5666.3, available from:
http://opensource.apple.com/tarballs/gcc
All compilers have a `-4.2` suffix. A GFortran compiler is also included.
==> Finishing up
ln -s ../Cellar/apple-gcc42/4.2.1-5666.3/bin/i686-apple-darwin11-gfortran-4.2.1 i686-apple-darwin11-gfortran-4.2.1
ln -s ../Cellar/apple-gcc42/4.2.1-5666.3/bin/i686-apple-darwin11-gcc-4.2.1 i686-apple-darwin11-gcc-4.2.1
ln -s ../Cellar/apple-gcc42/4.2.1-5666.3/bin/i686-apple-darwin11-g++-4.2.1 i686-apple-darwin11-g++-4.2.1
ln -s ../Cellar/apple-gcc42/4.2.1-5666.3/bin/i686-apple-darwin11-cpp-4.2.1 i686-apple-darwin11-cpp-4.2.1
ln -s ../Cellar/apple-gcc42/4.2.1-5666.3/bin/gfortran-4.2 gfortran-4.2
ln -s ../Cellar/apple-gcc42/4.2.1-5666.3/bin/gcov-4.2 gcov-4.2
ln -s ../Cellar/apple-gcc42/4.2.1-5666.3/bin/gcc-4.2 gcc-4.2
ln -s ../Cellar/apple-gcc42/4.2.1-5666.3/bin/g++-4.2 g++-4.2
ln -s ../Cellar/apple-gcc42/4.2.1-5666.3/bin/cpp-4.2 cpp-4.2
ln -s ../Cellar/apple-gcc42/4.2.1-5666.3/bin/c++-4.2 c++-4.2
ln -s ../Cellar/apple-gcc42/4.2.1-5666.3/include/gcc gcc
ln -s ../../../Cellar/apple-gcc42/4.2.1-5666.3/share/man/man1/i686-apple-darwin11-gcc-4.2.1.1 i686-apple-darwin11-gcc-4.2.1.1
ln -s ../../../Cellar/apple-gcc42/4.2.1-5666.3/share/man/man1/i686-apple-darwin11-g++-4.2.1.1 i686-apple-darwin11-g++-4.2.1.1
ln -s ../../../Cellar/apple-gcc42/4.2.1-5666.3/share/man/man1/i686-apple-darwin11-cpp-4.2.1.1 i686-apple-darwin11-cpp-4.2.1.1
ln -s ../../../Cellar/apple-gcc42/4.2.1-5666.3/share/man/man1/gfortran-4.2.1 gfortran-4.2.1
ln -s ../../../Cellar/apple-gcc42/4.2.1-5666.3/share/man/man1/gcov-4.2.1 gcov-4.2.1
ln -s ../../../Cellar/apple-gcc42/4.2.1-5666.3/share/man/man1/gcc-4.2.1 gcc-4.2.1
ln -s ../../../Cellar/apple-gcc42/4.2.1-5666.3/share/man/man1/g++-4.2.1 g++-4.2.1
ln -s ../../../Cellar/apple-gcc42/4.2.1-5666.3/share/man/man1/cpp-4.2.1 cpp-4.2.1
ln -s ../../../Cellar/apple-gcc42/4.2.1-5666.3/share/man/man1/c++-4.2.1 c++-4.2.1
ln -s ../Cellar/apple-gcc42/4.2.1-5666.3/lib/gcc gcc
ln -s ../../Cellar/apple-gcc42/4.2.1-5666.3 apple-gcc42
ln -s ../Cellar/apple-gcc42/4.2.1-5666.3 apple-gcc42
==> Summary
🍺 /usr/local/Cellar/apple-gcc42/4.2.1-5666.3: 104 files, 75M, built in 2 seconds
Error: This formula cannot be built with any available compilers.
To install this formula, you may need to:
brew install apple-gcc42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment