Created
December 11, 2012 08:40
-
-
Save ingenthr/4257050 to your computer and use it in GitHub Desktop.
Testing libcouchbase 2.0 with diferent event backends
This file contains 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
brew uninstall libcouchbase | |
brew uninstall libcouchbase | |
brew uninstall libev | |
brew uninstall libevent | |
# pass one, test with default libevent | |
brew install https://github.com/couchbase/homebrew/raw/stable/Library/Formula/libcouchbase.rb && \ | |
cbc cp ~/.bashrc && cbc view _all_docs?stale=false | head && \ | |
brew uninstall libcouchbase && brew uninstall libevent && \\ | |
# pass two, install with just libev | |
brew install --with-libev-plugin --without-libevent-plugin https://github.com/couchbase/homebrew/raw/stable/Library/Formula/libcouchbase.rb && \ | |
cbc cp ~/.bashrc && cbc view _all_docs?stale=false | head |
This file contains 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
ingenthr-mbp:~ ingenthr$ brew uninstall libcouchbase | |
Uninstalling /usr/local/Cellar/libcouchbase/2.0.1... | |
ingenthr-mbp:~ ingenthr$ brew uninstall libcouchbase | |
Error: No such keg: /usr/local/Cellar/libcouchbase | |
ingenthr-mbp:~ ingenthr$ brew uninstall libev | |
Uninstalling /usr/local/Cellar/libev/4.11... | |
ingenthr-mbp:~ ingenthr$ brew uninstall libevent | |
Error: No such keg: /usr/local/Cellar/libevent | |
ingenthr-mbp:~ ingenthr$ # pass one, test with default libevent | |
ingenthr-mbp:~ ingenthr$ brew install https://github.com/couchbase/homebrew/raw/stable/Library/Formula/libcouchbase.rb && \ | |
> cbc cp ~/.bashrc && cbc view _all_docs?stale=false | head && \ | |
> brew uninstall libcouchbase && brew uninstall libevent && \\ | |
0.0% | |
# pass two, install with just libev | |
brew install --with-libev-plugin --without-libevent-plugin https://github.com/couchbase/homebrew/raw/stable/Library/Formula/libcouchbase.rb && \ | |
cbc cp ~/.bashrc && cbc view _all_docs?stale=false | head | |
######################################################################## 100.0% | |
==> Installing libcouchbase dependency: libevent | |
==> Downloading https://github.com/downloads/libevent/libevent/libevent-2.0.20-s | |
Already downloaded: /Library/Caches/Homebrew/libevent-2.0.20.tar.gz | |
==> ./configure --disable-debug-mode --prefix=/usr/local/Cellar/libevent/2.0.20 | |
==> make | |
==> make install | |
/usr/local/Cellar/libevent/2.0.20: 48 files, 1.9M, built in 48 seconds | |
==> Installing libcouchbase | |
==> Downloading http://packages.couchbase.com/clients/c/libcouchbase-2.0.1.tar.g | |
Already downloaded: /Library/Caches/Homebrew/libcouchbase-2.0.1.tar.gz | |
==> ./configure --prefix=/usr/local/Cellar/libcouchbase/2.0.1 --disable-examples | |
==> make install | |
/usr/local/Cellar/libcouchbase/2.0.1: 39 files, 612K, built in 27 seconds | |
Stored "/Users/ingenthr/.bashrc" CAS:3ed9165cbd160000 | |
Transfer-Encoding: chunked | |
Server: MochiWeb/1.0 (Any of you quaids got a smint?) | |
Date: Tue, 11 Dec 2012 08:39:14 GMT | |
Content-Type: application/json | |
Cache-Control: must-revalidate | |
"_all_docs?stale=false": OK Size:63369 | |
{"total_rows":648,"rows":[ | |
{"id":"/Users/ingenthr/.bashrc","key":"/Users/ingenthr/.bashrc","value":{"rev":"11-000016bd5c16d93e0000000000000000"}}, | |
{"id":"README.markdown","key":"README.markdown","value":{"rev":"3-000000a1c0e417f30000000000000000"}}, | |
{"id":"bogus10","key":"bogus10","value":{"rev":"1-00000bce76a0e33e0000000000000000"}}, | |
{"id":"iter1","key":"iter1","value":{"rev":"1-00000bce7621079b0000000000000000"}}, | |
{"id":"iter10","key":"iter10","value":{"rev":"1-00000bce768401870000000000000000"}}, | |
{"id":"iter11","key":"iter11","value":{"rev":"1-00000bce768b256e0000000000000000"}}, | |
{"id":"iter12","key":"iter12","value":{"rev":"1-00000bce768bb9900000000000000000"}}, | |
{"id":"iter13","key":"iter13","value":{"rev":"1-00000bce769e835e0000000000000000"}}, | |
{"id":"iter14","key":"iter14","value":{"rev":"1-00000bce769eefdb0000000000000000"}}, | |
Uninstalling /usr/local/Cellar/libcouchbase/2.0.1... | |
Uninstalling /usr/local/Cellar/libevent/2.0.20... | |
-bash: \: command not found | |
ingenthr-mbp:~ ingenthr$ # pass two, disabled because libevent and libev conflict over event.h :( | |
ingenthr-mbp:~ ingenthr$ #brew install --with-libev-plugin https://github.com/couchbase/homebrew/raw/stable/Library/Formula/libcouchbase.rb && \ | |
ingenthr-mbp:~ ingenthr$ #cbc cp ~/.bashrc && cbc view _all_docs?stale=false | head && \ | |
ingenthr-mbp:~ ingenthr$ #brew uninstall libcouchbase && \ | |
ingenthr-mbp:~ ingenthr$ # pass three, install with just libev | |
ingenthr-mbp:~ ingenthr$ brew install --with-libev-plugin --without-libevent-plugin https://github.com/couchbase/homebrew/raw/stable/Library/Formula/libcouchbase.rb && \ | |
> cbc cp ~/.bashrc && cbc view _all_docs?stale=false | head | |
######################################################################## 100.0% | |
==> Installing libcouchbase dependency: libev | |
==> Downloading http://dist.schmorp.de/libev/Attic/libev-4.11.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/libev-4.11.tar.gz | |
==> ./configure --prefix=/usr/local/Cellar/libev/4.11 --mandir=/usr/local/Cellar | |
==> make install | |
/usr/local/Cellar/libev/4.11: 10 files, 612K, built in 10 seconds | |
==> Installing libcouchbase | |
==> Downloading http://packages.couchbase.com/clients/c/libcouchbase-2.0.1.tar.g | |
Already downloaded: /Library/Caches/Homebrew/libcouchbase-2.0.1.tar.gz | |
==> ./configure --prefix=/usr/local/Cellar/libcouchbase/2.0.1 --disable-examples | |
==> make install | |
/usr/local/Cellar/libcouchbase/2.0.1: 39 files, 612K, built in 26 seconds | |
Stored "/Users/ingenthr/.bashrc" CAS:2490ac93c6160000 | |
Transfer-Encoding: chunked | |
Server: MochiWeb/1.0 (Any of you quaids got a smint?) | |
Date: Tue, 11 Dec 2012 08:39:53 GMT | |
Content-Type: application/json | |
Cache-Control: must-revalidate | |
"_all_docs?stale=false": OK Size:63369 | |
{"total_rows":648,"rows":[ | |
{"id":"/Users/ingenthr/.bashrc","key":"/Users/ingenthr/.bashrc","value":{"rev":"12-000016c693ac90240000000000000000"}}, | |
{"id":"README.markdown","key":"README.markdown","value":{"rev":"3-000000a1c0e417f30000000000000000"}}, | |
{"id":"bogus10","key":"bogus10","value":{"rev":"1-00000bce76a0e33e0000000000000000"}}, | |
{"id":"iter1","key":"iter1","value":{"rev":"1-00000bce7621079b0000000000000000"}}, | |
{"id":"iter10","key":"iter10","value":{"rev":"1-00000bce768401870000000000000000"}}, | |
{"id":"iter11","key":"iter11","value":{"rev":"1-00000bce768b256e0000000000000000"}}, | |
{"id":"iter12","key":"iter12","value":{"rev":"1-00000bce768bb9900000000000000000"}}, | |
{"id":"iter13","key":"iter13","value":{"rev":"1-00000bce769e835e0000000000000000"}}, | |
{"id":"iter14","key":"iter14","value":{"rev":"1-00000bce769eefdb0000000000000000"}}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment