Hi Allen, Is there anything of note about your system that might help us reproduce the build error here? Are you using an symlinks in your Erlang libs folder? Do you have a ".erlang" file defined in your home directory?
Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. [email protected] On Fri, Jun 11, 2010 at 11:35 AM, Sean Cribbs <[email protected]> wrote: > Allen, > > The best answer we've come up with internally is that reltool (what's used > internally to rebar for part of the build process) tends to follow certain > symlinks blindly. If it's not critical for you to stay on Riak tip, you > should be able to use the binary packages without a hitch. > > Sean Cribbs <[email protected]> > Developer Advocate > Basho Technologies, Inc. > http://basho.com/ > > On Jun 11, 2010, at 2:29 PM, Allen Kim wrote: > > I removed tsung > $>sudo port uninstall tsung > $>sudo port clean tsung > > then, ran "make rel" command, it WORKS > > ... > Compiled src/riak_kv_wm_stats.erl > Compiled src/riak_kv_wm_link_walker.erl > Compiled src/riak_object.erl > Compiled src/riak_kv_wm_raw.erl > WARNING: 'generate' command does not apply to directory > /Users/allen/riak-0.11.0/apps/riak_kv > ==> rel (compile) > ==> rel (generate) > ==> riak-0.11.0 (compile) > WARNING: 'generate' command does not apply to directory > /Users/allen/riak-0.11.0 > ~/riak-0.11.0$ > > However when I installed tsung(which installs tsung, tsung_recorder, and > tsung_controller) again, a part of erlang, it does not work(the same error) > > I personally use tsung for load testing and riak will be the perfect > example of it, and I will need to install tsung later. > > I will not use tsung for a while until you fix it, and please let me know > when it is fixed. > > Thanks for your hard work > > Allen Kim > > On 2010-06-11, at 1:40 PM, Dan Reverri wrote: > > Hi Allen, > > When generating a release package with rebar the intention is to create a > fully independent release package that runs without any external > dependencies. During the release generation rebar will analyze the > specification of an application to determine dependencies. The tool will > then collect all the dependencies (including those from the system level > Erlang installation) and package them into a release. Tsung is not part of > the riak dependency specification and should not be pulled into the release. > My guess is that macports has configured Erlang in such a way that the Tsung > library is included in all releases. We have to look into this a bit further > and try to reproduce the issue locally. > > Thanks, > Dan > > Daniel Reverri > Developer Advocate > Basho Technologies, Inc. > [email protected] > > > On Fri, Jun 11, 2010 at 10:11 AM, Allen Kim <[email protected] > > wrote: > >> If it helps, ts_client_proxy.beam file is not in tsung-1.3.1 folder but in >> tsung_recorder-1.3.1, Don't know how to fix it though >> >> /opt/local/lib/erlang/lib/tsung_recorder-1.3.1/ebin$ls >> ts_client_proxy.beam ts_client_proxy_sup.beam ts_proxy_http.beam >> ts_proxy_listener.beam ts_proxy_pgsql.beam ts_proxy_recorder.beam >> ts_proxy_webdav.beam ts_recorder_sup.beam tsung_recorder.app >> tsung_recorder.beam >> >> Allen Kim >> >> ==> rel (generate) >> ERROR: Failed to generate target from spec: "copy file >> /opt/local/lib/erlang/lib/tsung-1.3.1/ebin/ts_client_proxy.beam -> >> /Users/allen/riak-0.11.0/rel/riak/lib/tsung-1.3.1/ebin/ts_client_proxy.beam: >> no such file or directory\n" >> >> On 2010-06-11, at 12:31 PM, Allen Kim wrote: >> >> information of erlang installed if helps >> >> /opt/local/lib/erlang/bin$port installed erlang >> The following ports are currently installed: >> erlang @R13B02_2+darwin_10 >> erlang @R13B02_3+darwin_10 >> erlang @R13B03_0+darwin_10 >> erlang @R13B04_0+darwin_10 (active) >> >> On 2010-06-11, at 12:20 PM, Dan Reverri wrote: >> >> Hi Allen, >> >> Sorry for not being more clear. You have to run the generate command >> against a compiled folder. >> make all >> ./rebar -v generate >> >> Thanks, >> Dan >> >> Daniel Reverri <[email protected]> >> Developer Advocate >> Basho Technologies, Inc. >> http://basho.com/ >> >> >> >> > > _______________________________________________ > riak-users mailing list > [email protected] > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > > >
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
