Installation tips on Mac OSX 10.3

I just installed matplotlib-0.63.4 on Mac OSX 10.3, with some difficulties i detail (and answer) below.

Using Fink (0.7.1), freetype2 (2.1.3-21), Tk and GTK.

python install fails because of wrong paths to find freetype2 ft2build.h. Darwin include paths (in are '/usr/local', '/usr', 'sw'. freetype2 include paths are :

> locate ft2build.h
> /sw/lib/freetype2/include/ft2build.h
> /usr/X11R6/include/freetype2/ft2build.h

Once '/usr/X11R6' or '/sw/lib/freetype2' to paths for Darwin, build process works fine. Agg, GTKAgg, and TkAgg backends are available as described in your documentation.

I use matplotlib with ipython (python2.3.3, IPython0.6.3), and GTKAgg backend crashes if pygtk (2.0.0 here) is not build with threading. I used
> python build --enable-threading

Thanks for this great matplotlib product.


Loic Chevallier
ATER section 34
Observatoire de Paris - section de Meudon
Laboratoire LUTH
Groupe Noyaux actifs de galaxies et milieu insterstellaire
tel: (bureau 249)