[erlang-questions] Rebar, erlexec and c_src

David Welton davidw@REDACTED
Wed Apr 17 10:42:50 CEST 2013


Hi,

I'm trying to integrate erlexec as a dependency in my project, as it
provides much more advanced handling of OS processes than what Erlang
does.

However, when I do ./rebar compile, it fails to do anything with the C++ code:

Is there anything I should be doing differently?

Thanks!

INFO:  sh info:
    cwd: "/home/davidw/clients/myclient/myapp/deps/myapp_interface"
    cmd: git describe --always --tags `git log -n 1 --pretty=format:%h .`
DEBUG:     opts: [{cd,"/home/davidw/clients/myclient/myapp/deps/exec"},
               {use_stdout,false}]
INFO:  Looking for exec-.* ; found exec-v1.0-5-gff9c373 at
/home/davidw/clients/myclient/myapp/deps/exec
DEBUG: Available deps: [{dep,"/home/davidw/clients/myclient/myapp/deps/exec",
                             exec,".*",
                             {git,"git://github.com/saleyn/erlexec.git",
                                  {branch,"master"}}}]
DEBUG: Missing deps  : []
DEBUG: is_app_available, looking for App exec with Path
"/home/davidw/clients/myclient/myapp/deps/exec"
INFO:  Looking for exec-.* ; found exec-v1.0-5-gff9c373 at
/home/davidw/clients/myclient/myapp/deps/exec
DEBUG: Adding /home/davidw/clients/myclient/myapp/deps/exec/ebin to code path
DEBUG: Associate sub_dir /home/davidw/clients/myclient/myapp/deps/exec
with /home/davidw/clients/myclient/myapp/deps/myapp_interface
DEBUG: Associate sub_dir
/home/davidw/clients/myclient/myapp/deps/myapp_interface/rel with
/home/davidw/clients/myclient/myapp/deps/myapp_interface
DEBUG: Predirs: ["/home/davidw/clients/myclient/myapp/deps/exec",
                 "/home/davidw/clients/myclient/myapp/deps/myapp_interface/rel"]
DEBUG: Entering /home/davidw/clients/myclient/myapp/deps/exec
DEBUG: Consult config file
"/home/davidw/clients/myclient/myapp/deps/exec/rebar.config"
DEBUG: Available deps: []
DEBUG: Missing deps  : []
DEBUG: Predirs: []
==> exec (pre_compile)
==> exec (compile)
DEBUG: Matched required ERTS version: 5.10.1 -> .*
DEBUG: Matched required OTP release: R16B -> .*
DEBUG: erl_opts [debug_info,warnings_as_errors,warn_export_all]
DEBUG: Starting 3 compile worker(s)
DEBUG: Worker exited cleanly
Compiled src/exec_app.erl
DEBUG: Worker exited cleanly
Compiled src/exec.erl
DEBUG: Worker exited cleanly
INFO:  No app_vars_file defined.
DEBUG: Postdirs: []



--
David N. Welton

http://www.dedasys.com/



More information about the erlang-questions mailing list