For the quickest reply, please use our new Customer Helpdesk and Feedback platform
 
   
 
erl and erlc changed in CEAN?
Posted: 14 January 2008 05:16 PM   [ Ignore ]
Newbie
Rank
Total Posts:  1
Joined  2008-01-14

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

Profile
 
 
Posted: 11 February 2008 08:35 PM   [ Ignore ]   [ # 1 ]
Senior Member
Avatar
RankRankRankRank
Total Posts:  118
Joined  2006-11-13

erlc is not changed
erl is indeed modified and calls start.sh

Profile