小编Sus*_*Pal的帖子

尝试在 CentOS 6.x 上安装 tmux 失败并显示错误:'EVBUFFER_EOL_LF' undeclared

我尝试使用以下步骤编译 tmux:

yum -y install ncurses-devel libevent-devel
wget http://downloads.sourceforge.net/tmux/tmux-1.9a.tar.gz
tar -xvzf tmux-1.9a.tar.gz
cd tmux-1.9a
./configure
make
Run Code Online (Sandbox Code Playgroud)

make命令失败,出现以下错误:

control.c:64:47: error: ‘EVBUFFER_EOL_LF’ undeclared (first use in this function)
Run Code Online (Sandbox Code Playgroud)

以下是安装的 ncurses-devel 和 libevent-devel 软件包的详细信息。

[root@rigel ~]# yum info ncurses-devel.x86_64 libevent-devel.x86_64
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: centosmirror.go4hosting.in
Installed Packages
Name        : libevent-devel
Arch        : x86_64
Version     : 1.4.13
Release     : 4.el6
Size        : 421 k
Repo        : installed
From repo   : base
Summary     : …
Run Code Online (Sandbox Code Playgroud)

linux centos tmux

11
推荐指数
2
解决办法
1万
查看次数

标签 统计

centos ×1

linux ×1

tmux ×1