Skip to content

Instantly share code, notes, and snippets.

@jschoolcraft
Created April 2, 2010 13:17
Show Gist options
  • Select an option

  • Save jschoolcraft/353120 to your computer and use it in GitHub Desktop.

Select an option

Save jschoolcraft/353120 to your computer and use it in GitHub Desktop.
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/Formula/...
/usr/local/Library/Homebrew/...
==> The following directories will be made group writable:
/usr/local/bin
/usr/local/.
==> The following directories will have their group set to staff:
/usr/local/bin
/usr/local/.
Press enter to continue
==> sudo /bin/chmod g+w /usr/local/bin /usr/local/.
Password:
==> sudo /usr/bin/chgrp staff /usr/local/bin /usr/local/.
==> Downloading and Installing Homebrew...
==> Installation successful!
Yay! Now learn to brew:
brew help
[~] brew help
Usage: brew command [formula] ...
Usage: brew [--prefix] [--cache] [--version|-v]
Usage: brew [--verbose|-v]
Principle Commands:
install formula ... [--ignore-dependencies] [--HEAD|-H]
list [--unbrewed] [formula] ...
search [/regex/] [substring]
uninstall formula ...
update
Other Commands:
cleanup [formula]
home formula ...
info [formula] [--github]
link formula ...
outdated
prune
unlink formula ...
Commands useful when contributing:
create URL
edit [formula]
log formula
install formula [--debug|-d] [--interactive|-i] [--verbose|-v]
To visit the Homebrew homepage type:
brew home
[~] brew home
[~] brew search irssi
irssi
[~] brew install irssi
Warning: It appears you have Macports or Fink installed
Although, unlikely, this can break builds or cause obscure runtime issues.
If you experience problems try uninstalling these tools.
==> Downloading http://pkgconfig.freedesktop.org/releases/pkg-config-0.23.tar.gz
######################################################################## 100.0%
==> ./configure --with-pc-path=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/X11/lib/pkgconfig --disable-debug --pref
==> make install
/usr/local/Cellar/pkg-config/0.23: 7 files, 220K, built in 22 seconds
==> Downloading http://ftp.gnu.org/pub/gnu/gettext/gettext-0.17.tar.gz
######################################################################## 100.0%
==> Patching
######################################################################## 100.0%
patching file gettext-runtime/gnulib-lib/setenv.c
patching file gettext-tools/gnulib-lib/execute.c
patching file gettext-tools/gnulib-lib/pipe.c
patching file gettext-tools/gnulib-lib/setenv.c
patching file gettext-tools/gnulib-lib/unsetenv.c
==> ./configure --disable-debug --prefix=/usr/local/Cellar/gettext/0.17 --disable-dependency-tracking --without-emacs --
br==> make
==> make install
==> Caveats
gettext is keg-only. This means it is not symlinked into Homebrew's
prefix. The formula provides the following rationale:
OS X provides the BSD gettext library and some software gets confused if both are in the library path.
Generally there are no consequences of this for you, however if you build your
own software and it requires this formula, you may want to run this command to
link it into the Homebrew prefix:
brew link gettext
==> Summary
/usr/local/Cellar/gettext/0.17: 350 files, 8.9M, built in 2.3 minutes
==> Downloading http://ftp.gnome.org/pub/gnome/sources/glib/2.22/glib-2.22.4.tar.bz2
######################################################################## 100.0%
==> Downloading http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.13.1.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/private/tmp/homebrew-glib-2.22.4-EyXp/glib-2.22.4/iconv --disable-debug --disable-dependency-t
==> make install
==> ./configure --disable-debug --prefix=/usr/local/Cellar/glib/2.22.4 --disable-dependency-tracking --disable-rebuilds
==> make
==> make install
/usr/local/Cellar/glib/2.22.4: 280 files, 7.0M, built in 76 seconds
==> Downloading http://irssi.org/files/irssi-0.8.14.tar.bz2
######################################################################## 100.0%
==> Patching
patching file configure
==> ./configure --prefix=/usr/local/Cellar/irssi/0.8.14 --disable-debug --disable-dependency-tracking --with-modules --e
configure: WARNING: unrecognized options: --disable-debug
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... /usr/bin/cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/cc accepts -g... yes
checking for /usr/bin/cc option to accept ISO C89... none needed
checking dependency style of /usr/bin/cc... none
checking for library containing strerror... none required
checking for gcc... (cached) /usr/bin/cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/cc accepts -g... (cached) yes
checking for /usr/bin/cc option to accept ISO C89... (cached) none needed
checking dependency style of /usr/bin/cc... (cached) none
checking how to run the C preprocessor... /usr/bin/cc -E
checking build system type... i386-apple-darwin10.3.0
checking host system type... i386-apple-darwin10.3.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by /usr/bin/cc... /usr/bin/cc
checking if the linker (/usr/bin/cc) is GNU ld... no
checking for /usr/bin/cc option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/c++ accepts -g... yes
checking dependency style of /usr/bin/c++... none
checking how to run the C++ preprocessor... /usr/bin/c++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm output from /usr/bin/cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for correct ltmain.sh version... yes
checking if /usr/bin/cc supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/cc option to produce PIC... -fno-common
checking if /usr/bin/cc PIC flag -fno-common works... yes
checking if /usr/bin/cc static flag -static works... no
checking if /usr/bin/cc supports -c -o file.o... yes
checking whether the /usr/bin/cc linker (/usr/bin/cc) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.3.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by /usr/bin/c++... /usr/bin/cc
checking if the linker (/usr/bin/cc) is GNU ld... no
checking whether the /usr/bin/c++ linker (/usr/bin/cc) supports shared libraries... yes
checking for /usr/bin/c++ option to produce PIC... -fno-common
checking if /usr/bin/c++ PIC flag -fno-common works... yes
checking if /usr/bin/c++ static flag -static works... no
checking if /usr/bin/c++ supports -c -o file.o... yes
checking whether the /usr/bin/c++ linker (/usr/bin/cc) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.3.0 dyld
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for sed... /usr/bin/sed
checking for perl... /opt/local/bin/perl
checking for unistd.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for socket... yes
checking for inet_addr... yes
checking for socklen_t... yes
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of off_t... 8
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.7... yes
checking for GLIB - version >= 2.6.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
*** trying without -lgmodule
checking for pkg-config... (cached) /opt/local/bin/pkg-config
checking pkg-config is at least version 0.7... yes
checking for GLIB - version >= 2.6.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
*** If you don't have GLIB, you can get it from ftp://ftp.gtk.org/pub/glib/
*** We recommend you get the latest stable GLIB 2 version.
*** Compile and install it, and make sure pkg-config finds it,
*** by adding the path where the .pc file is located to PKG_CONFIG_PATH
configure: error: GLIB is required to build irssi.
Exit status: 1
http://github.com/mxcl/homebrew/blob/master/Library/Formula/irssi.rb#L25
==> Environment
HOMEBREW_VERSION: 0.6
HEAD:
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_CACHE: /Users/jschoolcraft/Library/Caches/Homebrew
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: 8-core 64-bit penryn
OS X: 10.6.3
Kernel Architecture: i386
Ruby: 1.8.7-173
GCC-4.0: build 5493 (5493 or newer recommended)
GCC-4.2: build 5646 (5646 or newer recommended)
LLVM: build 2206 (2206 or newer recommended)
MacPorts or Fink? /opt/local/bin/port
X11 installed? true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment