This seems like a good idea to me, and it works for me (I can build mpl 
with the TkAgg extension from a console with X completely shutdown on 
RHEL4...).

John -- does the timing for this work with you release plans?  (It 
probably needs some testing in a bunch of different environments.)  If 
so, I'm happy to commit this.

Cheers,
Mike

James Amundson wrote:
> On Thu, 29 Nov 2007 18:13:39 +0200
> Ludwig Schwardt <[EMAIL PROTECTED]> 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
> 
> 
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> _______________________________________________
> Matplotlib-devel mailing list
> Matplotlib-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to