I'm running into an error building the Mac binary:
basedirlist is: ['/usr/local']
python: 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011,
[GCC 4.0.1 (Apple Inc. build 5493)]
freetype2: found, but unknown version (no pkg-config)
OPTIONAL BACKEND DEPENDENCIES
libpng: found, but unknown version (no pkg-config)
Traceback (most recent call last):
8, in <module>
27, in main
File "setup.py", line 162, in <module>
if check_for_tk() or (options['build_tkagg'] is True):
File "/Archives/PythonPackages/matplotlib-1.0.1/setupext.py", line
832, in check_for_tk
IndexError: list index out of range
I have ActiveState Tk installed. Tkinter reports the following values:
Tkinter.__version__ = "$Revision$"
Tkinter.TkVersion = "8.4"
Tkinter.TclVersion = "8.4"
I assume I can get past this by hacking up setupext.py; I'm willing to
do that, but I'm wondering if it makes more sense to fix the bug. How
many other users are going to be bit by this?
1.0.1rc1 built with no problems, but I see that setupext.py had some
revisions since then.
P.S. I have no idea why freetype2 and libpng install without pkg-config;
I install them in in /usr/local in the usual way. However, those
warnings have been present for a long time and it never seems to cause