2010-06-22 14 views
9

क्या एरलंग वितरण "बूटस्ट्रैप" करने का कोई अनुशंसित तरीका है? मैं मशीनों के समूह पर एर्लांग चलाने की इच्छा रखता हूं जहां मेरे पास जड़ ऊंचाई नहीं है और न ही विकास उपकरण-सेट (कोई कंपाइलर इत्यादि नहीं है)। मेरी सोच पूर्व-पैकेज (उसी वास्तुकला वाली मशीन पर) जितनी मैं पहले कर सकता था। उपयोग योग्य एरलांग पर्यावरण के लिए न्यूनतम आवश्यकताएं क्या हैं?पोर्टेबल एरलांग

उत्तर

4

आप अलग अलग erlware उपकरणों का उपयोग कर सकते हैं। नवीनतम सिनन का उपयोग करके, आप बंडल किए गए इर्ट्स के साथ एक स्टैंडअलोन रिलीज भी बना सकते हैं।

1

उदाहरण के लिए आप Wing3D देख सकते हैं।

CouchDB एक और उदाहरण है। (tbikeev के लिए ऋण।)

+1

मुझे लगता है कि एक और उदाहरण CouchDB distro हो सकता है ... – tbikeev

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