s.schaefer.at....@gmail.com> wrote:
> I'll ask this differently: how does one specify compile time dependencies
> to sinan? "sinan build -v" is only reporting run time dependencies:
> $ sinan build -vvv
> starting: depends
> Using the following lib directories to resolve dependencies:
> To post to this group, send email to erlware-questions@googlegroups.com.
> To unsubscribe from this group, send email to
> erlware-questions+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/erlware-questions?hl=en.
Perhaps it would be useful to describe how the erlando files got there: I first tried to do a git clone of erlando itself, but couldn't do a "make" because that required "../umbrella.mk". So I found "umbrella.mk" in "rabbitmq-public-umbrella" and did a git clone of that. In its top level, "make erlando" pulled erlando from a mercurial repository. "cd erlando; make" appeared to work, generating ebin/*.beam files. Then I did a "mkdir $weave_top/weave/lib/erlando; cp -r * $weave_top/weave/lib/erlando".
s.schaefer.at....@gmail.com> wrote:
> Perhaps it would be useful to describe how the erlando files got there: I
> first tried to do a git clone of erlando itself, but couldn't do a "make"
> because that required "../umbrella.mk". So I found "umbrella.mk" in
> "rabbitmq-public-umbrella" and did a git clone of that. In its top level,
> "make erlando" pulled erlando from a mercurial repository. "cd erlando;
> make" appeared to work, generating ebin/*.beam files. Then I did a "mkdir
> $weave_top/weave/lib/erlando; cp -r * $weave_top/weave/lib/erlando".
> To post to this group, send email to erlware-questions@googlegroups.com.
> To unsubscribe from this group, send email to
> erlware-questions+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/erlware-questions?hl=en.
=ERROR REPORT==== 20-Jun-2012::20:38:00 === Loading of /tmp/agner.PJPjwS/rebar/rebar/ebin/rebar.beam failed: badfile escript: exception error: undefined function rebar:main/1 in function escript:run/2 in call from escript:start/1 in call from init:start_it/1 in call from init:start_em/1
=ERROR REPORT==== 20-Jun-2012::20:38:00 === beam/beam_load.c(1365): Error loading module rebar: use of opcode 153; this emulator supports only up to 152
make: *** [deps] Error 127
I have found a solution, however: "yum -y install erlang-erlando.x86_64". The package did not include /usr/lib64/erlang/lib/erlando-2.8.2/ebin/erlando.app so I had to gin that up with vi for sinan's sake, but "sinan build -v" is now completing! Hurray!
> On Wed, Jun 20, 2012 at 5:50 PM, Stephen Schaefer wrote:
>> Perhaps it would be useful to describe how the erlando files got there: >> I first tried to do a git clone of erlando itself, but couldn't do a "make" >> because that required "../umbrella.mk". So I found "umbrella.mk" in >> "rabbitmq-public-umbrella" and did a git clone of that. In its top level, >> "make erlando" pulled erlando from a mercurial repository. "cd erlando; >> make" appeared to work, generating ebin/*.beam files. Then I did a "mkdir >> $weave_top/weave/lib/erlando; cp -r * $weave_top/weave/lib/erlando".