title: "libevent not found" error in tmux
body: <p>I am trying to install tmux in my Scientific Linux release 6.5 (Carbon) machine </p>
  
  <p>These are the steps I followed </p>
  
  <pre><code>wget http://downloads.sourceforge.net/tmux/tmux-1.9.tar.gz
  
  tar xvzf tmux-1.9.tar.gz
  </code></pre>
  
  <p> </p>
  
  <pre><code>cd tmux-1.9
  
  ./configure
  </code></pre>
  
  <p>  At this step it's showing the error:</p>
  
  <pre><code>configure: error: "libevent not found"   
  </code></pre>
  
  <p>To solve it I did the following:</p>
  
  <pre><code>emacs /etc/yum.repos.d/pgdg-92-sl.repo 
  </code></pre>
  
  <p> and added the following lines</p>
  
  <pre><code>[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
  </code></pre>
  
  <p>Then did:</p>
  
  <pre><code>yum install libevent  
  </code></pre>
  
  <p>It installed correctly</p>
  
  <p> Still the error configure: <code>error: "libevent not found"</code> is not solved  </p>
  
  <p>Thanks in advance :)</p>