[erlang-questions] First Erlang experiences- not so good

Roger Critchlow <>
Thu Sep 25 22:04:49 CEST 2008

When I compile your example.erl on Linux, I get:

:~/erlang$ erlc ~/Desktop/example.erl
/home/rec-ubuntu/Desktop/example.erl:1: syntax error before: '-'
/home/rec-ubuntu/Desktop/example.erl:2: syntax error before: p
/home/rec-ubuntu/Desktop/example.erl:4: syntax error before: a
/home/rec-ubuntu/Desktop/example.erl:7: syntax error before: a
/home/rec-ubuntu/Desktop/example.erl:9: syntax error before: a
/home/rec-ubuntu/Desktop/example.erl:10: no module definition

which are exactly the same errors that you get when you compiled it on

So the Linux version of Erlang has the same sensitivity to encodings as the
Windows version.

-- rec --

On Thu, Sep 25, 2008 at 11:50 AM, Tony Cappellini <>wrote:

> I get the same compile errors when I typed in the code and saved it.
> The author of that article downloaded the sources, compiled and ran
> them on his linux system, so it is not a download issue.
> If the Windows version of the Erlang shell is sensitive to encodings,
> it is a language related issue, not a download issue.
> > It could be time to change the subject to "bad download experiences"
> since
> > this seems less and less to have anything to do with erlang.
> >
> > -Rick
> >
> >
> _______________________________________________
> erlang-questions mailing list
> http://www.erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080925/dafe63d5/attachment.html>

More information about the erlang-questions mailing list