|
|
| Author |
Message |
< Erlang ~ Develop erlang from USB |
| GLPunzi |
Posted: Sat Nov 28, 2009 5:21 pm |
|
|
|
User
Joined: 08 Nov 2007
Posts: 14
|
Hi all,
How can I get a portable erlang VM to come with me in my USB? The main problem, is thath I have a machine, and it's protected against windows reg changes, and for this reason, is impossible to install.
All help is appreciated.
Cheers, and thanks |
|
|
| Back to top |
|
| Karalabe |
Posted: Sat Nov 28, 2009 5:32 pm |
|
|
|
User
Joined: 03 Jul 2009
Posts: 11
|
If you copy and erlang installation onto a USB stick it should run. The Erlang distribution is only a bunch of OTP applications and a couple of runtime files...
[But I'm wrong, then Do correct me ] |
|
|
| Back to top |
|
| GLPunzi |
Posted: Mon Nov 30, 2009 10:01 am |
|
|
|
User
Joined: 08 Nov 2007
Posts: 14
|
Don't works.
I installed on a WinXP machine. Copied the erl entire folder to my USB, and tried to run in other machine. I updated the paths in "erl.5.7.4\bin\erl.ini" but, when try to run "erl.5.7.4\bin\erl.exe" gives me an error:
"G:\Desarrollo\erl5.7.4\bin\erl.exe
The aplication couldn't be started because it's configuration is inccorect. Resintall the application could solve the problem"
In the ini file, I updated the paths with double slash "\\".
Some idea? |
|
|
| Back to top |
|
| mabac |
Posted: Fri Dec 04, 2009 4:45 pm |
|
|
|
Joined: 04 Dec 2009
Posts: 1
|
You could always make a live-usb with e.g. Linux slax on it and install erlang and develop from there.
 |
|
|
| Back to top |
|
| Allan |
Posted: Sat Dec 05, 2009 1:14 am |
|
|
|
User
Joined: 29 Jun 2009
Posts: 30
|
I tried with version 5.7.4 (R13B03) on Vista 64 and it works. Both ini files have to be edited:
Content of erl 5.7.4/bin/erl.ini:
Quote:
[erlang]
Bindir=../erts-5.7.4/bin
Progname=erl
Rootdir=..
Content of erts-5.7.4/erts-5.7.1/bin/erl.ini:
Quote:
[erlang]
Bindir=.
Progname=erl
Rootdir=../..
Now i can move around Erlang and it just keeps working. ;)
P.S.:
I forgot to mention, that you have to execute erl or werl within their directories. Otherwise they do not find the erl.ini and fail to start. Also you have to place your code so that Erlang can find it. The best way to do this: Look at the applications shipped with Erlang/OTP and place your files in similiar directory structures.
You may want to look at Application Directory Structure in the Erlang/OTP documentation for further information about placing your code in the right folders. |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|