J'ai essayé de compiler tmux en utilisant les étapes suivantes:
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
La make
commande a échoué avec l'erreur suivante:
control.c:64:47: error: ‘EVBUFFER_EOL_LF’ undeclared (first use in this function)
Voici les détails des packages ncurses-devel et libevent-devel installés.
[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.
Quelle est la bonne façon d'installer tmux sur CentOS 6.x?