I've packaged matplotlib for the Guix functional package manager
(http://www.gnu.org/software/guix/) which compiles software in
isolated environments. The 'setup.py' program fails to detect the
location and version of the Tlc/Tk libraries required to build the
Looking into the problem I have the impression that the detection
method is a little bit out of date. Tcl/Tk ships with 'pkg-config' .pc
files and it would probably be more robust to use this approach (as
used to detect other libraries).
The attached patch does this and fixes the problem for us.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1315 bytes
Desc: not available