title: Fedora - Reinstalling GMP with C++ support
body: <p>I'm trying to install a library that uses gmp and am running the ./configure on it.
  So far, I've gotten past several snags, such as requiring gcc, g++, and m4 by using:</p>
  
  <pre><code>yum install gcc
  yum install gcc-g++
  yum install m4
  </code></pre>
  
  <p>Now I'm getting this error:</p>
  
  <pre><code>checking for the GMP library version 4.1.3 or above... no
  configure: error: Cannot find GMP version 4.1.3 or higher.
  GMP is the GNU Multi-Precision library:
  see http://www.swox.com/gmp/ for more information.
  When compiling the GMP library, do not forget to enable the C++ interface:
  add --enable-cxx to the configuration options.
  </code></pre>
  
  <p>As such, I tried both installing and updating gmp using yum:</p>
  
  <pre><code>yum install gmp
  yum update gmp
  </code></pre>
  
  <p>Install tells me it's already installed and is v. 5.1.2
  Updating says there's nothing to update.</p>
  
  <p>I went to the gmp site and it is currently v. 6.0.0</p>
  
  <p>I downloaded it and ran configure (using --enable-cxx), make, and make install.
  Yet, nothing has changed.  It still says I have v. 5.1.2 and the configure for the library still says it can't find 4.1.3 and above / try enabling c++.
  The gmp files (such as gmp.h) are being placed in /usr/local/lib and /include</p>
  
  <p>I've been at this for hours without any progress.  I'm rather new to linux so I imagine there's something I just don't know about.</p>
  
  <p>Am I not installing 6.0.0 correctly to overwrite the already installed one?
  Or is there a way to reinstall the original with the c++ option?</p>
  
  <p>Any help would be appreciated.  Thanks.</p>