title: Unable to install GDB with python support
body: <p>The thing is, I want to have python support in my GDB installation. When I ran</p>
  
  <pre><code>./configure --with-python 
  </code></pre>
  
  <p>with </p>
  
  <pre><code>make
  </code></pre>
  
  <p>in the GDB source file directory, however, the "make" exited with the following information:</p>
  
  <pre><code>checking whether to use python... yes
  checking for python... (cached) /home/tools/tools/../bin/64//python
  checking for python2.7... no
  configure: error: python is missing or unusable"
  </code></pre>
  
  <p>Note that the returned information possible indicates that the "make" program is trying to find a python intallation in "/home/tools/tools/../bin/64//python" directory, which, however is not the default python installation of my account. I've set the $PATH variable to make the "python" command pointing to a python installation of my own, which resides under home directory.</p>
  
  <p>Why is this? Can anyone help? A thousand thanks.</p>
  
  <p>PS. There's one thing I'm not sure, since I only want to have some script automatically run in the ".gdbinit" file, which seems like some python script. Does supporting this script equal to making GDB able to debug python script??</p>