Портативный эрланг

Есть ли рекомендуемый способ «загрузить» дистрибутив Erlang? Я хотел бы запустить erlang на множестве машин, на которых у меня нет привилегий root и набора инструментов для разработки (без компиляторов и т. д.). Я думал предварительно упаковать (на машине с той же архитектурой) столько, сколько смогу раньше. Каковы минимальные требования к пригодной для использования среде Erlang?


person tbikeev    schedule 22.06.2010    source источник


Ответы (3)


Вы можете использовать различные инструменты erlware. Используя последний Sinan, вы даже можете создать автономный выпуск с включенными в него erts.

person jvliwanag    schedule 22.06.2010

Хорошо, я должен был прочитать это раньше ... (с 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
person tbikeev    schedule 22.06.2010

Например, вы можете посмотреть на Wing3D.

CouchDB — еще один пример. (Спасибо tbikeev.)

person Hynek -Pichi- Vychodil    schedule 22.06.2010