Eu tentei compilar o tmux usando as seguintes etapas:
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
O make
comando falhou com o seguinte erro:
control.c:64:47: error: ‘EVBUFFER_EOL_LF’ undeclared (first use in this function)
Aqui estão os detalhes dos pacotes ncurses-devel e libevent-devel instalados.
[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 : Header files, libraries and development documentation for libevent
URL : http://monkey.org/~provos/libevent/
License : BSD
Description : This package contains the static libraries documentation for libevent.
: If you like to develop programs using libevent, you will need
: to install libevent-devel.
Name : ncurses-devel
Arch : x86_64
Version : 5.7
Release : 3.20090208.el6
Size : 1.7 M
Repo : installed
From repo : base
Summary : Development files for the ncurses library
URL : http://invisible-island.net/ncurses/ncurses.html
License : MIT
Description : The header files and libraries for developing applications that use
: the ncurses terminal handling library.
:
: Install the ncurses-devel package if you want to develop applications
: which will use ncurses.
Qual é o caminho certo para instalar o tmux no CentOS 6.x?
Instale o libevent 2 -devel instant of libevent-devel
na minha máquina de 64 bits:
Se você já possui o libevent-devel instalado, desinstale-o primeiro.
fonte
Configure e comece a trabalhar depois de executar:
Observe que o primeiro remove a versão antiga ( 1 ) e o segundo tem um '2' explícito adicionado. Também o tipo da máquina é felizmente resolvido automaticamente.
fonte