Created
April 5, 2012 11:49
-
-
Save paxswill/2310266 to your computer and use it in GitHub Desktop.
Homebrewed Mercurial on Snow Leopard with Xcode 4.2 only.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [paxswill@apollo:~]$ which gcc-4.2 | |
| [paxswill@apollo:~]$ brew install -vvd mercurial | |
| ==> Downloading http://mercurial.selenic.com/release/mercurial-2.1.2.tar.gz | |
| Already downloaded: /Users/paxswill/Library/Caches/Homebrew/mercurial-2.1.2.tar.gz | |
| /usr/bin/tar xf /Users/paxswill/Library/Caches/Homebrew/mercurial-2.1.2.tar.gz | |
| ==> make PREFIX=/usr/local/Cellar/mercurial/2.1.2 build | |
| make PREFIX=/usr/local/Cellar/mercurial/2.1.2 build | |
| python setup.py build | |
| running build | |
| running build_mo | |
| warning: hgbuildmo: could not find msgfmt executable, no translations will be built | |
| running build_ext | |
| building 'mercurial.base85' extension | |
| creating build | |
| creating build/temp.macosx-10.6-universal-2.6 | |
| creating build/temp.macosx-10.6-universal-2.6/mercurial | |
| /usr/bin/llvm-gcc -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -Os -w -pipe -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c mercurial/base85.c -o build/temp.macosx-10.6-universal-2.6/mercurial/base85.o | |
| creating build/lib.macosx-10.6-universal-2.6 | |
| creating build/lib.macosx-10.6-universal-2.6/mercurial | |
| gcc-4.2 -Wl,-F. -bundle -undefined dynamic_lookup -Os -w -pipe build/temp.macosx-10.6-universal-2.6/mercurial/base85.o -o build/lib.macosx-10.6-universal-2.6/mercurial/base85.so | |
| unable to execute gcc-4.2: No such file or directory | |
| error: command 'gcc-4.2' failed with exit status 1 | |
| make: *** [build] Error 1 | |
| Error: #<BuildError: Failed executing: make PREFIX=/usr/local/Cellar/mercurial/2.1.2 build> | |
| /usr/local/Library/Homebrew/formula.rb:437:in `system' | |
| /usr/local/Library/Formula/mercurial.rb:32:in `install' | |
| /usr/local/Library/Homebrew/build.rb:88:in `install' | |
| /usr/local/Library/Homebrew/formula.rb:190:in `brew' | |
| /usr/local/Library/Homebrew/formula.rb:517:in `stage' | |
| /usr/local/Library/Homebrew/extend/fileutils.rb:22:in `mktemp' | |
| /usr/local/Library/Homebrew/formula.rb:513:in `stage' | |
| /usr/local/Library/Homebrew/formula.rb:185:in `brew' | |
| /usr/local/Library/Homebrew/build.rb:67:in `install' | |
| /usr/local/Library/Homebrew/build.rb:30 | |
| /usr/local/Library/Formula/mercurial.rb:54 | |
| ==> Rescuing build... | |
| When you exit this shell Homebrew will attempt to finalise the installation. | |
| If nothing is installed or the shell exits with a non-zero error code, | |
| Homebrew will abort. The installation prefix is: | |
| /usr/local/Cellar/mercurial/2.1.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment