我正在我的科学Linux版本6.5(碳)机器上安装tmux
这些是我遵循的步骤
wget http://downloads.sourceforge.net/tmux/tmux-1.9.tar.gz
tar xvzf tmux-1.9.tar.gz
cd tmux-1.9
./configure
在这一步,它显示错误:
configure: error: "libevent not found"
为了解决这个问题,我做了如下工作:
emacs /etc/yum.repos.d/pgdg-92-sl.repo
并添加了以下几行
[pgdg92]
name=PostgreSQL 9.2 $releasever - $basearch
baseurl=http://yum.postgresql.org/9.2/redhat/rhel-6.4-$basearch
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-92
[pgdg92-source]
name=PostgreSQL 9.2 $releasever - $basearch - Source
failovermethod=priority
baseurl=http://yum.postgresql.org/srpms/9.2/redhat/rhel-6.4-$basearch
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-92
然后呢
yum install libevent
它安装正确
仍然出错configure:error:“libevent not found”没有解决
提前致谢 :)