From: Johann R. <jr...@su...> - 2009-08-04 14:14:52
|
On Tuesday 04 August 2009, John Hunter wrote: > On Tue, Aug 4, 2009 at 3:52 AM, Johann Rohwer<jr...@su...> 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. [jr@blikbrein ~]$ echo $DISPLAY :0.0 Furthermore I can create Tk objects: [jr@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 |