When I was installing winexe 1.00, after [winexe-1.00/source4/]./configure I got the following message:
checking for python2.6... /usr/local/bin/python2.6 checking for python2.6-config... /usr/local/bin/python2.6-config checking working python module support... no configure: error: Python not found. Please install Python 2.x and its development headers/libraries.
But I installed both Python 2.6 and 2.7. I couldn't find what's the problem.