[erlang-questions] Failure in compiling R15B-2 on mac os x 10.8 (mountain lion)

18 views
Skip to first unread message

Simon Thompson

unread,
Sep 10, 2012, 9:16:08 AM9/10/12
to erlang-q...@erlang.org

Can anyone help? I get this error on compiling erlang on mac os x 10.8 (mountain lion) with makefile built from

./configure --enable-darwin-64bit

Regards,

Simon

Here's the error and context ...

=== Entering application parsetools
erlc -W +debug_info +warn_obsolete_guard -I/Users/simonthompson/Desktop/otp_src_R15B02/lib/stdlib/include -o../ebin leex.erl
erlc -W +debug_info +warn_obsolete_guard -I/Users/simonthompson/Desktop/otp_src_R15B02/lib/stdlib/include -o../ebin yecc.erl
Function: count_nl/1
./yecc.erl:none: internal error in kernel_module;
crash reason: {function_clause,
[{eval_bits,match_bits,
[[{bin_element,0,
{integer,0,10},
{integer,0,8},
[{unit,1},unsigned,big]}],
<<"\n">>,[],[],#Fun<v3_kernel.18.31509267>,
#Fun<v3_kernel.19.67467963>],
[{file,"eval_bits.erl"},{line,210}]},
{v3_kernel,select_assert_match_possible,3,[]},
{v3_kernel,select_bin_int,1,[]},
{v3_kernel,select_bin_con_1,1,[]},
{v3_kernel,match_con_1,4,[]},
{v3_kernel,match_clause,4,[]},
{lists,mapfoldl,3,[{file,"lists.erl"},{line,1278}]},
{v3_kernel,'-match_con_1/4-anonymous-0-',3,[]}]}
make[3]: *** [../ebin/yecc.beam] Error 1
make[2]: *** [opt] Error 2
make[1]: *** [opt] Error 2
make: *** [secondary_bootstrap_build] Error 2




Simon Thompson | Professor of Logic and Computation
School of Computing | University of Kent | Canterbury, CT2 7NF, UK
s.j.th...@kent.ac.uk | M +44 7986 085754 | W www.cs.kent.ac.uk/~sjt

_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

Björn Gustavsson

unread,
Sep 11, 2012, 6:23:30 AM9/11/12
to Simon Thompson, erlang-q...@erlang.org
On Mon, Sep 10, 2012 at 3:16 PM, Simon Thompson <s.j.th...@kent.ac.uk> wrote:
>
> Can anyone help? I get this error on compiling erlang on mac os x 10.8 (mountain lion) with makefile built from
>
> ./configure --enable-darwin-64bit
>

Works fine for me.

One thing that may cause problems is if ERL_TOP is set,
but not set to the current working directory, but to some other
directory. If that is not the problem, you will have to provide
more information.

--
Björn Gustavsson, Erlang/OTP, Ericsson AB

Simon Thompson

unread,
Sep 11, 2012, 6:38:39 AM9/11/12
to Björn Gustavsson, erlang-q...@erlang.org
Björn, thanks. ERL_TOP isn't set, but ERL_LIBS is (to /usr/local/lib/erlang/lib). I have upgraded to Mountain Lion, and consequently upgraded XCode (and command line utilities) and also macports, so all of those are up to date.

I succeeded later with using the Erlang Solutions pkg, so I have a running system, but not one that I can tweak.

Thanks for your help.

Simon



On 11 Sep 2012, at 11:23, Björn Gustavsson <bgust...@gmail.com> wrote:

> On Mon, Sep 10, 2012 at 3:16 PM, Simon Thompson <s.j.th...@kent.ac.uk> wrote:
>>
>> Can anyone help? I get this error on compiling erlang on mac os x 10.8 (mountain lion) with makefile built from
>>
>> ./configure --enable-darwin-64bit
>>
>
> Works fine for me.
>
> One thing that may cause problems is if ERL_TOP is set,
> but not set to the current working directory, but to some other
> directory. If that is not the problem, you will have to provide
> more information.
>
> --
> Björn Gustavsson, Erlang/OTP, Ericsson AB

Simon Thompson | Professor of Logic and Computation
School of Computing | University of Kent | Canterbury, CT2 7NF, UK
s.j.th...@kent.ac.uk | M +44 7986 085754 | W www.cs.kent.ac.uk/~sjt

Reply all
Reply to author
Forward
0 new messages