Macos 如何将coturn安装到mac
如何在mac上安装coturn 我按照描述完成了所有步骤Macos 如何将coturn安装到mac,macos,coturn,Macos,Coturn,如何在mac上安装coturn 我按照描述完成了所有步骤 $ ./configure $ make $ make install 但是收到这个错误 In file included from src/apps/oauth/oauth.c:41: src/apps/common/apputils.h:34:10: fatal error: 'event2/event.h' file not found #include <event2/event.h> ^~~~~
$ ./configure
$ make
$ make install
但是收到这个错误
In file included from src/apps/oauth/oauth.c:41:
src/apps/common/apputils.h:34:10: fatal error: 'event2/event.h' file not found
#include <event2/event.h>
^~~~~~~~~~~~~~~~
1 error generated.
In file included from src/apps/common/apputils.c:34:
src/apps/common/apputils.h:34:10: fatal error: 'event2/event.h' file not found
#include <event2/event.h>
^~~~~~~~~~~~~~~~
1 error generated.
src/apps/common/ns_turn_utils.c:35:10: fatal error: 'event2/http.h' file not found
#include <event2/http.h>
^~~~~~~~~~~~~~~
1 error generated.
make: *** [bin/turnutils_oauth] Error 1
包含在src/apps/oauth/oauth.c:41中的文件中:
src/apps/common/apputils.h:34:10:致命错误:找不到“event2/event.h”文件
#包括
^~~~~~~~~~~~~~~~
生成1个错误。
在src/apps/common/apputils.c中包含的文件中:34:
src/apps/common/apputils.h:34:10:致命错误:找不到“event2/event.h”文件
#包括
^~~~~~~~~~~~~~~~
生成1个错误。
src/apps/common/ns\u turn\u utils.c:35:10:致命错误:找不到“event2/http.h”文件
#包括
^~~~~~~~~~~~~~~
生成1个错误。
make:**[bin/turnutils_oauth]错误1
我是coturn的新手,请帮助,我做错了什么我找到了一个解决方案,对于MacOs,您必须在安装coturn之前安装第三方库
$ wget https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz
As root, build and install the library with the usual:
$ tar xvfz libevent-2.0.21-stable.tar.gz
$ cd libevent-2.0.21-stable
$ ./configure
$ make
$ make install