installing by mingw32

I tried to install matplotlib from svn (2398) on a system of
WindowsXP, python-2.4.2, numpy-0.9.6r1, MinGW-5.0.2. Even applying the
hack described in
http://mail.python.org/pipermail/python-list/2004-December/254826.html,
running

from pylab import *

caused the error message

the procedure entry point _ctype could not be located in the dynamic
link libary msvcr71.dll

I realized that matplotib relies on the distutils package of numpy
which in turn has its own mingw32ccompiler.py module and found that
the problem can be cured by commenting out the following lines in
Mingw32CCompiler.link

        if sys.version[:3] > '2.3':
            if libraries:
                libraries.append('msvcr71')
            else:
                libraries = ['msvcr71']

Is there any other solution better then modifying two modules of
separate packages?

Regargs,

Géza Groma
Institute of Biophysics
Biological Research Center of the Hungarian Academy of Sciences
Temesvári krt. 62.
6701 Szeged, Hungary

phone: +36 62 599 620 fax: +36 62 433 133 cellular: +36 20 5648 303