R13B04 Installation

R13B04后erlang的源码编译为了考虑移植性,就改变了编译方式,以下是官方wiki上的安装文档 http://wiki.github.com/erlang/otp/installation:

1. Cloning


Here are the basic steps to build Erlang/OTP in the Git repository.
Start by cloning:

git clone git://github.com/erlang/otp.git

2. Building

Next, set ERL_TOP the environment variable:

cd otp
export ERL_TOP=`pwd`

The repository does not contain a generated configure file, so it must be generated like this:

./otp_build autoconf

before configure can be run. When the configure files has been generated, you can build in the usual way as described in the README file. Shortly:

./configure
make

3. To run the system you have built without installing it first:

$ERL_TOP/bin/erl

你可能感兴趣的:(erlang,git)