Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when 'compile' on macos #1

Open
bentxt opened this issue Dec 12, 2019 · 0 comments
Open

error when 'compile' on macos #1

bentxt opened this issue Dec 12, 2019 · 0 comments

Comments

@bentxt
Copy link

bentxt commented Dec 12, 2019

rebar3 clojerl compile

log:


�[0;32m===> Verifying dependencies...
�[0m�[0;32m===> Compiling web-app
�[0m�[0;32m===> Clojerl Compiling cowboy
�[0m�[0;32m===> Clojerl Compiling cowlib
�[0m�[0;32m===> Clojerl Compiling ranch
�[0m�[0;32m===> Clojerl Compiling web-app
�[0m�[0;31m===> �[1m/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/web-app/src/web_app/app.clje:4:1: Unable to resolve symbol 'declare' in this context
[{clj_utils,error_when,3,
            [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_utils.erl"},
             {line,284}]},
 {clj_analyzer,analyze_symbol,2,
               [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_analyzer.erl"},
                {line,2017}]},
 {clj_analyzer,analyze_invoke,2,
               [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_analyzer.erl"},
                {line,1957}]},
 {clj_analyzer,analyze_seq,2,
               [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_analyzer.erl"},
                {line,244}]},
 {clj_compiler,do_analyze_emit_eval,2,
               [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_compiler.erl"},
                {line,308}]},
 {clj_reader,read_fold_loop,3,
             [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_reader.erl"},
              {line,97}]},
 {clj_compiler,'-do_compile/3-fun-2-',6,
               [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_compiler.erl"},
                {line,224}]},
 {clj_module,with_context,1,
             [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_module.erl"},
              {line,94}]},
 {clj_compiler,do_compile,3,
               [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_compiler.erl"},
                {line,235}]}]
�[0m�[0m�[0;31m===> �[1m/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/web-app/src/web_app/sup.clje:3:1: Unable to resolve symbol 'defn' in this context
[{clj_utils,error_when,3,
            [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_utils.erl"},
             {line,284}]},
 {clj_analyzer,analyze_symbol,2,
               [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_analyzer.erl"},
                {line,2017}]},
 {clj_analyzer,analyze_invoke,2,
               [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_analyzer.erl"},
                {line,1957}]},
 {clj_analyzer,analyze_seq,2,
               [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_analyzer.erl"},
                {line,244}]},
 {clj_compiler,do_analyze_emit_eval,2,
               [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_compiler.erl"},
                {line,308}]},
 {clj_reader,read_fold_loop,3,
             [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_reader.erl"},
              {line,97}]},
 {clj_compiler,'-do_compile/3-fun-2-',6,
               [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_compiler.erl"},
                {line,224}]},
 {clj_module,with_context,1,
             [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_module.erl"},
              {line,94}]},
 {clj_compiler,do_compile,3,
               [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_compiler.erl"},
                {line,235}]}]
�[0m�[0m�[0;31m===> �[1m/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/web-app/src/web_app/core.clje:3:1: Unable to resolve symbol 'defn' in this context
[{clj_utils,error_when,3,
            [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_utils.erl"},
             {line,284}]},
 {clj_analyzer,analyze_symbol,2,
               [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_analyzer.erl"},
                {line,2017}]},
 {clj_analyzer,analyze_invoke,2,
               [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_analyzer.erl"},
                {line,1957}]},
 {clj_analyzer,analyze_seq,2,
               [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_analyzer.erl"},
                {line,244}]},
 {clj_compiler,do_analyze_emit_eval,2,
               [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_compiler.erl"},
                {line,308}]},
 {clj_reader,read_fold_loop,3,
             [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_reader.erl"},
              {line,97}]},
 {clj_compiler,'-do_compile/3-fun-2-',6,
               [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_compiler.erl"},
                {line,224}]},
 {clj_module,with_context,1,
             [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_module.erl"},
              {line,94}]},
 {clj_compiler,do_compile,3,
               [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_compiler.erl"},
                {line,235}]}]
�[0m�[0m�[0;31m===> �[1m/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/web-app/src/web_app/root.clje:5:1: Unable to resolve symbol 'defn' in this context
[{clj_utils,error_when,3,
            [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_utils.erl"},
             {line,284}]},
 {clj_analyzer,analyze_symbol,2,
               [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_analyzer.erl"},
                {line,2017}]},
 {clj_analyzer,analyze_invoke,2,
               [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_analyzer.erl"},
                {line,1957}]},
 {clj_analyzer,analyze_seq,2,
               [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_analyzer.erl"},
                {line,244}]},
 {clj_compiler,do_analyze_emit_eval,2,
               [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_compiler.erl"},
                {line,308}]},
 {clj_reader,read_fold_loop,3,
             [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_reader.erl"},
              {line,97}]},
 {clj_compiler,'-do_compile/3-fun-2-',6,
               [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_compiler.erl"},
                {line,224}]},
 {clj_module,with_context,1,
             [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_module.erl"},
              {line,94}]},
 {clj_compiler,do_compile,3,
               [{file,"/Users/bkb/local/clojerl/example-web-app.git/_build/default/lib/clojerl/src/erl/clj_compiler.erl"},
                {line,235}]}]
�[0m�[0m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant