Comments (13)
Here's the dump: https://gist.github.com/benjamn/5093593
from kraken.
Thanks for the bug report. I'll see if I can reproduce and get back to you shortly.
from kraken.
Hey Benjamn, that happens to be the same error you would get if you forgot to build the project first. Did you run "./rebar get-deps compile" first?
from kraken.
@krisr, yep I did, although there were some warnings at the end:
~/src/kraken % ./rebar get-deps compile
==> Entering directory `/Users/benjamn/src/kraken/deps/log4erl'
==> Entering directory `/Users/benjamn/src/kraken/deps/mochiweb'
==> mochiweb (get-deps)
==> Leaving directory `/Users/benjamn/src/kraken/deps/mochiweb'
==> log4erl (get-deps)
==> Leaving directory `/Users/benjamn/src/kraken/deps/log4erl'
==> kraken (get-deps)
==> Entering directory `/Users/benjamn/src/kraken/deps/log4erl'
==> Entering directory `/Users/benjamn/src/kraken/deps/mochiweb'
==> mochiweb (compile)
src/mochifmt_std.erl:6: parameterized modules are no longer supported
src/mochifmt_records.erl:12: parameterized modules are no longer supported
src/mochifmt_std.erl:11: variable 'THIS' is unbound
src/mochifmt_records.erl:19: variable 'Recs' is unbound
src/mochifmt_std.erl:14: variable 'THIS' is unbound
from kraken.
Looks like it failed to build a dependency because erlang R16B no longer supports parameterized modules and did get to compile kraken as a result. It's unfortunate that log4erl depends on mochiweb since we are not using it at all. I'll see what I can do after getting the latest erlang build on my machine. In the meantime, you could try using an older version of erlang. I know R15B02 works.
from kraken.
Got it, thanks. I'll leave it to you to close/edit this issue to reflect whatever you decide to do.
from kraken.
There is an update to mochiweb for this already, I'll sort out the dependencies in log4erl and push a fix shortly.
from kraken.
@krisr I encountered the same issue
from kraken.
@manjuraj Thanks for the report. I have some time this evening so I'm going to work on getting log4erl building with erlang R16B. I'll keep you posted.
from kraken.
@manjuraj, @benjamn, I forked log4erl and made it depend on a more recent version of mochiweb which compiles successfully with later version of erlang. You may need to clean out your kraken/deps/* directories to get things in a working state after you pull the change. Let me know if it works for you now and I'll go ahead and close this issue.
from kraken.
@krisr works for me after updating, thanks!
from kraken.
@krisr works for me too
from kraken.
Hello @krisr @benjamn @manjuraj, I'm also confirming that current git HEAD 698fc66 runs successfully using Erlang R16B. Thank you.
from kraken.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kraken.