[erlang-questions] clueless newbie can't compile

Kevin A. Smith <>
Mon Jun 16 17:13:17 CEST 2008


I think CEAN also has (had?) a developer version of the install which  
had things like the compiler installed by default.

--Kevin
On Jun 16, 2008, at 2:04 AM, Bengt Kleberg wrote:

> Greetings,
>
> CEAN does not include all of Erlang/OTP in the initial install. The
> compiler is not present.
> You should be able to do:
>
> cean:install(compile).
>
>
> bengt
>
> On Mon, 2008-06-16 at 03:23 +0200, Robert Virding wrote:
>> 2008/6/16 John Chandler <>:
>>        I can't interpret the error message, either.
>>
>>        And then, within erl, to type "c(tut).".  Which also seems
>>        fine.  What
>>        happens is:
>>
>>        ====
>>        1> c(tut).
>>        ** exited:
>>        {undef,[{compile,file,[tut,[report_errors,report_warnings]]},
>>                           {c,c,2},
>>                           {erl_eval,do_apply,5},
>>                           {shell,exprs,6},
>>                           {shell,eval_loop,3}]} **
>>
>>        =ERROR REPORT==== 15-Jun-2008::20:07:51 ===
>>        Error in process <0.29.0> with exit value:
>>        {undef,[{compile,file,[tut,
>>        [report_errors,report_warnings]]},{c,c,2},{erl_eval,do_apply, 
>> 5},
>>        {shell,exprs,6},{shell,eval_loop,3}]}
>>
>> Not being familiar with CEAN I don't really know why, but the error
>> report indicates that the function compile:file/2 is undefined, the
>> 'undef ' error. In this case this is caused by Erlang not being able
>> to find the compile module as we know the file/2 function exists in
>> the module.
>>
>> As I said I am not familiar with CEAN so I can't help you with *why*
>> Erlang can't find the module.
>>
>> Robert
>>
>>
>> _______________________________________________
>> erlang-questions mailing list
>> 
>> http://www.erlang.org/mailman/listinfo/erlang-questions
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list