couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Installing_on_Debian" by DaveCottlehuber
Date Wed, 27 Nov 2013 22:13:40 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Installing_on_Debian" page has been changed by DaveCottlehuber:
https://wiki.apache.org/couchdb/Installing_on_Debian?action=diff&rev1=5&rev2=6

Comment:
tidy up before moving this to .rst docs

  
  Instructions to build, Erlang/OTP, SpiderMonkey, and CouchDB from source follow.
  
- == Scripted installation using Build-CouchDB ==
- 
- There is a project called [[https://github.com/iriscouch/build-couchdb|build-couchdb]] that
automates and simplifies the building of CouchDB and it's dependencies. If you want to build
the newest version of Couch with the least amount of pain this is probably your best bet.
See the [[https://github.com/iriscouch/build-couchdb|project Readme]] for instructions. I
didn't test using build-couchdb, YMMV.
- 
  == Installing From Source ==
  
  We'll need some pre-requisites:
@@ -53, +49 @@

  
  {{{
  cd /tmp/
- wget http://www.erlang.org/download/otp_src_R15B01.tar.gz
+ wget http://www.erlang.org/download/otp_src_R14B04.tar.gz
- tar xzf otp_src_R15B01.tar.gz
+ tar xzf otp_src_R14B04.tar.gz
- cd otp_src_R15B01
+ cd otp_src_R14B04
  echo "skipping gs" > lib/gs/SKIP
  echo "skipping jinterface" > lib/jinterface/SKIP
  echo "skipping odbc" > lib/odbc/SKIP
@@ -90, +86 @@

  }}}
  
  
- Useful notes: [[http://www.freshblurbs.com/install-couchdb-debian-squeeze-source]]
- 
  === Python Bits ===
  
- These are likely needed to build the documentation. When that's available.
+ These are likely needed to build the documentation.
  
  {{{
  aptitude install -y python-virtualenv python-pip
@@ -124, +118 @@

  sudo aptitude install -y build-essential libtool autoconf automake autoconf-archive pkg-config
  sudo aptitude install -y build-essential libtool autoconf automake autoconf-archive pkg-config
git
  # dependencies for libmozjs etc
- sudo apt-get install -y  libmozjs185-cloudant libmozjs185-cloudant-dev libnspr4 libnspr4-0d
libnspr4-dev libcurl4-openssl-dev curl 
+ sudo apt-get install -y  libmozjs185-cloudant libmozjs185-cloudant-dev libnspr4 libnspr4-0d
libnspr4-dev libcurl4-openssl-dev curl
  
- # dependencies for building erlang releases
+ # dependencies for building erlang releases if you want that
  sudo apt-get install -y libssl-dev zlib1g zlib1g-dev libcurl4-openssl-dev lsb-base  ncurses-dev
libncurses-dev libicu-dev xsltproc
  # optional for building documentation
  sudo aptitude install -y help2man python-sphinx texlive-latex-base texlive-latex-recommended
texlive-latex-extra texlive-fonts-recommended texinfo
  }}}
  
- If you need custom erlang versions, use kerl, otherwise {{{apt-get install -y esl-erlang}}}
and skip this section.
+ If you need custom erlang versions, use kerl, otherwise {{{apt-get update && apt-get
install -y erlang}}} and skip this section.
+ 
+ === Minimal packages ===
+ 
+ Run-time minimal packages for CouchDB are:
+ 
+  * libcurl-openssl libicu libmozjs185
+  * erlang: erlang-asn1 erlang-base-hipe erlang-crypto erlang-dev erlang-mnesia erlang-os-mon
erlang-parsetools erlang-public-key erlang-runtime-tools erlang-snmp erlang-ssl erlang-syntax-tools
erlang-xmerl
+ 
+ Built-time additional dependencies are:
+ 
+  * libicu-dev libmozjs185-dev libcurl4-openssl-dev pkg-config
+  * build-essential erlang-base-hipe erlang-dev erlang-manpages erlang-eunit erlang-nox
+ 
+ === Using Kerl to build a custom Erlang version ===
  
  {{{
  curl https://raw.github.com/spawngrid/kerl/master/kerl > ~/bin/kerl \
@@ -143, +151 @@

  kerl install r14b04 ~/erlbrew/r14b04
  kerl build R15B03-1 r15b03
  kerl install r15b03 ~/erlbrew/r15b03
- kerl build R16B r16b
+ kerl build R16B02 r16b02
- kerl install r16b ~/erlbrew/r16b
+ kerl install r16b02 ~/erlbrew/r16b
  . ~/erlbrew/r14b04/activate
  }}}
  

Mime
View raw message