c - Mac 上的 libevent,进行安装

标签 c macos makefile libevent

我按照 README 在 Mac 操作系统上安装 libevent 最后一步make install,显示

Making install in include
make[3]: Nothing to be done for `install-exec-am'.
 .././install-sh -c -d '/usr/local/include'
 .././install-sh -c -d '/usr/local/include/event2'
 /usr/bin/install -c -m 644  event2/buffer.h event2/buffer_compat.h event2/bufferevent.h event2/bufferevent_compat.h event2/bufferevent_ssl.h event2/bufferevent_struct.h event2/dns.h event2/dns_compat.h event2/dns_struct.h event2/event.h event2/event_compat.h event2/event_struct.h event2/http.h event2/http_compat.h event2/http_struct.h event2/keyvalq_struct.h event2/listener.h event2/rpc.h event2/rpc_compat.h event2/rpc_struct.h event2/tag.h event2/tag_compat.h event2/thread.h event2/util.h '/usr/local/include/event2'
 .././install-sh -c -d '/usr/local/include'
 .././install-sh -c -d '/usr/local/include/event2'
 /usr/bin/install -c -m 644  ./event2/event-config.h '/usr/local/include/event2'
Making install in sample
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in test
make  install-am
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.

有很多“无事可做”。如何修复它们?

最佳答案

你不需要修复它们,这是正常的。为了确保您已正确安装该库,请在/usr/local/include 中查找 event2 目录。

您可以开始编写代码。

关于c - Mac 上的 libevent,进行安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18310037/

相关文章:

c - FFMpeg Cygwin 编译

c - 为什么我的遗传算法不会收敛,或者至少不会变得更好一点?

html - 在 Mac OS X 上使用 Sublime Text 2 打开标签更改时自动更新结束标签

makefile - 为什么我的 makefile 在构建后对依赖项调用 rm?

c - 如何在 Makefile 中链接共享库

c - 如何在 C 函数中设置未初始化指针的值?

c - fread() 由于某种未知原因失败

objective-c - xcode 在同一窗口中打开 "click here to view symbol declaration"

macos - 如何将 M-x 映射到 emacs 24 (Mac OS X Lion) 中的 "`"键

c++ - 静态依赖库是否需要包含静态依赖库