我按照 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/