From 7cdbb88124bd62795d16dbaa9493e5ee0d68f38a Mon Sep 17 00:00:00 2001 From: Chris Anderson Date: Tue, 8 May 2012 10:46:28 -0700 Subject: [PATCH 1/6] Update README to avoid short names for brew packages. Using the longer names avoids a symlinking error in the `make install` step. --- README.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index 75697cc2b..727bb1170 100644 --- a/README.markdown +++ b/README.markdown @@ -8,9 +8,9 @@ Using [homebrew][homebrew] and the ruby that ships with a recent OS X, you can easily install the dependencies using the following commands: sudo easy_install -U pyrex - brew install bzr --system + brew install bazaar --system brew install libevent - brew install gpg + brew install gnupg Optionally, you can install repo from homebrew as well: From cf56208b3ab154319e65a3d743c47809bbbc9ca8 Mon Sep 17 00:00:00 2001 From: Chris Anderson Date: Tue, 8 May 2012 10:50:54 -0700 Subject: [PATCH 2/6] Add a hint to the README about the correct argument for -m --- README.markdown | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.markdown b/README.markdown index 727bb1170..db7bcb866 100644 --- a/README.markdown +++ b/README.markdown @@ -53,6 +53,9 @@ Get the latest version from [the google project page](http://code.google.com/p/g ## Clone the Manifest +For `` below, you probably want to use `branch-2.0.xml` unless you are working on a +maintenance or experimental branch. + $ mkdir couchbase $ cd couchbase $ repo init -u git://github.com/membase/manifest.git -m From 22e6009ea97484c607cab6b5cdeef4e7d1fff092 Mon Sep 17 00:00:00 2001 From: Chris Anderson Date: Tue, 8 May 2012 12:17:40 -0700 Subject: [PATCH 3/6] add snappy to list of dependencies for OSX. may need to be added to other platforms as well. --- README.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/README.markdown b/README.markdown index db7bcb866..05dfb9e15 100644 --- a/README.markdown +++ b/README.markdown @@ -11,6 +11,7 @@ you can easily install the dependencies using the following commands: brew install bazaar --system brew install libevent brew install gnupg + brew install snappy Optionally, you can install repo from homebrew as well: From cc6ca74ecae78a5b9cf1e21d2f542607c18d720f Mon Sep 17 00:00:00 2001 From: Chris Anderson Date: Tue, 8 May 2012 13:05:04 -0700 Subject: [PATCH 4/6] Add v8 to the list of dependencies on OS X. --- README.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/README.markdown b/README.markdown index 05dfb9e15..277212cca 100644 --- a/README.markdown +++ b/README.markdown @@ -11,6 +11,7 @@ you can easily install the dependencies using the following commands: brew install bazaar --system brew install libevent brew install gnupg + brew install v8 brew install snappy Optionally, you can install repo from homebrew as well: From 7144f10ba22a0c7d4ddfcf16265a55b4cebb61a6 Mon Sep 17 00:00:00 2001 From: Chris Anderson Date: Tue, 8 May 2012 13:18:29 -0700 Subject: [PATCH 5/6] add erlang to the list of brew dependencies --- README.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/README.markdown b/README.markdown index 277212cca..3cf5a86f9 100644 --- a/README.markdown +++ b/README.markdown @@ -13,6 +13,7 @@ you can easily install the dependencies using the following commands: brew install gnupg brew install v8 brew install snappy + brew install erlang Optionally, you can install repo from homebrew as well: From 112c94064278fe71730ddf419c1ba717e7700c8a Mon Sep 17 00:00:00 2001 From: Chris Anderson Date: Tue, 8 May 2012 13:55:20 -0700 Subject: [PATCH 6/6] add a note about Sigar needing a symlink to find headers on OS X with newer Xcode versions --- README.markdown | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.markdown b/README.markdown index 3cf5a86f9..992c49119 100644 --- a/README.markdown +++ b/README.markdown @@ -19,6 +19,13 @@ Optionally, you can install repo from homebrew as well: brew install repo +If you have a recent version of Xcode (4.3+), it no longer lives in the `/Developer` directory. This +will cause one of the subcomponents (Sigar) to fail to build. For the time being the workaround is to create +a symbolic link from the old (expected) header files directory, to the new place Xcode likes to keep +it's headers. Do it like this: + + sudo ln -s /Applications/Xcode.app/Contents/Developer /Developer + ### Debian/Ubuntu: The following works for a clean Debian stable (squeeze) installation (under root):