Hi Georgio,

Support for parameterized modules was removed in Erlang R16, but the
version of webmachine thats being pulled in still depends on an older tag
of mochiweb that utilizes this feature.

To build successfully you can use R15B03.

Note: this issue has been addressed[0], however the deps have yet to be
incremented.

[0] https://github.com/basho/mochiweb/pull/6

Regards,
Tom


On Sat, Dec 14, 2013 at 9:59 PM, Georgio Pandarez <[email protected]
> wrote:

>
> Hi All,
>
> I'm trying to compile riak_cs_auth however I'm getting the below errors
> when compiling with Erlang R16B01
>
> make
> develop
> ==> mochiweb (get-deps)
> ==> webmachine (get-deps)
> ==> meck (get-deps)
> ==> protobuffs (get-deps)
> ==> riak_pb (get-deps)
> ==> riakc (get-deps)
> ==> lager (get-deps)
> ==> druuid (get-deps)
> ==> velvet (get-deps)
> ==> poolboy (get-deps)
> ==> bear (get-deps)
> ==> folsom (get-deps)
> ==> riak_cs_core (get-deps)
> ==> riak_cs_auth (get-deps)
> ==> mochiweb (compile)
> /home/accassar/src/riak_cs_auth/deps/mochiweb/src/mochifmt_records.erl:12:
> parameterized modules are no longer supported
> /home/accassar/src/riak_cs_auth/deps/mochiweb/src/mochifmt_records.erl:19:
> variable 'Recs' is unbound
> ERROR: compile failed while processing
> /home/accassar/src/riak_cs_auth/deps/mochiweb: rebar_abort
> make: *** [compile] Error 1
>
>
> _______________________________________________
> 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

Reply via email to