On Tuesday 04 August 2009, John Hunter wrote:
> On Tue, Aug 4, 2009 at 3:52 AM, Johann Rohwer<j...@sun.ac.za> wrote:
> > Using the latest SVN matplotlib, the TkAgg backed does not get
> > built even though all the libraries are installed (Linux 64-bit).
> > The following error message occurs during the build:
> >
> > Tkinter: no
> >         * Using default library and include directories for
> >         * Tcl and Tk because a Tk window failed to open.
> >         * You may need to define DISPLAY for Tk to work so
> >         * that setup can determine where your libraries are
> >         * located. Tkinter present, but header files are not
> >         * found. You may need to install development
> >         * packages.
>
> The message suggests you may not have access to the windowing
> system, and the build process needs it to import tk.  Are you
> building on a remote box, or as root who may not have access to
> your user desktop? 

No, I'm building as a normal user on the local machine.

[...@blikbrein ~]$ echo $DISPLAY
:0.0

Furthermore I can create Tk objects:
[...@blikbrein ~]$ python
Python 2.6.1 (r261:67515, Apr 12 2009, 04:14:16)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Tkinter
>>> a=Tkinter.tkinter.create()

which creates a tk window on my desktop.

So really in the dark what's going on here....
Johann


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to