-
Notifications
You must be signed in to change notification settings - Fork 3k
Installation
Here are the basic steps to build Erlang/OTP in the Git repository.
Start by cloning:
git clone git://github.com/erlang/otp.gitThe following packages (Ubuntu 9.10) are dependencies for Erlang/OTP:
For building Erlang/OTP base,
aptitude install autoconf libncurses-devFor building Erlang/OTP with wxWidgets:
aptitude install libwxgtk2.8-dev libgl1-mesa-dev libglu1-mesa-dev libpng3For building Erlang/OTP with jinterface:
aptitude install sun-java6-jre sun-java6-jdk sun-java6-binFor building Erlang/OTP with Orber and other c++ projects:
sudo aptitude install g++Next, set the ERL_TOP and PATH environment variables:
cd otp
# Bourne Shell
export ERL_TOP=$PWD
export PATH=$ERL_TOP/bin:$PATH
# C Shell
setenv ERL_TOP $PWD
setenv PATH $ERL_TOP/bin:$PATHThe repository does not contain a generated configure file, so it must be generated like this:
./otp_build autoconfbefore 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
makeTo run the system you have built without installing it first:
$ERL_TOP/bin/erlIf you want to skip a certain library, do
touch lib/{library_name}/SKIPbefore configure and make.
change footers copy tags