R13B04后erlang的源码编译为了考虑移植性,就改变了编译方式,以下是官方wiki上的安装文档[url]http://wiki.github.com/erlang/otp/installation[/url]:
[color=red]
1. Cloning[/color]
Here are the basic steps to build Erlang/OTP in the Git repository.
Start by cloning:
git clone git://github.com/erlang/otp.git
[color=red]2. Building[/color]
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
[color=red]3. To run the system you have built without installing it first:[/color]
$ERL_TOP/bin/erl
[color=red]
1. Cloning[/color]
Here are the basic steps to build Erlang/OTP in the Git repository.
Start by cloning:
git clone git://github.com/erlang/otp.git
[color=red]2. Building[/color]
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
[color=red]3. To run the system you have built without installing it first:[/color]
$ERL_TOP/bin/erl