On 2007年11月29日 18:13:39 +0200 Ludwig Schwardt <lud...@gm...> wrote: > I've reworked the Tcl/Tk checking code in setupext.py (see attached > patch). It is now possible to build matplotlib with Tk support without > requiring a running X server. This is useful for doing autobuilds > (e.g. as done by Debian) and for building a package on one machine to > be installed and used on another. > > This seems to be an old issue... (see matplotlib-devel, "building > matplotlib without X-server connection," 11 Nov 2004) I would like to register my strong support for this patch. The bug in question also prevents one from doing "python setup.py bdist_rpm" on rpm-based systems. I recently tried to debug this myself and got as far as identifying exactly the problem Ludwig describes, but ran out of time/energy before coming up with the fix. I am very grateful to Ludwig for having fixed the problem. I hope his patch will go in soon. --Jim Amundson