You might want to downgrade the bson package to a previous version ; if it is taking it from HEAD you might have caught an unstable version.
Sent from my iPhone > On Aug 5, 2015, at 13:09, Mert Öztürk <asksomethin...@gmail.com> wrote: > > Dear Kai, > > I downgraded to OTP 17.5 > (http://packages.erlang-solutions.com/site/esl/esl-erlang/FLAVOUR_1_esl/esl-erlang_17.5-1~ubuntu~precise_amd64.deb) > I used wget to download it and sudo dpkg -i to install it. > Then i made the thing you said (make clean) and tried and i have the same > error again; > > Compiling /root/ask_prod2/ChicagoBoss/deps/bson/src/bson_binary.erl failed: > /root/ask_prod2/ChicagoBoss/deps/bson/src/bson_binary.erl:55: illegal use of > variable 'Name' in map > ERROR: compile failed while processing /root/ask_prod2/ChicagoBoss/deps/bson: > rebar_abort > make: *** [all] Error 1 > > Then i cleaned all ebin directories and got the same error again. > > Thanks > Mert > > > > > 5 Ağustos 2015 Çarşamba 18:57:04 UTC+3 tarihinde Kai Janson yazdı: >> >> Looks like you have partially compiled project code. Try a "make clean" >> >> If that fails, remove the beam files from the ebin directories. >> >> --Kai >> >> Sent from my iPhone >> >>> On Aug 5, 2015, at 11:24, Mert Öztürk <asksome...@gmail.com> wrote: >>> >>> Important to mention, i dont get the following error with OTP 18.0; >>> >>> ==> bson (compile) >>> Compiling /root/ask_prod2/ChicagoBoss/deps/bson/src/bson_binary.erl failed: >>> /root/ask_prod2/ChicagoBoss/deps/bson/src/bson_binary.erl:55: illegal use >>> of variable 'Name' in map >>> ERROR: compile failed while processing >>> /root/ask_prod2/ChicagoBoss/deps/bson: rebar_abort >>> make: *** [all] Error 1 >>> >>> >>> >>> 5 Ağustos 2015 Çarşamba 17:51:44 UTC+3 tarihinde Mert Öztürk yazdı: >>>> >>>> Hello, >>>> >>>> I upgraded erlang to OTP 18.0 and riak.pb couldnt be compiled so couldnt >>>> complete make. >>>> Then i downgraded and tried with 17.0,17.4, 17.5 and 17.5.3 and now i am >>>> having the error; >>>> >>>> ==> bson (compile) >>>> Compiling /root/ask_prod2/ChicagoBoss/deps/bson/src/bson_binary.erl failed: >>>> /root/ask_prod2/ChicagoBoss/deps/bson/src/bson_binary.erl:55: illegal use >>>> of variable 'Name' in map >>>> ERROR: compile failed while processing >>>> /root/ask_prod2/ChicagoBoss/deps/bson: rebar_abort >>>> make: *** [all] Error 1 >>>> >>>> I am having an urgent trouble with my application and your help will be >>>> appreciated. >>>> >>>> Thanks >>>> Mert >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "ChicagoBoss" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to chicagoboss...@googlegroups.com. >>> Visit this group at http://groups.google.com/group/chicagoboss. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/chicagoboss/c0447639-55ad-4c69-baf1-1c9ac16f8a21%40googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "ChicagoBoss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to chicagoboss+unsubscr...@googlegroups.com. > Visit this group at http://groups.google.com/group/chicagoboss. > To view this discussion on the web visit > https://groups.google.com/d/msgid/chicagoboss/6095b6b7-1bb0-4809-baa1-485666d240e9%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "ChicagoBoss" group. To unsubscribe from this group and stop receiving emails from it, send an email to chicagoboss+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/chicagoboss. To view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/BB1E81D7-F02F-469F-B0B1-8FDE1D9EE003%40gmail.com. For more options, visit https://groups.google.com/d/optout.