Gibt es eine empfohlene Möglichkeit, eine Erlang-Distribution zu "bootstrapen"? Ich würde gern auf dem Maschinenpark erlang laufen lassen, wo ich kein Wurzel-Elevation- oder -Entwicklungs-Toolset habe (keine Compiler usw.). Mein Gedanke war, so viel wie möglich vorher zu verpacken (auf der Maschine mit der gleichen Architektur). Was sind die minimalen Voraussetzungen für eine nutzbare Erlang-Umgebung?Portable erlang
9
A
Antwort
4
Sie die verschiedenen Erlware Tools verwenden können. Mit dem neuesten Sinan können Sie sogar eine eigenständige Version mit den gebündelten Erts erstellen.
1
2
Ok, ich hätte es vorher gelesen haben ... (von 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
Verwandte Themen
- 1. Portable Versionskontrolle?
- 2. Portable Eclipse
- 3. ActiveRecord für Erlang
- 4. Verwenden von F # portable Klassenbibliothek aus C# portable Bibliothek
- 5. "Portable" JAX-WS-Client
- 6. mvccontrib portable area content
- 7. Portable Ende der Zeile
- 8. Portable VFS-Bibliothek C++
- 9. Apache portable Runtime-Tutorials?
- 10. Portable "install" Befehl
- 11. Stream und Portable Klassenbibliothek
- 12. Portable wchar_t in C++
- 13. portable System-/Prozessinformationsbibliothek
- 14. Portable Klassenbibliothek vs. Bibliotheksprojekt
- 15. Portable Class Library Reflection
- 16. Portable Class Library Testing
- 17. Portable C# -Datenbank
- 18. portable Threading APIs
- 19. Portable Bitfelder für Handles
- 20. Portable Variadic Makro
- 21. portable-executable für cmake
- 22. Gute portable SIMD-Bibliothek
- 23. Portable Branch Prädiktion Hinweise
- 24. Erlang Compilation - Erlang als eigenständige ausführbare
- 25. Erlang: Wie implementiert man Erlang Listenverständnis?
- 26. Erlang Nachrichtenschleifen
- 27. Erlang Nachbarsuche
- 28. Erlang Aufrufstack
- 29. Erlang Heapüberlauf
- 30. erlang - Startskript
Ich denke, ein anderes Beispiel könnte CouchDB Distro sein ... – tbikeev