"Sabyasachi Pal" <[EMAIL PROTECTED]> wrote

> While installing matplot lib, I am facing errors given below after
> trying "python setup.py build". I made it sure that freetype (>=
> 2.1.7), libpng and zlib are installed along with there devel 
> versions.
> Can any one help?

Not an expert in matplotlib but...

> gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall
> src/_tkagg.cpp:28:18: error: tk.h: No such file or directory
> src/_tkagg.cpp:36: error: ISO C++ forbids declaration of 
> 'Tcl_Interp'

This is saying it can't find tk.h which implies you don't have the
devel version of Tcl/Tk installed.

Since tk.h contains all the tk function/type definitions most of the
other errors looik like they are related to this missing header file 
too.

HTH.

Alan G 


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to