2010-06-22 147 views
9

有沒有推薦的方法來「引導」一個Erlang分佈?我想在一堆沒有root提升和開發工具集的機器上運行erlang(沒有編譯器等)。我的想法是預先包裝(在具有相同架構的機器上)儘可能多地進行包裝。什麼是可用的Erlang環境的最低要求?便攜式erlang

回答

4

可以使用不同的erlware工具。使用最新的思南,你甚至可以創建一個捆綁erts的獨立版本。

1

例如,您可以查看Wing3D

CouchDB是另一個例子。 (感謝tbikeev。)

+1

我想另一個例子可能是CouchDB發行版... – tbikeev 2010-06-22 12:11:16

2

好吧,我以前讀它......(從INSTALL.md)

* Install using the `release` target. Instead of doing `make install` you 
    can create the installation in whatever directory you like using the 
    `release` target and run the `Install` script yourself. `RELEASE_ROOT` 
    is used for specifying the directory where the installation should be 
    created. This is what by default ends up under `/usr/local/lib/erlang` 
    if you do the install using `make install`. All installation paths 
    provided in the `configure` phase are ignored, as well as `DESTDIR`, 
    and `INSTALL_PREFIX`. If you want links from a specific `bin` directory 
    to the installation you have to set those up yourself. An example where 
    Erlang/OTP should be located at `/home/me/OTP`: 

     $ ./configure 
     $ make 
     $ make RELEASE_ROOT=/home/me/OTP release 
     $ cd /home/me/OTP 
     $ ./Install -minimal /home/me/OTP 
     $ mkdir -p /home/me/bin 
     $ cd /home/me/bin 
     $ ln -s /home/me/OTP/bin/erl erl 
     $ ln -s /home/me/OTP/bin/erlc erlc 
     $ ln -s /home/me/OTP/bin/escript escript