AW: Installing matplotlib with python 2.4

Thank you for your help. The matplotlib is now installed properly on my win xp computer.
I think using mingw instead of msvc was the key. That's the way it worked on my machine:

1.) Download and install all the required things as descibed in the win32_static/README but use the newest versions and for the GTK stuff goto <http://prdownloads.sourceforge.net/gladewin32/gtk-win32-devel-2.4-rc23.exe?download>.
There is no need to change the "cygwinccompiler.py" but I had to adjust the "profile24.bat" and the "importlib24.bat".

2.) Add the following code to line 234 in the setupext.py:

        if major==2 and minor1==4:
            print '\tBuilding for python24'
            module.include_dirs.extend(['win32_static/include/tcl84'])
            module.library_dirs.extend(['C:/Python24/dlls'])
            module.libraries.extend(['tk84', 'tcl84'])
        el

3.) python setup.py build --compiler=mingw32 bdist_wininst

Regards,
Frederik

···

-----Ursprüngliche Nachricht-----
Von: John Hunter [mailto:jdhunter@…8…]
Gesendet: Freitag, 26. November 2004 17:59
An: Transier, Frederik
Cc: 'matplotlib-users@lists.sourceforge.net'
Betreff: Re: [Matplotlib-users] Installing matplotlib with python 2.4

    > Hello, while I was trying to build the matplotlib 0.64
    > with python 2.4 on my win xp machine

    > a lot of errors occurred. Has anyone managed to install
    > it under these conditions?

    > Or is there any location I can download the binaries
    > for python 2.4 and win xp?

    > Any help would be appreciated.

Building on windows is a pain. I'll try to include a python2.4rc1
installer with the next release, possibly next week. If you need
something sooner, you'll have to post some more information to the
list. Have you read the instructions for building win32 in
setupext.py, and downloaded the win32_static file from the matplotlib
web site that is pointed to in setupext?

JDH