fipes
fipes copied to clipboard
Can't compile or run fipes
Hi, I'm using Debian testing (jessie) and am unable to compile and run either the master or develop branch of fipes.
In the master branch I run make app and get this:
src/cowboy_cookies.erl: undefined parse transform 'eunit_autoexport'
In the develop branch I run make (which works fine) and then make start which succeeds but I guess it only did because it forked off into the background. When I checked with top I could not find fipes running. So I tried to run make dev and got:
{"init terminating in do_boot",{{badmatch,{error,{"no such file or directory","ranch.app"}}},[{fipes,start,0,[{file,"src/fipes.erl"},{line,24}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}
Also: what happened to https://fipelines.org/ ?
I just did the following procedure and it worked for me:
git clone https://github.com/tOkeshu/fipes.git
cd fipes
make
make dev # visit http://localhost:3473/
Maybe it's an Erlang version problem. I use Erlang R15B01 on Ubuntu 13.04, Raring Ringtail. What is your version?
Hi,
Quoting Romain Gauthier (2014-03-05 12:09:43)
I just did the following procedure and it worked for me:
git clone https://github.com/tOkeshu/fipes.git cd fipes make make dev # visit http://localhost:3473/
Maybe it's an Erlang version problem. I use Erlang R15B01 on Ubuntu 13.04, Raring Ringtail. What is your version?
I'm using Debian testing with erlang 1:16.b.3.1-dfsg-2 which corresponds to erlang R16B03-1
cheers, josch
The cowboy snapshot seems to be rotten :
compile: warnings being treated as errors
src/cowboy_http_websocket.erl:593: crypto:sha/1 is deprecated and will be removed in in a future release; use crypto:hash/2
make: *** [compile] Error 1
Erlang R16B03-1
Debian offers the package erlang-cowboy which ships all *.app and *.beam files in /usr/lib/erlang/lib/cowboy-0.8.6/ebin/ but the fipes build system does not seem to make use of that (neither in the master nor in the develop branch).
@josch I recently released a 0.1.0 which is the last deployed version on https://fipelines.org. Is your problem fixed now?
Thanks, it compiles fine now.
The error I get now is when starting it:
{"init terminating in do_boot",{{badmatch,{error,{"no such file or directory","cowlib.app"}}},[{fipes,start,0,[{file,"src/fipes.erl"},{line,18}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}
But that's of course a different issue and needs packaging of cowlib for Debian :)