Hi,
I am trying out erlang (using CEAN v5.5.5) on Mac OSX (tiger), following the examples in Joe Armstrong’s excellent book “Programming Erlang”.
When I reach the section where it describes using erlc and erl -noshell for command-line compilation/running, the examples don’t seem to work in CEAN. Invoking these commands always dump me at the erlang shell. (I took a peek in erl and it seems to be a short script calling start.sh only).
I also tried escript in shell script (after hardcoding its path as this: #!/usr/bin/env ../erlang/erts-5.5.5/darwin-powerpc/bin/escript), it complained of “erlc: Error 2 executing ‘erl’”.
Are these programs changed in CEAN? What would be the equivalent programs in CEAN?
Thank you!
firestar
