libwebsockets was not build with libuv support (-DLWS_WITH_LIBUV=ON)
今天在服务器安装一个ttyd玩一下,一路上遇到各种错误,百度也查不到,最终解决了记录一下
[root@feng1 build]# sudo cmake ..
-- The C compiler identification is GNU 4.8.5
-- Check for working C compiler: /bin/cc
-- Check for working C compiler: /bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Git: /bin/git (found version "1.8.3.1")