Skip to content

Instantly share code, notes, and snippets.

@gohanlon
Created July 22, 2014 21:02
Show Gist options
  • Save gohanlon/ec7d19f8001c8ccb3d5d to your computer and use it in GitHub Desktop.
Save gohanlon/ec7d19f8001c8ccb3d5d to your computer and use it in GitHub Desktop.
Laptop failing to install from master branch on clean OS X Mavericks
Last login: Thu Jul 17 12:46:31 on console
Wells-Mac:~ wellmade$ bash <(curl -s https://raw.githubusercontent.com/thoughtbot/laptop/master/mac)
Changing your shell to zsh ...
Changing shell for wellmade.
Password for wellmade:
Fixing OSX zsh environment bug ...
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
Installing Homebrew, a good OS X package manager ...
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/mkdir /usr/local
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local
==> /usr/bin/sudo /bin/mkdir /Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> Installing the Command Line Tools (expect a GUI popup):
==> /usr/bin/sudo /usr/bin/xcode-select --install
xcode-select: note: install requested for command line developer tools
Press any key when the installation has completed.
==> Downloading and installing Homebrew...
remote: Counting objects: 187446, done.
remote: Compressing objects: 100% (51305/51305), done.
remote: Total 187446 (delta 135004), reused 187401 (delta 134972)
Receiving objects: 100% (187446/187446), 37.31 MiB | 653.00 KiB/s, done.
Resolving deltas: 100% (135004/135004), done.
From https://github.com/Homebrew/homebrew
* [new branch] master -> origin/master
HEAD is now at 2206bdc snort devel 2.9.7.0 beta
==> Installation successful!
==> Next steps
Run `brew doctor` before you install anything
Run `brew help` to get started
Put Homebrew location earlier in PATH ...
Updating Homebrew formulas ...
Already up-to-date.
Installing Postgres, a good open source relational database ...
==> Installing dependencies for postgresql: ossp-uuid, openssl, readline
==> Installing postgresql dependency: ossp-uuid
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/ossp-uuid-1.6.2.mavericks.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring ossp-uuid-1.6.2.mavericks.bottle.1.tar.gz
==> Caveats
This formula is keg-only, so it was not symlinked into /usr/local.
OS X provides a uuid.h which conflicts with ossp-uuid's header.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/ossp-uuid/lib
CPPFLAGS: -I/usr/local/opt/ossp-uuid/include
==> Summary
๐Ÿบ /usr/local/Cellar/ossp-uuid/1.6.2: 15 files, 228K
==> Installing postgresql dependency: openssl
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/openssl-1.0.1h.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring openssl-1.0.1h.mavericks.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
/usr/local/etc/openssl/certs
and run
/usr/local/opt/openssl/bin/c_rehash
This formula is keg-only, so it was not symlinked into /usr/local.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
The OpenSSL provided by OS X is too old for some software.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/openssl/lib
CPPFLAGS: -I/usr/local/opt/openssl/include
==> Summary
๐Ÿบ /usr/local/Cellar/openssl/1.0.1h: 429 files, 14M
==> Installing postgresql dependency: readline
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/readline-6.3.6.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring readline-6.3.6.mavericks.bottle.tar.gz
==> Caveats
This formula is keg-only, so it was not symlinked into /usr/local.
OS X provides the BSD libedit library, which shadows libreadline.
In order to prevent conflicts when programs look for libreadline we are
defaulting this GNU Readline installation to keg-only.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/readline/lib
CPPFLAGS: -I/usr/local/opt/readline/include
==> Summary
๐Ÿบ /usr/local/Cellar/readline/6.3.6: 40 files, 2.1M
==> Installing postgresql
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/postgresql-9.3.4.mavericks.bottle.2.tar.gz
######################################################################## 100.0%
==> Pouring postgresql-9.3.4.mavericks.bottle.2.tar.gz
==> Caveats
If builds of PostgreSQL 9 are failing and you have version 8.x installed,
you may need to remove the previous version first. See:
https://github.com/Homebrew/homebrew/issues/issue/2510
To migrate existing data from a previous major version (pre-9.3) of PostgreSQL, see:
http://www.postgresql.org/docs/9.3/static/upgrading.html
When installing the postgres gem, including ARCHFLAGS is recommended:
ARCHFLAGS="-arch x86_64" gem install pg
To install gems without sudo, see the Homebrew wiki.
To have launchd start postgresql at login:
mkdir -p ~/Library/LaunchAgents
ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents
Then to load postgresql now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
Or, if you don't want/need launchctl, you can just run:
postgres -D /usr/local/var/postgres
==> /usr/local/Cellar/postgresql/9.3.4/bin/initdb /usr/local/var/postgres
==> Summary
๐Ÿบ /usr/local/Cellar/postgresql/9.3.4: 2921 files, 38M
Installing Redis, a good key-value database ...
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/redis-2.8.13.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring redis-2.8.13.mavericks.bottle.tar.gz
==> Caveats
To have launchd start redis at login:
mkdir -p ~/Library/LaunchAgents
ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents
Then to load redis now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
Or, if you don't want/need launchctl, you can just run:
redis-server /usr/local/etc/redis.conf
==> Summary
๐Ÿบ /usr/local/Cellar/redis/2.8.13: 10 files, 1.3M
Installing The Silver Searcher (better than ack or grep) to search the contents of files ...
==> Installing dependencies for the_silver_searcher: pcre, xz
==> Installing the_silver_searcher dependency: pcre
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/pcre-8.35.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring pcre-8.35.mavericks.bottle.tar.gz
๐Ÿบ /usr/local/Cellar/pcre/8.35: 146 files, 5.8M
==> Installing the_silver_searcher dependency: xz
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/xz-5.0.5.mavericks.bottle.3.tar.gz
######################################################################## 100.0%
==> Pouring xz-5.0.5.mavericks.bottle.3.tar.gz
๐Ÿบ /usr/local/Cellar/xz/5.0.5: 58 files, 1.5M
==> Installing the_silver_searcher
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/the_silver_searcher-0.23.0.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring the_silver_searcher-0.23.0.mavericks.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
==> Summary
๐Ÿบ /usr/local/Cellar/the_silver_searcher/0.23.0: 8 files, 104K
Installing vim from Homebrew to get the latest version ...
==> Downloading http://ftp.debian.org/debian/pool/main/v/vim/vim_7.4.335.orig.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/7.4.335/share/man --enable-multibyte --with-tlib=ncurses --enable-cscope --
==> make
==> make install prefix=/usr/local/Cellar/vim/7.4.335 STRIP=true
๐Ÿบ /usr/local/Cellar/vim/7.4.335: 1573 files, 25M, built in 49 seconds
Installing ctags, to index files for vim tab completion of methods, classes, variables ...
==> Downloading https://downloads.sourceforge.net/ctags/ctags-5.8.tar.gz
######################################################################## 100.0%
==> Patching
patching file read.c
patching file read.h
==> ./configure --prefix=/usr/local/Cellar/ctags/5.8 --enable-macro-patterns --mandir=/usr/local/Cellar/ctags/5.8/share/man --with-readlib
==> make install
==> Caveats
Under some circumstances, emacs and ctags can conflict. By default,
emacs provides an executable `ctags` that would conflict with the
executable of the same name that ctags provides. To prevent this,
Homebrew removes the emacs `ctags` and its manpage before linking.
However, if you install emacs with the `--keep-ctags` option, then
the `ctags` emacs provides will not be removed. In that case, you
won't be able to install ctags successfully. It will build but not
link.
==> Summary
๐Ÿบ /usr/local/Cellar/ctags/5.8: 8 files, 364K, built in 11 seconds
Installing tmux, to save project state and switch between projects ...
==> Installing tmux dependency: libevent
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libevent-2.0.21.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libevent-2.0.21.mavericks.bottle.tar.gz
๐Ÿบ /usr/local/Cellar/libevent/2.0.21: 48 files, 1.8M
==> Installing tmux
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/tmux-1.9a.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring tmux-1.9a.mavericks.bottle.tar.gz
==> Caveats
Example configurations have been installed to:
/usr/local/Cellar/tmux/1.9a/share/tmux/examples
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
==> Summary
๐Ÿบ /usr/local/Cellar/tmux/1.9a: 16 files, 632K
Installing reattach-to-user-namespace, for copy-paste and RubyMotion compatibility with tmux ...
==> Downloading https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard/archive/v2.3.tar.gz
######################################################################## 100.0%
==> make
๐Ÿบ /usr/local/Cellar/reattach-to-user-namespace/2.3: 6 files, 48K, built in 2 seconds
Installing ImageMagick, to crop and resize images ...
==> Installing dependencies for imagemagick: libtool, jpeg, libpng, freetype
==> Installing imagemagick dependency: libtool
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libtool-2.4.2.mavericks.bottle.2.tar.gz
######################################################################## 100.0%
==> Pouring libtool-2.4.2.mavericks.bottle.2.tar.gz
==> Caveats
In order to prevent conflicts with Apple's own libtool we have prepended a "g"
so, you have instead: glibtool and glibtoolize.
==> Summary
๐Ÿบ /usr/local/Cellar/libtool/2.4.2: 66 files, 2.2M
==> Installing imagemagick dependency: jpeg
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/jpeg-8d.mavericks.bottle.2.tar.gz
######################################################################## 100.0%
==> Pouring jpeg-8d.mavericks.bottle.2.tar.gz
๐Ÿบ /usr/local/Cellar/jpeg/8d: 18 files, 780K
==> Installing imagemagick dependency: libpng
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libpng-1.6.12.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libpng-1.6.12.mavericks.bottle.tar.gz
๐Ÿบ /usr/local/Cellar/libpng/1.6.12: 17 files, 1.2M
==> Installing imagemagick dependency: freetype
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/freetype-2.5.3_1.mavericks.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring freetype-2.5.3_1.mavericks.bottle.1.tar.gz
๐Ÿบ /usr/local/Cellar/freetype/2.5.3_1: 60 files, 2.5M
==> Installing imagemagick
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/imagemagick-6.8.9-1.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring imagemagick-6.8.9-1.mavericks.bottle.tar.gz
๐Ÿบ /usr/local/Cellar/imagemagick/6.8.9-1: 1432 files, 22M
Installing QT, used by Capybara Webkit for headless Javascript integration testing ...
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/qt-4.8.6.mavericks.bottle.5.tar.gz
######################################################################## 100.0%
==> Pouring qt-4.8.6.mavericks.bottle.5.tar.gz
==> Caveats
We agreed to the Qt opensource license for you.
If this is unacceptable you should uninstall.
.app bundles were installed.
Run `brew linkapps` to symlink these to /Applications.
==> Summary
๐Ÿบ /usr/local/Cellar/qt/4.8.6: 2790 files, 119M
Installing watch, to execute a program periodically and show the output ...
==> Downloading http://procps.sourceforge.net/procps-3.2.8.tar.gz
######################################################################## 100.0%
==> make watch PKG_LDFLAGS=-Wl
๐Ÿบ /usr/local/Cellar/watch/0.2.0: 8 files, 76K, built in 2 seconds
Installing NVM, Node.js, and NPM, for running apps and installing JavaScript packages ...
==> Downloading https://github.com/creationix/nvm/archive/v0.11.1.tar.gz
######################################################################## 100.0%
==> Caveats
Add the following to $HOME/.bashrc, $HOME/.zshrc, or your shell's
equivalent configuration file:
source $(brew --prefix nvm)/nvm.sh
Node installs will be lost upon upgrading nvm. Add the following above
the source line to move install location and prevent this:
export NVM_DIR=~/.nvm
Type `nvm help` for further information.
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
==> Summary
๐Ÿบ /usr/local/Cellar/nvm/0.11.1: 4 files, 32K, built in 2 seconds
######################################################################## 100.0%
Now using node v0.10.28
Setting 0.10.28 as the global default nodejs...
default -> 0.10.28 (-> v0.10.28)
Starting Postgres ...
Warning: brew services is unsupported and will be removed soon.
You should use launchctl instead.
Please feel free volunteer to support it in a tap.
Error: No such file or directory - /Users/wellmade/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
failed
Wells-Mac:~ wellmade$
@avadhbsd
Copy link

here is mine

hanging your shell to zsh ...
Changing shell for avadhdwivedi.
Password for avadhdwivedi:
chsh: no changes made

Homebrew already installed. Skipping ...

Updating Homebrew formulas ...
Already up-to-date.

Installing Postgres, a good open source relational database ...

Installing Redis, a good key-value database ...

Installing The Silver Searcher (better than ack or grep) to search the contents of files ...

Installing vim from Homebrew to get the latest version ...

Installing ctags, to index files for vim tab completion of methods, classes, variables ...

Installing tmux, to save project state and switch between projects ...

Installing reattach-to-user-namespace, for copy-paste and RubyMotion compatibility with tmux ...

Installing ImageMagick, to crop and resize images ...

Installing QT, used by Capybara Webkit for headless Javascript integration testing ...

Installing watch, to execute a program periodically and show the output ...
==> Downloading http://procps.sourceforge.net/procps-3.2.8.tar.gz
Error: Failed to download resource "watch"
Download failed: http://procps.sourceforge.net/procps-3.2.8.tar.gz
failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment