Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

updated build-dep... shell script

  • Loading branch information...
commit c59016716b9875331b96b085b380fc911625d99f 1 parent 54b8a07
Farshid Ghods authored
13 centos/5/32-bit/build-dependencies.sh
... ... @@ -1,9 +1,9 @@
1 1 #building all of the required dependencies for ubuntu 64-bit
2 2 # curl , libevent, v8, icu4c, gperftools, snappy and erlang otp
3 3 currentdir=`pwd`
4   -rm -rf curl-7.21.4
  4 +rm -rf curl-7.21.4*
5 5 rm -rf /opt/couchbase/*
6   -curl -O http://curl.haxx.se/download/curl-7.21.4.tar.gz
  6 +wget http://curl.haxx.se/download/curl-7.21.4.tar.gz
7 7 tar -xvf curl-7.21.4.tar.gz
8 8 cd curl-7.21.4
9 9 ./configure --prefix=/opt/couchbase --without-ssl --disable-shared --disable-ldap --disable-ldaps --without-libidn CFLAGS="-O2 -g"
@@ -25,9 +25,11 @@ cp centos-5-x86-libevent-2.0.11-stable.tar.gz $currentdir/
25 25 cd $currentdir
26 26 rm -rf /opt/couchbase/*
27 27 rm -rf v8
  28 +mkdir -p /opt/couchbase/lib
  29 +mkdir -p /opt/couchbase/include
28 30 git clone git://github.com/couchbase/v8
29 31 git checkout 3.9.7
30   -scons -j 8 arch=ia32 mode=release snapshot=on library=shared visibility=default
  32 +scons -j 8 arch=xia32 mode=release snapshot=on library=shared visibility=default
31 33 cp libv8.* /opt/couchbase/lib
32 34 cp include/* /opt/couchbase/include
33 35 echo "447decb75060a106131ab4de934bcc374648e7f2" > /opt/couchbase/lib/libv8.ver
@@ -120,9 +122,8 @@ git apply 0001-disable-usage-of-futex-syscall.patch
120 122 git apply otp_R14B02-ssl-server.patch
121 123 LD_RUN_PATH=/opt/couchbase/lib ./otp_build autoconf
122 124 touch lib/wx/SKIP lib/megaco/SKIP
123   -LD_RUN_PATH=/opt/couchbase/lib ./configure --prefix=/opt/couchbase --enable-smp-support \
124   ---disable-hipe --disable-fp-exceptions --enable-darwin-64bit CFLAGS="-O2 -g -DNO_JUMP_TABLE"
  125 +LD_RUN_PATH=/opt/couchbase/lib ./configure --prefix=/opt/couchbase --enable-smp-support --disable-hipe --disable-fp-exceptions CFLAGS="-O2 -g"
125 126 LD_RUN_PATH=/opt/couchbase/lib make
126 127 LD_RUN_PATH=/opt/couchbase/lib make install
127 128 tar -zcvf centos-5-x86-otp-OTP_R14B04.tar.gz /opt/couchbase
128   -cp centos-5-x86-otp-OTP_R14B04.tar.gz $currentdir/
  129 +cp centos-5-x86-otp-OTP_R14B04.tar.gz $currentdir/
11 centos/5/64-bit/build-dependencies.sh
... ... @@ -1,9 +1,9 @@
1 1 #building all of the required dependencies for ubuntu 64-bit
2 2 # curl , libevent, v8, icu4c, gperftools, snappy and erlang otp
3 3 currentdir=`pwd`
4   -rm -rf curl-7.21.4
  4 +rm -rf curl-7.21.4*
5 5 rm -rf /opt/couchbase/*
6   -curl -O http://curl.haxx.se/download/curl-7.21.4.tar.gz
  6 +wget http://curl.haxx.se/download/curl-7.21.4.tar.gz
7 7 tar -xvf curl-7.21.4.tar.gz
8 8 cd curl-7.21.4
9 9 ./configure --prefix=/opt/couchbase --without-ssl --disable-shared --disable-ldap --disable-ldaps --without-libidn CFLAGS="-O2 -g"
@@ -25,9 +25,11 @@ cp centos-5-x86-64-libevent-2.0.11-stable.tar.gz $currentdir/
25 25 cd $currentdir
26 26 rm -rf /opt/couchbase/*
27 27 rm -rf v8
  28 +mkdir -p /opt/couchbase/lib
  29 +mkdir -p /opt/couchbase/include
28 30 git clone git://github.com/couchbase/v8
29 31 git checkout 3.9.7
30   -scons -j 8 arch=x86_64 mode=release snapshot=on library=shared visibility=default
  32 +scons -j 8 arch=x64 mode=release snapshot=on library=shared visibility=default
31 33 cp libv8.* /opt/couchbase/lib
32 34 cp include/* /opt/couchbase/include
33 35 echo "447decb75060a106131ab4de934bcc374648e7f2" > /opt/couchbase/lib/libv8.ver
@@ -120,8 +122,7 @@ git apply 0001-disable-usage-of-futex-syscall.patch
120 122 git apply otp_R14B02-ssl-server.patch
121 123 LD_RUN_PATH=/opt/couchbase/lib ./otp_build autoconf
122 124 touch lib/wx/SKIP lib/megaco/SKIP
123   -LD_RUN_PATH=/opt/couchbase/lib ./configure --prefix=/opt/couchbase --enable-smp-support \
124   ---disable-hipe --disable-fp-exceptions --enable-darwin-64bit CFLAGS="-O2 -g -DNO_JUMP_TABLE"
  125 +LD_RUN_PATH=/opt/couchbase/lib ./configure --prefix=/opt/couchbase --enable-smp-support --disable-hipe --disable-fp-exceptions CFLAGS="-O2 -g"
125 126 LD_RUN_PATH=/opt/couchbase/lib make
126 127 LD_RUN_PATH=/opt/couchbase/lib make install
127 128 tar -zcvf centos-5-x86-64-otp-OTP_R14B04.tar.gz /opt/couchbase
6 mac/10.8/64-bit/build-dependencies.sh
... ... @@ -1,7 +1,7 @@
1 1 #building all of the required dependencies for ubuntu 64-bit
2 2 # curl , libevent, v8, icu4c, gperftools, snappy and erlang otp
3 3 currentdir=`pwd`
4   -rm -rf curl-7.21.4
  4 +rm -rf curl-7.21.4*
5 5 rm -rf /opt/couchbase/*
6 6 curl -O http://curl.haxx.se/download/curl-7.21.4.tar.gz
7 7 tar -xvf curl-7.21.4.tar.gz
@@ -25,9 +25,11 @@ cp centos-5-x86-64-libevent-2.0.11-stable.tar.gz $currentdir/
25 25 cd $currentdir
26 26 rm -rf /opt/couchbase/*
27 27 rm -rf v8
  28 +mkdir -p /opt/couchbase/lib
  29 +mkdir -p /opt/couchbase/include
28 30 git clone git://github.com/couchbase/v8
29 31 git checkout 3.9.7
30   -scons -j 8 arch=x86_64 mode=release snapshot=on library=shared visibility=default
  32 +scons -j 8 arch=x64 mode=release snapshot=on library=shared visibility=default
31 33 cp libv8.* /opt/couchbase/lib
32 34 cp include/* /opt/couchbase/include
33 35 echo "447decb75060a106131ab4de934bcc374648e7f2" > /opt/couchbase/lib/libv8.ver
11 ubuntu/10.04/32-bit/build-dependencies.sh
... ... @@ -1,9 +1,9 @@
1 1 #building all of the required dependencies for ubuntu 64-bit
2 2 # curl , libevent, v8, icu4c, gperftools, snappy and erlang otp
3 3 currentdir=`pwd`
4   -rm -rf curl-7.21.4
  4 +rm -rf curl-7.21.4*
5 5 rm -rf /opt/couchbase/*
6   -curl -O http://curl.haxx.se/download/curl-7.21.4.tar.gz
  6 +wget http://curl.haxx.se/download/curl-7.21.4.tar.gz
7 7 tar -xvf curl-7.21.4.tar.gz
8 8 cd curl-7.21.4
9 9 ./configure --prefix=/opt/couchbase --without-ssl --disable-shared --disable-ldap --disable-ldaps --without-libidn CFLAGS="-O2 -g"
@@ -25,6 +25,8 @@ cp ubuntu-10-04-x86-libevent-2.0.11-stable.tar.gz $currentdir/
25 25 cd $currentdir
26 26 rm -rf /opt/couchbase/*
27 27 rm -rf v8
  28 +mkdir -p /opt/couchbase/lib
  29 +mkdir -p /opt/couchbase/include
28 30 git clone git://github.com/couchbase/v8
29 31 git checkout 3.9.7
30 32 scons -j 8 arch=ia32 mode=release snapshot=on library=shared visibility=default
@@ -113,9 +115,8 @@ git apply 0001-disable-usage-of-futex-syscall.patch
113 115 git apply otp_R14B02-ssl-server.patch
114 116 LD_RUN_PATH=/opt/couchbase/lib ./otp_build autoconf
115 117 touch lib/wx/SKIP lib/megaco/SKIP
116   -LD_RUN_PATH=/opt/couchbase/lib ./configure --prefix=/opt/couchbase --enable-smp-support \
117   ---disable-hipe --disable-fp-exceptions --enable-darwin-64bit CFLAGS="-O2 -g -DNO_JUMP_TABLE"
  118 +LD_RUN_PATH=/opt/couchbase/lib ./configure --prefix=/opt/couchbase --enable-smp-support --disable-hipe --disable-fp-exceptions CFLAGS="-O2 -g"
118 119 LD_RUN_PATH=/opt/couchbase/lib make
119 120 LD_RUN_PATH=/opt/couchbase/lib make install
120 121 tar -zcvf ubuntu-10-04-x86-otp-OTP_R14B04.tar.gz /opt/couchbase
121   -cp ubuntu-10-04-x86-otp-OTP_R14B04.tar.gz $currentdir/
  122 +cp ubuntu-10-04-x86-otp-OTP_R14B04.tar.gz $currentdir/
11 ubuntu/10.04/64-bit/build-dependencies.sh
... ... @@ -1,9 +1,9 @@
1 1 #building all of the required dependencies for ubuntu 64-bit
2 2 # curl , libevent, v8, icu4c, gperftools, snappy and erlang otp
3 3 currentdir=`pwd`
4   -rm -rf curl-7.21.4
  4 +rm -rf curl-7.21.4*
5 5 rm -rf /opt/couchbase/*
6   -curl -O http://curl.haxx.se/download/curl-7.21.4.tar.gz
  6 +wget http://curl.haxx.se/download/curl-7.21.4.tar.gz
7 7 tar -xvf curl-7.21.4.tar.gz
8 8 cd curl-7.21.4
9 9 ./configure --prefix=/opt/couchbase --without-ssl --disable-shared --disable-ldap --disable-ldaps --without-libidn CFLAGS="-O2 -g"
@@ -25,9 +25,11 @@ cp ubuntu-10-04-x86-64-libevent-2.0.11-stable.tar.gz $currentdir/
25 25 cd $currentdir
26 26 rm -rf /opt/couchbase/*
27 27 rm -rf v8
  28 +mkdir -p /opt/couchbase/lib
  29 +mkdir -p /opt/couchbase/include
28 30 git clone git://github.com/couchbase/v8
29 31 git checkout 3.9.7
30   -scons -j 8 arch=x86_64 mode=release snapshot=on library=shared visibility=default
  32 +scons -j 8 arch=x64 mode=release snapshot=on library=shared visibility=default
31 33 cp libv8.* /opt/couchbase/lib
32 34 cp include/* /opt/couchbase/include
33 35 echo "447decb75060a106131ab4de934bcc374648e7f2" > /opt/couchbase/lib/libv8.ver
@@ -113,8 +115,7 @@ git apply 0001-disable-usage-of-futex-syscall.patch
113 115 git apply otp_R14B02-ssl-server.patch
114 116 LD_RUN_PATH=/opt/couchbase/lib ./otp_build autoconf
115 117 touch lib/wx/SKIP lib/megaco/SKIP
116   -LD_RUN_PATH=/opt/couchbase/lib ./configure --prefix=/opt/couchbase --enable-smp-support \
117   ---disable-hipe --disable-fp-exceptions --enable-darwin-64bit CFLAGS="-O2 -g -DNO_JUMP_TABLE"
  118 +LD_RUN_PATH=/opt/couchbase/lib ./configure --prefix=/opt/couchbase --enable-smp-support --disable-hipe --disable-fp-exceptions CFLAGS="-O2 -g"
118 119 LD_RUN_PATH=/opt/couchbase/lib make
119 120 LD_RUN_PATH=/opt/couchbase/lib make install
120 121 tar -zcvf ubuntu-10-04-x86-64-otp-OTP_R14B04.tar.gz /opt/couchbase

0 comments on commit c590167

Please sign in to comment.
Something went wrong with that request. Please try again.