benoitc / erica

tool to manage couchapps
Apache License 2.0
269 stars 30 forks source link

Does not work with otp R16 #53

Closed macstr1k3r closed 11 years ago

macstr1k3r commented 11 years ago

If you have an up to date ArchLinux system you will ahave an OTP R16 version. erica Does not compile with this version of OTP, changed the regex in rebar.config but compile failes:

Compiled src/mochiweb.erl src/mochifmt_std.erl:6: parameterized modules are no longer supported src/mochifmt_std.erl:11: variable 'THIS' is unbound src/mochifmt_std.erl:14: variable 'THIS' is unbound src/mochifmt_std.erl:23: variable 'THIS' is unbound make: *\ [compile] Error 1

dch commented 11 years ago

FWIW you'll also find couchdb doesn't work either. A branch for that is in progress, see 1696.If you feel like hacking, then mochiweb needs to be updated to 2.4.2 or newer to make this work.

On 14 April 2013 12:51, Darko notifications@github.com wrote:

If you have an up to date ArchLinux system you will ahave an OTP R16 version. erica Does not compile with this version of OTP, changed the regex in rebar.config but compile failes:

Compiled src/mochiweb.erl src/mochifmt_std.erl:6: parameterized modules are no longer supported src/mochifmt_std.erl:11: variable 'THIS' is unbound src/mochifmt_std.erl:14: variable 'THIS' is unbound src/mochifmt_std.erl:23: variable 'THIS' is unbound make: *\ [compile] Error 1

— Reply to this email directly or view it on GitHubhttps://github.com/benoitc/erica/issues/53 .

wactbprot commented 11 years ago

@macstr1k3r you also got this error if you use the old stuff below ./deps on a fresh installed system @benoitc perhaps make clean should simply delete the stuff below ./deps which would lead then to fresh modules and avoids a possible reason for the error described above

benoitc commented 11 years ago

@wactbprot thinking rather to provide a make update command that would garantee you get the latest. So after a git pull you would need to run a make update && make install .

wactbprot commented 11 years ago

yep; make update sounds better