Questions tagged [rebar]

rebar is an Erlang build tool that makes it easy to compile and test Erlang applications, port drivers and releases.

rebar is an Erlang build tool that makes it easy to compile and test Erlang applications, port drivers and releases.

235 questions
0
votes
1 answer

Why can't rebar3 compile a dependency it can compiled by itself?

I'm trying to compile a module that uses the new xmpp library for ejabberd. I've a very simple rebar.config file: {deps, [ {xmpp, ".*", {git, "https://github.com/processone/xmpp", {tag, "1.1.4"}}} ]}. When I try to run rebar3 eunit or rebar3…
Marc Philipp
  • 1,848
  • 12
  • 25
0
votes
1 answer

Erlang compile error "No command to run specified!"

I built the Erlang development environment with IntelliJ and Rebar. I have modify template code provided by Erlang plugin. But it does not compile. Compile log: "C: \ Program Files \ erl8.2 \ bin \ rebar" "C: \ Program Files \ No command to run…
Mu hun Kim
  • 69
  • 3
  • 7
0
votes
1 answer

Cannot expand $ERTS_LIB_DIR in bootfile

I created a release using rebar3 but I have issues running/booting the app on my remote server. When i run the following command: $> /home/app/releases/0.0.1# erl -boot start I get the following error: {"init terminating in do_boot",'cannot expand…
Oladipo Olasemo
  • 2,010
  • 24
  • 31
0
votes
1 answer

rebar dependency without repository

I have rebar project with dependencies, so after clean when I run rebar compile, it downloads dependencies (for git runs git clone, looks like), runs configure for them and then compiles everything. Can I somehow make those dependencies local? I…
Zhani Baramidze
  • 1,407
  • 1
  • 13
  • 32
0
votes
1 answer

[Switchboard]: undef rebar_utils:wordsize, [],[] when compiling lager, gproc, jsx, poolboy

I'm trying to get switchboard compiled on a Debian linux. I'm asking here since their supported install is just Virtualbox. I'm getting a bunch of what I expect are Rebar version related issues, but I'm pretty new so that could be very wrong. Here's…
rm-rf
  • 1,313
  • 1
  • 15
  • 24
0
votes
0 answers

rebar generate "Module application_starter potentially included by two different applications: kernel and xxx."}},

I have a application which use "included_applications" It works fine, but if I use rebar(2.6) to generate release, It shows error message "Module application_starter potentially included by two different applications: kernel and xxx.", Can anyone…
0
votes
1 answer

ERROR: Dependency dir /riak/riak_ensemble_demo/deps/cuttlefish/deps/neotoma ; version_mismatch

I aim to get all dependencies and run riak_ensemble on my local machine. However, When I run rebar get-deps, I always encounter: Cloning into 'neotoma'... ERROR: Dependency dir /home/project/riak/riak_ensemble_demo/deps/cuttlefish/deps/neotoma…
indi60
  • 867
  • 4
  • 17
  • 34
0
votes
1 answer

Cannot compile ejabberd when checked out from Git repository

I have built a ejabberd module in intelliJ using rebar to compile and I am getting the error "undefined parse transform 'lager_transform'" rebar.config: {erl_opts, [nowarn_deprecated_function, {d, 'LAGER', true}, {d, 'NO_EXT_LIB'}, {i, ["c:/Program…
WXM1967
  • 137
  • 1
  • 7
0
votes
2 answers

Cloud 9 IDE bash: rebar: command not found

Locally I can install rebar, get-deps, and compile. On C9 I do the exact same steps and I get bash: rebar: command not found when doing rebar get-deps. My terminal is running -bash. Not sure what else I can do. I tried rebar/rebar and ./rebar Using…
Bryn
  • 257
  • 4
  • 16
0
votes
1 answer

Starting Rebar3 project for development with console and code updating

I created a project with Rebar3 like this rebar new release app1 I then compiled it: rebar3 compile Now the question is, with Rebar3, how do I start a project in development mode? My requirements are: That it would be started as an Erlang node To…
0
votes
1 answer

How to build and use epgsql (erlang)

My erlang program directory structure is below: src pgtest.erl lib epgsql rebar I downloaded the epgsql library from https://github.com/epgsql/epgsql then tried to build it with make which gave me the below error: make: rebar: Command not…
Kamrul Khan
  • 3,260
  • 4
  • 32
  • 59
0
votes
1 answer

Rebar ./bin/sp restart report {'cannot load',asn1rt_nif,get_files} and can not start

Environment Mac OS X 10.10.5 Erlang/OTP: 17.5 rebar 2.6.0 17 20150818_094957 git 2.6.0-16-g3239e74-dirty It is an example of application from the book Programming Erlang. I have git push to github Steps to reproduce the error build $ git clone…
mingchaoyan
  • 8,096
  • 3
  • 23
  • 31
0
votes
1 answer

Connection Timeout at "./rebar get-deps" / compiling EJabberd

I am trying to compile eJabberd on CentOS6. I am following the steps mentioned @ [https://www.process-one.net/docs/ejabberd/guide_en.html#htoc12][1] However, this aborts with connection-timeout error while executing "make". Following is the error…
Sahil Gera
  • 478
  • 4
  • 10
0
votes
2 answers

Command 'rebar doc' is inconsistent

First of all, 'rebar doc' works sometimes and sometimes not. It is strange. Rebar version which I'm using is 2.5.1 My folder structure is: Header_Directory 1.1 apps 1.1.1 sub_dir_1 1.1.2 sub_dir_2 / include 1.1.3 sub_dir_3 1.2 deps 1.3…
0
votes
1 answer

Rebar eunit runs non native (non Hipe) code

I have compiled my Erlang module using rebar compile using the following option in rebar.config {erl_opts, [native, {hipe, [verbose]}, warnings_as_errors, debug_info]}. {eunit_compile_opts, [native, {hipe, [verbose]}, warnings_as_errors,…
Vishal
  • 1,169
  • 2
  • 12
  • 20