Python missing or unusable error while cross compiling GDB
gdb, python
Solution
I had the same problem on Debian 6.0 when compiling GDB 7.4.1
The solution was to install python headers
sudo apt-get install python2.6-dev
and then configure with the right flag
./configure --with-python
Problem
I get this error while attempting to cross-compile GDB (using the `--with-python` flag): ``` checking for python: /usr/bin/python checking for python2.7: no configure: error: python is missing or unusable ``` I made sure I had python2.7 installed in `/usr/bin`. I even removed the package and installed it again. I tried using `--with-python=/usr/bin` and `--with-python=/usr/local`, but no luck. I know for sure though that 2.7 is installed though. Any idea on what to do?