R6 IDE on Linux?
Torbjorn Tornkvist
tobbe@REDACTED
Fri Feb 25 08:57:39 CET 2000
> I just installed Open Source Erlang R6B-0 on a Red Hat 6.1 Linux system
> to try it out. Invoking it with "erl -x" to verify intallation, I get
> "erlexec: You need the 'xerl' and 'pxw' bundles to run 'erl -x'".
xerl is a very old and obsolete application. I suggest you use
your favorite editor and a seperate Erlang shell to compile/run
your programs. Example: create foo.erl
--- foo.erl ---
-module(foo).
-export([start/0]).
start() -> io:format("Hello World !").
---------------
--- Run the Erlang shell ---
unix> erl
Erlang (BEAM) emulator version 4.9.1.b3+ [source]
Eshell V4.9.1.b3+ (abort with ^G)
1> c(foo). # Compile foo.erl
foo
2> foo:start(). # Run foo:start/0
ok
3>
----------------------------
Cheers /Tobbe
--
Torbjörn Törnkvist , tel: +46 8 692 22 15 , fax: +46 8 654 70 71
Bluetail AB , Hantverkargatan 78 , SE-112 38 Stockholm , Sweden
Email: tobbe@REDACTED , Web: http://www.bluetail.com/~tobbe
More information about the erlang-questions
mailing list