-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
install dependencies for couchbase server 2.0
dependnecies.json file now support mac osx 10.7
- Loading branch information
Farshid Ghods
committed
Nov 30, 2012
0 parents
commit 905a053
Showing
15 changed files
with
606 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
couchbase-build-dependencies | ||
|
||
usage : | ||
|
||
python ./install-deps.py -i /opt/couchbase -t /tmp/ | ||
|
||
this tool detects which operating system the user runs this tool on and finds the best | ||
match based on the projects listed in the dependencies.json file | ||
|
||
by default this tool downloads the dependencies from web location but if you | ||
want to override the web location with local directory you can use -d option | ||
|
||
all the dependencies are built with /opt/couchbase as prefix | ||
|
||
for each dependencies you will also find a build-* file which describes the steps that | ||
the build engineer or developers need to follow in order to generate those binaries from | ||
the source code. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
* mac 64-bit 10.7 | ||
curl -O http://curl.haxx.se/download/curl-7.21.4.tar.gz | ||
tar -xvf curl-7.21.4.tar.gz | ||
cd curl-7.21.4 | ||
./configure --prefix=/opt/couchbase --without-ssl --disable-shared --disable-ldap --disable-ldaps --without-libidn | ||
LD_RUN_PATH=/opt/couchbase/lib make | ||
LD_RUN_PATH=/opt/couchbase/lib make install | ||
|
||
* centos 64-bit 5 | ||
wget http://curl.haxx.se/download/curl-7.21.4.tar.gz | ||
tar -xvf curl-7.21.4.tar.gz | ||
cd curl-7.21.4 | ||
wget https://github.com/downloads/libevent/libevent/libevent-2.0.11-stable.tar.gz | ||
./configure --prefix=/opt/couchbase --disable-openssl | ||
disable-ldaps --without-libidn | ||
LD_RUN_PATH=/opt/couchbase/lib make | ||
LD_RUN_PATH=/opt/couchbase/lib make install | ||
tar -zcvf centos-5-x86-64-curl-7.21.4.tar.gz /opt/couchbase/ | ||
* centos 32-bit 5 | ||
disable-ldaps --without-libidn | ||
LD_RUN_PATH=/opt/couchbase/lib make | ||
LD_RUN_PATH=/opt/couchbase/lib make install | ||
tar -zcvf centos-5-x86-curl-7.21.4.tar.gz /opt/couchbase/ | ||
* ubuntu 64-bit 10.04 | ||
disable-ldaps --without-libidn | ||
LD_RUN_PATH=/opt/couchbase/lib make | ||
LD_RUN_PATH=/opt/couchbase/lib make install | ||
tar -zcvf ubuntu-10-04-x86-64-curl-7.21.4.tar.gz /opt/couchbase/ | ||
* ubuntu 32-bit 10.04 | ||
disable-ldaps --without-libidn | ||
LD_RUN_PATH=/opt/couchbase/lib make | ||
LD_RUN_PATH=/opt/couchbase/lib make install | ||
tar -zcvf ubuntu-10-04-x86-curl-7.21.4.tar.gz /opt/couchbase/ | ||
* windows 64-bit | ||
curl -O http://curl.haxx.se/download/curl-7.21.4.tar.gz | ||
tar -xvf curl-7.21.4.tar.gz | ||
cd curl-7.21.4 | ||
./configure --prefix=/opt/couchbase --without-ssl --disable-shared --disable-ldap --disable-ldaps --without-libidn | ||
LD_RUN_PATH=/opt/couchbase/lib make | ||
LD_RUN_PATH=/opt/couchbase/lib make install | ||
tar -zcvf win-2k8-x86-64-curl-7.21.4.tar.gz /opt/couchbase/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
* mac 64-bit 10.7 | ||
wget http://gperftools.googlecode.com/files/gperftools-2.0.tar.gz | ||
tar -xvf gperftools-2.0.tar.gz | ||
cd gperftools-2.0 | ||
./configure --prefix=/opt/couchbase --disable-static --enable-minimal CXXFLAGS=-DTCMALLOC_SMALL_BUT_SLOW | ||
make libtcmalloc_minimal.la | ||
make install-exec-am install-data-am | ||
tar -zcvf mac-10-07-x86-64-gperftools-2.0.tar.gz /opt/couchbase/ | ||
* centos 64-bit 5 | ||
wget http://gperftools.googlecode.com/files/gperftools-2.0.tar.gz | ||
tar -xvf gperftools-2.0.tar.gz | ||
cd gperftools-2.0 | ||
./configure --prefix=/opt/couchbase --disable-static --enable-minimal CXXFLAGS=-DTCMALLOC_SMALL_BUT_SLOW | ||
make libtcmalloc_minimal.la | ||
make install-exec-am install-data-am | ||
tar -zcvf centos-5-x86-64-gperftools-2.0.tar.gz /opt/couchbase/ | ||
* centos 32-bit 5 | ||
wget http://gperftools.googlecode.com/files/gperftools-2.0.tar.gz | ||
tar -xvf gperftools-2.0.tar.gz | ||
cd gperftools-2.0 | ||
./configure --prefix=/opt/couchbase --disable-static --enable-minimal CXXFLAGS=-DTCMALLOC_SMALL_BUT_SLOW | ||
make libtcmalloc_minimal.la | ||
make install-exec-am install-data-am | ||
tar -zcvf centos-5-x86-64-gperftools-2.0.tar.gz /opt/couchbase/ | ||
* ubuntu 64-bit 10.04 | ||
wget http://gperftools.googlecode.com/files/gperftools-2.0.tar.gz | ||
tar -xvf gperftools-2.0.tar.gz | ||
cd gperftools-2.0 | ||
./configure --prefix=/opt/couchbase --disable-static --enable-minimal CXXFLAGS=-DTCMALLOC_SMALL_BUT_SLOW | ||
make libtcmalloc_minimal.la | ||
make install-exec-am install-data-am | ||
tar -zcvf ubuntu-10-04-x86-64-gperftools-2.0.tar.gz /opt/couchbase/ | ||
* ubuntu 32-bit 10.04 | ||
wget http://gperftools.googlecode.com/files/gperftools-2.0.tar.gz | ||
tar -xvf gperftools-2.0.tar.gz | ||
cd gperftools-2.0 | ||
./configure --prefix=/opt/couchbase --disable-static --enable-minimal CXXFLAGS=-DTCMALLOC_SMALL_BUT_SLOW | ||
make libtcmalloc_minimal.la | ||
make install-exec-am install-data-am | ||
tar -zcvf ubuntu-10-04-x86-gperftools-2.0.tar.gz /opt/couchbase/ | ||
* windows 64-bit 2008 | ||
curl -O http://gperftools.googlecode.com/files/gperftools-2.0.tar.gz | ||
tar -xvf gperftools-2.0.tar.gz | ||
cd gperftools-2.0 | ||
./configure --prefix=/opt/couchbase --disable-static --enable-minimal CXXFLAGS=-DTCMALLOC_SMALL_BUT_SLOW | ||
make libtcmalloc_minimal.la | ||
make install-exec-am install-data-am | ||
tar -zcvf ubuntu-10-04-x86-gperftools-2.0.tar.gz /opt/couchbase/ | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
* mac 64-bit | ||
git clone git://github.com/couchbase/icu4c | ||
cd icu4c | ||
cd source && ./configure "--prefix=/opt/couchbase | ||
cd .. | ||
make -C source install | ||
tar -zcvf centos-10-7-x86-64-icu4c-894be7.tar.gz /opt/couchbase/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
* mac 64-bit 10.7 | ||
./configure --prefix=/opt/couchbase --disable-openssl | ||
make | ||
make install | ||
* centos 64-bit 5 | ||
wget https://github.com/downloads/libevent/libevent/libevent-2.0.11-stable.tar.gz | ||
tar -xvf libevent-2.0.11-stable.tar.gz | ||
cd libevent-2.0.11-stable | ||
./configure --prefix=/opt/couchbase --disable-openssl | ||
make | ||
make install | ||
tar -zcvf centos-5-x86-64-libevent-2.0.11-stable.tar.gz /opt/couchbase/ | ||
* centos 32-bit 5 | ||
wget https://github.com/downloads/libevent/libevent/libevent-2.0.11-stable.tar.gz | ||
tar -xvf libevent-2.0.11-stable.tar.gz | ||
cd libevent-2.0.11-stable | ||
./configure --prefix=/opt/couchbase --disable-openssl | ||
make | ||
make install | ||
tar -zcvf centos-5-x86-libevent-2.0.11-stable.tar.gz /opt/couchbase/ | ||
* ubuntu 64-bit 10.04 | ||
wget https://github.com/downloads/libevent/libevent/libevent-2.0.11-stable.tar.gz | ||
tar -xvf libevent-2.0.11-stable.tar.gz | ||
cd libevent-2.0.11-stable | ||
./configure --prefix=/opt/couchbase --disable-openssl | ||
make | ||
make install | ||
tar -zcvf ubuntu-10-04-x86-64-libevent-2.0.11-stable.tar.gz /opt/couchbase/ | ||
* ubuntu 32-bit 10.04 | ||
wget https://github.com/downloads/libevent/libevent/libevent-2.0.11-stable.tar.gz | ||
tar -xvf libevent-2.0.11-stable.tar.gz | ||
cd libevent-2.0.11-stable | ||
./configure --prefix=/opt/couchbase --disable-openssl | ||
make | ||
make install | ||
tar -zcvf ubuntu-10-04-x86-libevent-2.0.11-stable.tar.gz /opt/couchbase/ | ||
* windows 64-bit 2k8 | ||
wget https://github.com/downloads/libevent/libevent/libevent-2.0.11-stable.tar.gz | ||
tar -xvf libevent-2.0.11-stable.tar.gz | ||
cd libevent-2.0.11-stable | ||
./configure --prefix=/opt/couchbase --disable-openssl | ||
make | ||
make install | ||
tar -zcvf win-sk8-x86-64-libevent-2.0.11-stable.tar.gz /opt/couchbase/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
* mac 64-bit 10.7 | ||
|
||
git apply 0001-disable-usage-of-futex-syscall.patch | ||
git apply otp_R14B02-ssl-server.patch | ||
LD_RUN_PATH=/opt/couchbase/lib ./otp_build autoconf | ||
touch lib/wx/SKIP lib/megaco/SKIP | ||
LD_RUN_PATH=/opt/couchbase/lib ./configure --prefix=/opt/couchbase --enable-smp-support \ | ||
--disable-hipe --disable-fp-exceptions --enable-darwin-64bit CFLAGS="-O2 -g -DNO_JUMP_TABLE" | ||
LD_RUN_PATH=/opt/couchbase/lib make | ||
LD_RUN_PATH=/opt/couchbase/lib make install | ||
* centos 64-bit 5 | ||
git apply otp_R14B02-64bit.patch || true | ||
git apply 0001-disable-usage-of-futex-syscall.patch | ||
git apply otp_R14B02-ssl-server.patch | ||
LD_RUN_PATH=/opt/couchbase/lib ./otp_build autoconf \ | ||
touch lib/wx/SKIP lib/megaco/SKIP | ||
LD_RUN_PATH=/opt/couchbase/lib ./configure --prefix=/opt/couchbase --enable-smp-support \ | ||
--disable-hipe --disable-fp-exceptions --enable-darwin-64bit CFLAGS="-O2 -g -DNO_JUMP_TABLE" | ||
LD_RUN_PATH=/opt/couchbase/lib make | ||
LD_RUN_PATH=/opt/couchbase/lib make install | ||
* centos 32-bit 5 | ||
git apply otp_R14B02-64bit.patch || true | ||
git apply 0001-disable-usage-of-futex-syscall.patch | ||
git apply otp_R14B02-ssl-server.patch | ||
LD_RUN_PATH=/opt/couchbase/lib ./otp_build autoconf \ | ||
touch lib/wx/SKIP lib/megaco/SKIP | ||
LD_RUN_PATH=/opt/couchbase/lib ./configure --prefix=/opt/couchbase --enable-smp-support \ | ||
--disable-hipe --disable-fp-exceptions --enable-darwin-64bit CFLAGS="-O2 -g -DNO_JUMP_TABLE" | ||
LD_RUN_PATH=/opt/couchbase/lib make | ||
LD_RUN_PATH=/opt/couchbase/lib make install | ||
* ubuntu 64-bit 10.04 | ||
git apply otp_R14B02-64bit.patch || true | ||
git apply 0001-disable-usage-of-futex-syscall.patch | ||
git apply otp_R14B02-ssl-server.patch | ||
LD_RUN_PATH=/opt/couchbase/lib ./otp_build autoconf \ | ||
touch lib/wx/SKIP lib/megaco/SKIP | ||
LD_RUN_PATH=/opt/couchbase/lib ./configure --prefix=/opt/couchbase --enable-smp-support \ | ||
--disable-hipe --disable-fp-exceptions --enable-darwin-64bit CFLAGS="-O2 -g -DNO_JUMP_TABLE" | ||
LD_RUN_PATH=/opt/couchbase/lib make | ||
LD_RUN_PATH=/opt/couchbase/lib make install | ||
* ubuntu 32-bit 10.04 | ||
git apply otp_R14B02-64bit.patch || true | ||
git apply 0001-disable-usage-of-futex-syscall.patch | ||
git apply otp_R14B02-ssl-server.patch | ||
LD_RUN_PATH=/opt/couchbase/lib ./otp_build autoconf \ | ||
touch lib/wx/SKIP lib/megaco/SKIP | ||
LD_RUN_PATH=/opt/couchbase/lib ./configure --prefix=/opt/couchbase --enable-smp-support \ | ||
--disable-hipe --disable-fp-exceptions --enable-darwin-64bit CFLAGS="-O2 -g -DNO_JUMP_TABLE" | ||
LD_RUN_PATH=/opt/couchbase/lib make | ||
LD_RUN_PATH=/opt/couchbase/lib make install |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
* centos 64-bit | ||
mkdir -p /opt/couchbase/lib/python | ||
python2.6 setup.py config -I /opt/couchbase/include -L /opt/couchbase/lib build | ||
cd build/lib* && tar czf pysqlite2.tar pysqlite2 | ||
mv pysqlite2.tar /opt/couchbase/lib/python |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
* mac 64-bit 10.7 | ||
git clone git://github.com/couchbase/snappy | ||
cd snappy | ||
git reset --hard 5681dde156e9d07adbeeab79666c9a9d7a10ec95 | ||
./configure --prefix=/opt/couchbase | ||
make LDFLAGS=" -no-undefined" | ||
make install | ||
tar -zcvf tar -zcvf centos-5-x86-64-snappy-894be7.tar.gz /opt/couchbase/ | ||
* centos 64-bit 5 | ||
git clone git://github.com/couchbase/snappy | ||
cd snappy | ||
git reset --hard 5681dde156e9d07adbeeab79666c9a9d7a10ec95 | ||
./configure --prefix=/opt/couchbase | ||
make LDFLAGS=" -no-undefined" | ||
make install | ||
tar -zcvf tar -zcvf centos-5-x86-64-snappy-894be7.tar.gz /opt/couchbase/ | ||
* centos 32-bit 5 | ||
./configure --prefix=/opt/couchbase | ||
make LDFLAGS=" -no-undefined" | ||
make install | ||
* ubuntu 64-bit 10.04 | ||
./configure --prefix=/opt/couchbase | ||
make LDFLAGS=" -no-undefined" | ||
make install | ||
* ubuntu 32-bit 10.04 | ||
./configure --prefix=/opt/couchbase | ||
make LDFLAGS=" -no-undefined" | ||
make install | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
git clone git://github.com/couchbase/v8 | ||
git checkout 3.9.7 | ||
scons -j 8 arch=x86_64 mode=release snapshot=on library=shared visibility=default | ||
cp libv8.* /opt/couchbase/lib | ||
cp include/* /opt/couchbase/include | ||
echo "447decb75060a106131ab4de934bcc374648e7f2" > /opt/couchbase/lib/libv8.ver | ||
tar -zcvf centos-5-x86-64-curl-7.21.4.tar.gz /opt/couchbase/ |
Empty file.
Oops, something went wrong.