Hi,
I've tried to compile ICE for Ubuntu distribution of GNU/Linux.
I had multiple python sources installed and run in some conflict (using include of python2.4 with python runtime 2.5).
I did the attach modification. It's not robust because it doesn't check the version number, but at least it works in the case you use the higher python version available on the machine

.
Hope this help! At least it show a problem if it doesn't give a perfect solution
Btw, I'm a ICE newby, and this is my first message on this forum so ... hello everybody and sorry if the patch is not in the expected format.