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?