On Sun, 2017-07-30 at 15:45 -0400, Randy Barlow wrote: > Hello! > > I finally have a patch for the erlang spec file that lets the VM look > for dependencies in /usr/share/erlang/lib[0]. I tested it by moving > one > of ejabberd's dependencies there, and the server does start up. > > I've also written a patch for the macros to put libraries in that > location[1]. > > There is one problem I've not solved yet - rebar does not seem to > find > dependencies when running eunit, as I reported in a comment in [0]. > I'm > not sure why but it seems that Rebar does not use the Erlang VM's > search path? Does anybody know how we can convince Rebar to find > dependencies in /usr/share?
I've discovered that if I modify the rebar_eunit macro to
add deps_dir=%{_datadir}/erlang/lib/ onto the command, *and* if I
rename /usr/share/erlang/lib/p1_utils-1.0.9 to only be
/usr/share/erlang/lib/p1_utils, I am able to successfully build erlang-
cache_tab. I find that kind of odd, since rebar found everything just
fine when it was in %{_libdir} and had a version on its name.
Any ideas?
signature.asc
Description: This is a digitally signed message part
_______________________________________________ erlang mailing list -- [email protected] To unsubscribe send an email to [email protected]
