Hi Alex,
Perhaps we can help each other. Normally, to get the python
headers and build a Python extension module, etc., you just
run:
sudo apt-get install python-dev
But depending on what you're building you may
also/alternatively need another package. Especially if you're
rebuilding Python, itself, you'll need:
sudo apt-get install libpython-dev
And possibly several others. You can *usually* find the one
you're looking for from the list generated with:
apt-cache search python-dev
Hope that helps,
Leland...