Skip to content

Commit

Permalink
Merge branch 'master' into install-cs-updates-jbs
Browse files Browse the repository at this point in the history
  • Loading branch information
s-ben committed Aug 21, 2012
2 parents 2d432d3 + 037f21e commit e5c9d1d
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
24 changes: 12 additions & 12 deletions pages/Riak/Installation/Installing-Erlang.md
@@ -1,4 +1,4 @@
Riak 1.0 requires [[Erlang|http://erlang.org/]] R14B03 or later. Riak versions prior to 1.0 will not function on the R14B02 or later. Riak versions prior to 0.12 will not function on the R14 series of Erlang. For Erlang to build and install, you must have a GNU-compatible build system, and the development bindings of ncurses and openssl.
Riak 1.2 requires [[Erlang|http://erlang.org/]] R15B01 or later. Riak versions prior to 1.0 will not function on the R14B02 or later. Riak versions prior to 0.12 will not function on the R14 series of Erlang. For Erlang to build and install, you must have a GNU-compatible build system, and the development bindings of ncurses and openssl.

## Note
The Riak binary packages for Debian and Ubuntu, Mac OS X, and RHEL and CentOS do not require that you build Erlang from source. **You will have to download and install Erlang, however, if you are planning on completing [[The Riak Fast Track]].**
Expand All @@ -19,21 +19,21 @@ KERL_CONFIGURE_OPTIONS="--enable-hipe --enable-smp-support --enable-threads

Building with kerl on GNU/Linux has the same prerequisites that building from source does.

Then you can just build the Erlang release of your choice, as of current, you will need r14b03:
Then you can just build the Erlang release of your choice, as of current, you will need R15B01:

```bash
./kerl build R14B03 r14b03
./kerl build R15B01 r15b01
```
This installs Erlang and does all the steps required to manually install Erlang for you.

When successfully built you can install it using:

```bash
./kerl install r14b03 /opt/erlang/r14b03
. /opt/erlang/r14b03/activate
./kerl install r15b01 ~/erlang/r15b01
. ~/erlang/r15b01/activate
```

The last line activates the Erlang build that was just installed into `/opt/erlang/r14b03`. See the [[kerl readme|https://github.com/spawngrid/kerl]] for more details on the available commands.
The last line activates the Erlang build that was just installed into `/opt/erlang/r15b01`. See the [[kerl readme|https://github.com/spawngrid/kerl]] for more details on the available commands.

If you prefer to install completely manually, the following will show you how.

Expand All @@ -55,9 +55,9 @@ sudo yum install gcc glibc-devel make ncurses-devel openssl-devel autoconf
Next, download, build and install Erlang:

```bash
wget http://erlang.org/download/otp_src_R14B03.tar.gz
tar zxvf otp_src_R14B03.tar.gz
cd otp_src_R14B03
wget http://erlang.org/download/otp_src_R15B01.tar.gz
tar zxvf otp_src_R15B01.tar.gz
cd otp_src_R15B01
./configure && make && sudo make install
```

Expand All @@ -70,9 +70,9 @@ To build from source, you must have XCode tools installed from the CD that came
First, download and unpack the source:

```bash
curl -O http://erlang.org/download/otp_src_R14B03.tar.gz
tar zxvf otp_src_R14B03.tar.gz
cd otp_src_R14B03
curl -O http://erlang.org/download/otp_src_R15B01.tar.gz
tar zxvf otp_src_R15B01.tar.gz
cd otp_src_R15B01
```

Next, configure Erlang.
Expand Down
2 changes: 1 addition & 1 deletion pages/Riak/Installation/Installing-Riak-from-Source.md
@@ -1,7 +1,7 @@
Riak should be installed from source if you are building on a platform for which a package does not exist or you are interested in contributing to Riak.

## Dependencies
Riak requires [[Erlang|http://www.erlang.org/]] R14B03 or later. If you do not have Erlang already installed, see [[Installing Erlang]]. Don't worry, it's easy!
Riak requires [[Erlang|http://www.erlang.org/]] R15B01 or later. If you do not have Erlang already installed, see [[Installing Erlang]]. Don't worry, it's easy!

<div class='note'>Riak will not compile with Clang. Please make sure your default C/C++ compiler is GCC.</div>

Expand Down
2 changes: 1 addition & 1 deletion pages/Riak/Installation/Installing-on-Debian-and-Ubuntu.md
Expand Up @@ -67,7 +67,7 @@ First, install Riak dependencies using apt:
$ sudo apt-get install build-essential libc6-dev-i386 git
```

Riak requires [Erlang](http://www.erlang.org/) R14B03 or later. If
Riak requires [Erlang](http://www.erlang.org/) R15B01 or later. If
Erlang is not already installed, install it before continuing (see:
[Installing Erlang](https://wiki.basho.com/Installing-Erlang.html) for more
information).
Expand Down
2 changes: 1 addition & 1 deletion pages/Riak/Installation/Installing-on-Mac-OS-X.md
Expand Up @@ -44,7 +44,7 @@ You must have XCode tools installed from the CD that came with your Mac or from

<div class="note">Riak will not compile with Clang. Please make sure your default C/C++ compiler is GCC.</div>

Riak requires [[Erlang|http://www.erlang.org/]] R14B03 or later. If you do not have Erlang already installed, see [[Installing Erlang]]. Don't worry, it's easy!
Riak requires [[Erlang|http://www.erlang.org/]] R15B01 or later. If you do not have Erlang already installed, see [[Installing Erlang]]. Don't worry, it's easy!

Next, download and unpack the source distribution.

Expand Down
4 changes: 2 additions & 2 deletions pages/Riak/Installation/Installing-on-RHEL-and-CentOS.md
Expand Up @@ -2,7 +2,7 @@ When installing Riak on CentOS or Redhat you can install from source or from our

## Notes
* CentOS enables SE Linux by default and you may need to disable SE Linux if you encounter errors.
* Erlang OTP R14B03 and Riak Enterprise 1.0.2 do not work on CentOS 5.2, but do work on CentOS 5.3 and newer.
* Erlang OTP R15B01 and Riak Enterprise 1.2 do not work on CentOS 5.2, but do work on CentOS 5.3 and newer.

## Installing From Our Custom .rpm Package
### For Centos 5 / RHEL 5
Expand All @@ -18,7 +18,7 @@ sudo rpm -Uvh riak-1.2.0-1.el6.x86_64.rpm
```

## Installing From Source
Riak requires [[Erlang|http://www.erlang.org/]] R14B03 or later. If you do not have Erlang already installed, see our guide to [[Installing Erlang]]. Don’t worry, it’s easy!
Riak requires [[Erlang|http://www.erlang.org/]] R15B01 or later. If you do not have Erlang already installed, see our guide to [[Installing Erlang]]. Don’t worry, it’s easy!

Building from source will require the following packages:

Expand Down

0 comments on commit e5c9d1d

Please sign in to comment.