cowboy官方教程是用relx来管理代码,笔者在ubuntu下make时,一直出现一个错误,导致编译不成功,如下图所示:
crypto模块与openssl不兼容,解决办法,先重装openssl,再重装erlang,重装时记得开启hipe
apt-get install ncurses-devel
./configure --with-ssl=/usr/local/ssl --enable-threads --enable-smp-support --enable-kernel-poll --enable-hipe --without-javac
具体操作可见:http://www.cnblogs.com/getong/p/3515679.html