ninenines / gun

HTTP/1.1, HTTP/2, Websocket client (and more) for Erlang/OTP.
ISC License
898 stars 231 forks source link

Warning: behaviour gun_content_handler undefined #127

Closed 7stud closed 7 years ago

7stud commented 7 years ago

OSX 10.10.5 Erlang 19.2

~/Downloads/gun-master$ rebar3 compile
===> Verifying dependencies...
===> Fetching cowlib ({git,"https://github.com/ninenines/cowlib",
                                  "master"})
===> WARNING: It is recommended to use {branch, Name}, {tag, Tag} or {ref, Ref}, otherwise updating the dep may not work as expected.
===> Fetching ranch ({git,"https://github.com/ninenines/ranch",
                                 "master"})
===> WARNING: It is recommended to use {branch, Name}, {tag, Tag} or {ref, Ref}, otherwise updating the dep may not work as expected.
===> Compiling cowlib
===> Compiling ranch
===> Compiling gun
/Users/7stud/Downloads/gun-master/_build/default/lib/gun/src/gun_sse.erl:16: Warning: behaviour gun_content_handler undefined

/Users/7stud/Downloads/gun-master/_build/default/lib/gun/src/gun_data.erl:16: Warning: behaviour gun_content_handler undefined
essen commented 7 years ago

That's not an issue in Gun, it compiles properly if you run "make". Try from scratch and if it doesn't work open an issue in rebar3.