David's fork or waiting on the merge is probably a good idea, but if you 
want to get up and running right now this stuff worked for me:

https://github.com/imperialwicket/vagrant-chicagoboss

Important bits:

  git clone https://github.com/ChicagoBoss/ChicagoBoss.git
  cd ChicagoBoss
  git checkout "0d99199"
  ./rebar get-deps
  # hack because 0d99199 seems buggy (rolling back to erlydtl 0.8.0)
  sed -i 's/0.8.2/0.8.0/' rebar.config deps/boss_db/rebar.config
  sed -i '/erlydtl/ s/"HEAD"/{tag,"0.8.0"}/' deps/boss_db/rebar.config
  rm -rf /home/vagrant/chicagoboss/ChicagoBoss/deps/erlydtl
  ./rebar get-deps
  # end hack
  ./rebar compile


Note - I confirmed this in R15B02, and haven't had a chance to confirm 
functionality in other Erlang releases.


-- Nicholas


On Friday, February 21, 2014 10:48:37 AM UTC-8, David Welton wrote:
>
> If you're feeling adventurous, you can try my fork: 
>
> https://github.com/davidw/ChicagoBoss 
>
> Hopefully those changes will get merged into CB proper soon. 
>
> On Fri, Feb 21, 2014 at 6:56 PM, Guido Rumi <[email protected]<javascript:>> 
> wrote: 
> > I'm having the same issue on a clean VPS with Ubuntu 13.10 and OTP 
> R16B03-1 
> > Cheers! 
> > Guido Rumi 
> > 
> > 
> > On Thursday, January 16, 2014 12:22:14 AM UTC-3, Romu wrote: 
> >> 
> >> When I run 'make' in v0.8.9 for the first time, I get: 
> >> 
> >> 
> >> Compiled src/tests/ct/make_app_SUITE.erl 
> >> :0: Warning: function render_tag/3 is unused 
> >> :0: Warning: function render_tag/3 is unused 
> >> ERROR: Compiling template src/boss/boss_html_error_template.dtl failed: 
> >>   {ok,boss_html_error_template, 
> >>       [{[],[{0,erl_lint,{unused_function,{render_tag,3}}}]}]} 
> >> ERROR: compile failed while processing 
> >> /home/simon/devel/ChicagoBoss-0.8.9: rebar_abort 
> >> Makefile:11: recipe for target 'all' failed 
> >> make: *** [all] Error 1 
> >> 
> >> 
> >> I ignore it and run 'make' again, I get 
> >> 
> >> ==> ChicagoBoss-0.8.9 (compile) 
> >> :0: Warning: function render_tag/3 is unused 
> >> :0: Warning: variable 'Counters' shadowed in 'fun' 
> >> :0: Warning: variable 'Counters' shadowed in 'fun' 
> >> :0: Warning: variable 'Counters' shadowed in 'fun' 
> >> :0: Warning: variable 'Counters' shadowed in 'fun' 
> >> :0: Warning: variable 'Var_module' is unused 
> >> :0: Warning: variable 'Var_module' is unused 
> >> :0: Warning: variable 'Var_module' is unused 
> >> :0: Warning: variable 'Var_module' is unused 
> >> ERROR: Compiling template src/boss/boss_html_errors_template.dtl 
> failed: 
> >>   {ok,boss_html_errors_template, 
> >>       [{[], 
> >>         [{0,erl_lint,{unused_function,{render_tag,3}}}, 
> >>          {0,erl_lint,{unused_var,'Var_module'}}, 
> >>          {0,erl_lint,{unused_var,'Var_module'}}, 
> >>          {0,erl_lint,{unused_var,'Var_module'}}, 
> >>          {0,erl_lint,{unused_var,'Var_module'}}, 
> >>          {0,erl_lint,{shadowed_var,'Counters','fun'}}, 
> >>          {0,erl_lint,{shadowed_var,'Counters','fun'}}, 
> >>          {0,erl_lint,{shadowed_var,'Counters','fun'}}, 
> >>          {0,erl_lint,{shadowed_var,'Counters','fun'}}]}]} 
> >> ERROR: compile failed while processing 
> >> /home/simon/devel/ChicagoBoss-0.8.9: rebar_abort 
> >> Makefile:11: recipe for target 'all' failed 
> >> make: *** [all] Error 1 
> >> 
> >> 
> >> I ignore it and run make for the third time, it passes: 
> >> 
> >> ==> goldrush (get-deps) 
> >> ==> lager (get-deps) 
> >> ==> pmod_transform (get-deps) 
> >> ==> erlando (get-deps) 
> >> ==> aleppo (get-deps) 
> >> ==> bson (get-deps) 
> >> ==> jsx (get-deps) 
> >> ==> ibrowse (get-deps) 
> >> ==> src (get-deps) 
> >> ==> ddb (get-deps) 
> >> ==> epgsql (get-deps) 
> >> ==> gen_server2 (get-deps) 
> >> ==> erlmc (get-deps) 
> >> ==> medici (get-deps) 
> >> ==> mongodb (get-deps) 
> >> ==> mysql (get-deps) 
> >> ==> poolboy (get-deps) 
> >> ==> meck (get-deps) 
> >> ==> protobuffs (get-deps) 
> >> ==> riak_pb (get-deps) 
> >> ==> riakc (get-deps) 
> >> ==> tiny_pq (get-deps) 
> >> ==> uuid (get-deps) 
> >> ==> redo (get-deps) 
> >> ==> ets_cache (get-deps) 
> >> ==> proper (get-deps) 
> >> ==> erlydtl (get-deps) 
> >> ==> boss_db (get-deps) 
> >> ==> tinymq (get-deps) 
> >> ==> cowlib (get-deps) 
> >> ==> ranch (get-deps) 
> >> ==> cowboy (get-deps) 
> >> ==> mimetypes (get-deps) 
> >> ==> mochiweb (get-deps) 
> >> ==> mochicow (get-deps) 
> >> ==> dynamic_compile (get-deps) 
> >> ==> jaderl (get-deps) 
> >> ==> lfe (get-deps) 
> >> ==> gen_smtp (get-deps) 
> >> ==> simple_bridge (get-deps) 
> >> ==> ChicagoBoss-0.8.9 (get-deps) 
> >> ==> goldrush (compile) 
> >> ==> lager (compile) 
> >> ==> pmod_transform (compile) 
> >> ==> erlando (compile) 
> >> ==> aleppo (compile) 
> >> ==> bson (compile) 
> >> ==> jsx (compile) 
> >> ==> ibrowse (compile) 
> >> ==> src (compile) 
> >> ==> ddb (compile) 
> >> ==> epgsql (compile) 
> >> ==> gen_server2 (compile) 
> >> ==> erlmc (compile) 
> >> ==> medici (compile) 
> >> ==> mongodb (compile) 
> >> ==> mysql (compile) 
> >> ==> poolboy (compile) 
> >> ==> meck (compile) 
> >> ==> protobuffs (compile) 
> >> ==> riak_pb (compile) 
> >> ==> riakc (compile) 
> >> ==> tiny_pq (compile) 
> >> ==> uuid (compile) 
> >> ==> redo (compile) 
> >> ==> ets_cache (compile) 
> >> ==> proper (compile) 
> >> make[1]: Entering directory 
> >> '/home/simon/devel/ChicagoBoss-0.8.9/deps/proper' 
> >> make[1]: 'include/compile_flags.hrl' is up to date. 
> >> make[1]: Leaving directory 
> >> '/home/simon/devel/ChicagoBoss-0.8.9/deps/proper' 
> >> ==> erlydtl (compile) 
> >> ==> boss_db (compile) 
> >> ==> tinymq (compile) 
> >> ==> cowlib (compile) 
> >> ==> ranch (compile) 
> >> ==> cowboy (compile) 
> >> ==> mimetypes (compile) 
> >> ==> mochiweb (compile) 
> >> ==> mochicow (compile) 
> >> ==> dynamic_compile (compile) 
> >> ==> jaderl (compile) 
> >> ==> lfe (compile) 
> >> ==> gen_smtp (compile) 
> >> ==> simple_bridge (compile) 
> >> ==> ChicagoBoss-0.8.9 (compile) 
> >> 
> >> 
> >> The whole process is reproducible.  My env: Arch Linux with erlang 
> >> R16B02-2. 
> >> 
> >> Is this expected? 
> >> 
> >> 
> >> Thanks 
> >> Romu 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "ChicagoBoss" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > Visit this group at http://groups.google.com/group/chicagoboss. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/chicagoboss/f2f136c7-5fe8-4301-8818-6d11dd4f2669%40googlegroups.com.
>  
>
> > 
> > For more options, visit https://groups.google.com/groups/opt_out. 
>
>
>
> -- 
> David N. Welton 
>
> http://www.welton.it/davidw/ 
>
> http://www.dedasys.com/ 
>

-- 
You received this message because you are subscribed to the Google Groups 
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/chicagoboss/c11fc1cc-c15e-405c-8d95-621558d8568a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to