--- \Apps\Python\Lib\distutils\cygwinccompiler.py.orig 2005-10-28 19:07:08.000000000 +0100 +++ \Apps\Python\Lib\distutils\cygwinccompiler.py 2008-08-03 17:05:49.843750000 +0100 @@ -398,7 +398,7 @@ """ Try to find out the versions of gcc, ld and dllwrap. If not possible it returns None for it. """ - from distutils.version import StrictVersion + from distutils.version import StrictVersion, LooseVersion from distutils.spawn import find_executable import re @@ -421,7 +421,7 @@ out.close() result = re.search('(\d+\.\d+(\.\d+)*)',out_string) if result: - ld_version = StrictVersion(result.group(1)) + ld_version = LooseVersion(result.group(1)) else: ld_version = None else: @@ -433,7 +433,7 @@ out.close() result = re.search(' (\d+\.\d+(\.\d+)*)',out_string) if result: - dllwrap_version = StrictVersion(result.group(1)) + dllwrap_version = LooseVersion(result.group(1)) else: dllwrap_version = None else: