小编vol*_*ker的帖子

为什么从源代码构建 tmux 时 gcc 找不到 libevent?

我想在没有 root 访问权限的机器上安装 tmux。我已经编译了 libevent 并安装了它$HOME/.bin-libevent,现在我想编译 tmux,但 configure 总是以 结尾configure: error: "libevent not found",即使我试图Makefile.am通过修改LDFLAGS和指向 libevent 目录CPPFLAGS,但似乎没有任何效果。

如何告诉系统在我的主目录中查找 libevent?

compiling make configure autoconf

70
推荐指数
3
解决办法
5万
查看次数

标签 统计

autoconf ×1

compiling ×1

configure ×1

make ×1