KURT PETERS wrote:
> Jeff,
>    I had already had tk-dev installed:
> $ sudo apt-get install tk-dev
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> tk-dev is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
>
> Please see my latest...  This is amazingly difficult.  Didn't remember 
> it being this hard when I did it on my Suse machine.
>
> Kurt


So where's your tk.h file?

-Jeff
>
> ==================
> > Date: Tue, 13 Oct 2009 13:46:22 -0600
> > From: Jeff Whitaker <jsw...@fastmail.fm>
> > Subject: Re: [Matplotlib-users] cannot install kubuntu 9.04 mpl
> > 0.99.1.1, python 2.6
> > To: KURT PETERS <petersk...@msn.com>
> > Cc: matplotlib-users@lists.sourceforge.net
> > Message-ID: <4ad4d90e.5080...@fastmail.fm>
> <snip...>
>
> > > src/_tkagg.cpp:30:18: error: tk.h: No such file or directory
> > > src/_tkagg.cpp:38: error: ISO C++ forbids declaration of ?Tcl_Interp?
> > > with no type
> > > src/_tkagg.cpp:38: error: expected ?;? before ?*? token
> > > src/_tkagg.cpp:42: error: ?ClientData? was not declared in this scope
> > > src/_tkagg.cpp:42: error: ?Tcl_Interp? was not declared in this scope
> > > src/_tkagg.cpp:42: error: ?interp? was not declared in this scope
> > > src/_tkagg.cpp:43: error: expected primary-expression before ?int?
> > > src/_tkagg.cpp:43: error: expected primary-expression before ?char?
> > > src/_tkagg.cpp:43: error: initializer expression list treated as
> > > compound expression
> > > src/_tkagg.cpp:44: error: expected ?,? or ?;? before ?{? token
> > > 
> /usr/lib/python2.6/dist-packages/numpy/core/include/numpy/__multiarray_api.h:958:
>  
>
> > > warning: ?int _import_array()? defined but not used
> > > src/_tkagg.cpp:42: warning: ?PyAggImagePhoto? defined but not used
> > > error: command 'gcc' failed with exit status 1
> > > [/code]
> >
> > Kurt: It's not finding tk.h, so you probably need to install the 
> tk-dev package.
> >
> > -Jeff
> >
> > ----
> > Jeffrey S. Whitaker Phone : (303)497-6313
> > Meteorologist FAX : (303)497-6449
> > NOAA/OAR/PSD R/PSD1 Email : jeffrey.s.whita...@noaa.gov
> > 325 Broadway Office : Skaggs Research Cntr 1D-113
> > Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg
> >
> <snip...>
> >
> > Here's what I "had" to install so far for Kubuntu Jaunty 9.04 (first 
> few were required by numpy):
> >
> > 495 sudo apt-get install matplotlib <-- always worth a try... didn't 
> work
> >
> > 520 sudo apt-get install libatlas3gf-3dnow
> >
> > 523 sudo apt-get install libblas-dev
> >
> > 532 sudo apt-get install gfortran
> >
> > 534 sudo apt-get install lapack
> >
> > 536 sudo apt-get install liblapack-dev
> >
> > 537 sudo apt-get install python-symeig libatlas-3dnow-dev
> >
> > 549 sudo apt-get install freetype
> >
> > 552 sudo apt-get install libfreetype6
> >
> > 554 sudo apt-get install libfreetype6-dev
> >
> > 555 sudo apt-get install tk
> >
> > 556 sudo apt-get install dvipng
> >
> > 569 sudo apt-get install python-qt4 python-qt4-common
> >
> > 574 sudo apt-get install python-tk wxPython
> >
> > 576 sudo apt-get install python-tk python-wxaddons
> >
> > 577 sudo apt-get install python-tk python-wxtools
> >
> > 590 sudo apt-get install wx-common
> >
> > 591 sudo apt-get install wx-headers
> >
> > 592 sudo apt-get install wx2.8-headers
> >
> > 593 sudo apt-get install libwxbase2.8-0
> >
> > 594 sudo apt-get install libwxgtk2.8-0
> >
> > 603 sudo apt-get install tcl8.5-dev
> > 604 sudo apt-get install tk-dev
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> ------------------------------------------------------------------------
>
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>   


-- 
Jeffrey S. Whitaker         Phone  : (303)497-6313
Meteorologist               FAX    : (303)497-6449
NOAA/OAR/PSD  R/PSD1        Email  : jeffrey.s.whita...@noaa.gov
325 Broadway                Office : Skaggs Research Cntr 1D-113
Boulder, CO, USA 80303-3328 Web    : http://tinyurl.com/5telg


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to