GithubHelp home page GithubHelp logo

Compilation error on R16B about edts HOT 9 CLOSED

sebastiw avatar sebastiw commented on July 24, 2024
Compilation error on R16B

from edts.

Comments (9)

tjarvstrand avatar tjarvstrand commented on July 24, 2024

Are you running the latest master?

See: #54

from edts.

crmaxx avatar crmaxx commented on July 24, 2024

Yes, I am.
OSX 10.8.2, erlang installed via brew.

from edts.

tjarvstrand avatar tjarvstrand commented on July 24, 2024

I believe this is due to the make-file missing a dependency update for the rebar dependencies. To work around it, run: rm -rf lib/{mochiweb,webmachine} && make

from edts.

crmaxx avatar crmaxx commented on July 24, 2024
$ rm -rf lib/{mochiweb,webmachine} && make
==> meck (get-deps)
==> lager (get-deps)
==> proper (get-deps)
==> tulib (get-deps)
==> edts (get-deps)
Pulling webmachine from {git,"git://github.com/basho/webmachine",
                             "f05a19518aff310e25dd06afbc1660b1b42adbb4"}
Cloning into 'webmachine'...
==> webmachine (get-deps)
Pulling mochiweb from {git,"git://github.com/basho/mochiweb",
                           {tag,"1.5.1-riak-1.0.x-fixes"}}
Cloning into 'mochiweb'...
==> mochiweb (get-deps)
==> mochiweb (compile)
/Users/mzhukov/Work/Erlang/Utils/edts/lib/mochiweb/src/mochifmt_records.erl:12: parameterized modules are no longer supported
/Users/mzhukov/Work/Erlang/Utils/edts/lib/mochiweb/src/mochifmt_records.erl:19: variable 'Recs' is unbound
ERROR: compile failed while processing /Users/mzhukov/Work/Erlang/Utils/edts/lib/mochiweb: rebar_abort
make[1]: *** [all] Error 1
make: *** [all] Error 2

Some time later I will try to install from your r16-support branch.

from edts.

tjarvstrand avatar tjarvstrand commented on July 24, 2024

the r16 branch has been merged into master. You seem to have an outdated rebar.config for edts somehow. When I run the above command I get the following output:

==> edts (get-deps)
Pulling webmachine from {git,"git://github.com/tjarvstrand/webmachine",
                             {branch,"edts"}}
Cloning into 'webmachine'...
==> webmachine (get-deps)
Pulling mochiweb from {git,"git://github.com/tjarvstrand/mochiweb",
                           {branch,"edts"}}

from edts.

crmaxx avatar crmaxx commented on July 24, 2024

I checked edts/lib/edts/rebar.config in master:

{deps,     [ {webmachine, ".*", {git, "git://github.com/basho/webmachine", "f05a19518aff310e25dd06afbc1660b1b42adbb4"}}

from edts.

crmaxx avatar crmaxx commented on July 24, 2024

In branch for R16 it is correct:

{webmachine, ".*", {git, "git://github.com/tjarvstrand/webmachine", {branch, "edts"}}}

from edts.

tjarvstrand avatar tjarvstrand commented on July 24, 2024

facepalm

I hadn't pushed.

Please try again, thank you for you patience :)

from edts.

crmaxx avatar crmaxx commented on July 24, 2024

Now it's compiled! :)
Thanks.

from edts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.