【发布时间】:2021-11-26 01:43:25
【问题描述】:
我正在尝试在我的 Scientific Linux 版本 6.5 (Carbon) 机器上安装 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
安装正确
仍然错误配置:error: "libevent not found" 没有解决
提前致谢:)
【问题讨论】: