[erlang-questions] EUnit install fails

Steven Edwards cureadvocate@REDACTED
Wed Oct 21 22:24:19 CEST 2009


Just got it working--I had to install erlang-dev for make to finish
successfully.

Thanks again!

Steven

On Wed, Oct 21, 2009 at 4:15 PM, Richard Carlsson <
carlsson.richard@REDACTED> wrote:

> Steven Edwards wrote:
>
>> ---
>> erlc -pa ../ebin -W -I../include +warn_unused_vars +nowarn_shadow_vars
>> +warn_unused_import -o../ebin eunit_data.erl
>> ./eunit_data.erl:29: can't find include lib "kernel/include/file.hrl"
>> ./eunit_data.erl:337: record file_info undefined
>> ./eunit_data.erl:611: record file_info undefined
>> make[1]: *** [../ebin/eunit_data.beam] Error 1
>> make[1]: Leaving directory `/home/steven/eunit/src'
>> make: *** [subdirs] Error 2
>> ---
>>
>> /usr/lib/erlang/lib contains kernel-2.12.5, but no kernel. ./kernel-2.12.5
>> lacks an include directory.  find / -type f -name file.hrl returns nothing.
>>
>
> That looks like a broken installation to me.
>
>    /Richard
>
> PS. The include_lib directive strips the version number
> from the actual path when it is searching for files,
> so "kernel/include" matches kernel-2.12.5/include.
>


More information about the erlang-questions mailing list