title: Python missing or unusable error while cross compiling GDB
body: <p>I get this error while attempting to cross-compile GDB (using the <code>--with-python</code> flag):</p>
  
  <pre class="lang-none prettyprint-override"><code>checking for python: /usr/bin/python
  checking for python2.7: no
  configure: error: python is missing or unusable
  </code></pre>
  
  <p>I made sure I had python2.7 installed in <code>/usr/bin</code>. I even removed the package and installed it again. I tried using <code>--with-python=/usr/bin</code> and <code>--with-python=/usr/local</code>, but no luck. I know for sure though that 2.7 is installed though. Any idea on what to do?</p>