Open bluealert opened 10 years ago
deleted: tests/bad_extend.erl deleted: tests/defining_instance.erl
I delete the above test files in edis/deps/pmod_transform and I pass the compile! :)
I tried to compile with erlang-R14B-04.3.el6.x86_64 but I get the error in two tets files
tests/bad_extend.erl tests/defining_instance.erl
If I delete those as mentioned above, edis compiles but does not work
Error message I got was following Compiled tests/static_call.erl /home/saurabh/edis/edis-master/deps/pmod_transform/tests/bad_extend.erl:23: cannot extend from self ERROR: compile failed while processing /home/saurabh/edis/edis-master/deps/pmod_transform: rebar_abort
@the100rabh Under R16B03-1, if I deleted those two files, I can compile Edis successfully, and work normally. You can try to use R16B03-1.
CentOS-6.5-x86_64
export CFLAGS="-DOPENSSL_NO_EC=1" to ~/.kerlrc
kerl build R16B03-1 r16 mkdir -p /usr/local/erlang/r16 kerl install r16 /usr/local/erlang/r16 . /usr/local/erlang/r16/activate
git clone https://github.com/inaka/edis.git cd edis rebar g-d co
Compiling /root/edis/deps/pmod_transform/tests/defining_instance.erl failed: /root/edis/deps/pmod_transform/tests/defining_instance.erl:24: defining instance function not allowed in parameterized module ERROR: compile failed while processing /root/edis/deps/pmod_transform: rebar_abort make: *\ [erl] Error 1