It can't find tk.h so it looks like you need to install the tk dev packages.
On 7/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Here is the output of an attempt to install 0.87.4 with tkagg. > > It installs fine without it. > > > Any ideas will be appreciated. > > TIA, > -sen > > compile options: > '-I/usr/lib/python2.4/site-packages/numpy/core/include > -I/usr/local/include -I/usr/include -I. -I/usr/local/include > -I/usr/include -I. -I/ > usr/include/pygtk-2.0 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 > -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/inc > lude/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 > -I/usr/include/freetype2/config -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/i > nclude/python2.4 -c' > extra options: '-DSCIPY=1' > gcc: src/_ns_backend_gdk.c > gcc -pthread -shared build/temp.linux-i686-2.4/src/_ns_backend_gdk.o > -L/usr/local/lib -L/usr/lib -L/usr/local/lib -L/usr/lib -lgobject-2.0 > -lglib-2.0 -lgtk > -x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 > -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 > -o build/lib.linu > x-i686-2.4/matplotlib/backends/_ns_backend_gdk.so > building 'matplotlib.backends._tkagg' extension > C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe > -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 > -fasynchronous-un > wind-tables -D_GNU_SOURCE -fPIC -fPIC > > compile options: '-I/usr/include -I/usr/include -I/usr/local/include > -I/usr/include -I. -Isrc -Iswig -Iagg23/include > -I. -I/usr/local/include -I/usr/includ > e -I. -I/usr/include/freetype2 -I/usr/include/freetype2 > -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2 > -Isrc/freetype2 -Iswig/freety > pe2 -Iagg23/include/freetype2 -I./freetype2 > -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2 > -I/usr/include/python2.4 -c' > gcc: src/_tkagg.cpp > 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' > with no type > src/_tkagg.cpp:36: error: expected ';' before '*' token > src/_tkagg.cpp:40: error: 'ClientData' was not declared in this scope > src/_tkagg.cpp:40: error: 'Tcl_Interp' was not declared in this scope > src/_tkagg.cpp:40: error: 'interp' was not declared in this scope > src/_tkagg.cpp:41: error: expected primary-expression before 'int' > src/_tkagg.cpp:41: error: expected primary-expression before 'char' > src/_tkagg.cpp:41: error: initializer expression list treated as > compound expression > src/_tkagg.cpp:42: error: expected ',' or ';' before '{' token > src/_tkagg.cpp: In function 'PyObject* _tkinit(PyObject*, PyObject*)': > src/_tkagg.cpp:174: error: 'Tcl_Interp' was not declared in this scope > src/_tkagg.cpp:174: error: 'interp' was not declared in this scope > src/_tkagg.cpp:183: error: expected primary-expression before ')' > token > src/_tkagg.cpp:183: error: expected `;' before 'arg' > src/_tkagg.cpp:188: error: 'struct TkappObject' has no member named > 'interp' > src/_tkagg.cpp:194: error: 'Tcl_CmdProc' was not declared in this > scope > src/_tkagg.cpp:194: error: expected primary-expression before ')' > token > src/_tkagg.cpp:195: error: 'ClientData' was not declared in this scope > src/_tkagg.cpp:195: error: 'Tcl_CmdDeleteProc' was not declared in > this scope > src/_tkagg.cpp:195: error: expected primary-expression before ')' > token > src/_tkagg.cpp:195: error: 'Tcl_CreateCommand' was not declared in > this scope > 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' > with no type > src/_tkagg.cpp:36: error: expected ';' before '*' token > src/_tkagg.cpp:40: error: 'ClientData' was not declared in this scope > src/_tkagg.cpp:40: error: 'Tcl_Interp' was not declared in this scope > src/_tkagg.cpp:40: error: 'interp' was not declared in this scope > src/_tkagg.cpp:41: error: expected primary-expression before 'int' > src/_tkagg.cpp:41: error: expected primary-expression before 'char' > src/_tkagg.cpp:41: error: initializer expression list treated as > compound expression > src/_tkagg.cpp:42: error: expected ',' or ';' before '{' token > src/_tkagg.cpp: In function 'PyObject* _tkinit(PyObject*, PyObject*)': > src/_tkagg.cpp:174: error: 'Tcl_Interp' was not declared in this scope > src/_tkagg.cpp:174: error: 'interp' was not declared in this scope > src/_tkagg.cpp:183: error: expected primary-expression before ')' > token > src/_tkagg.cpp:183: error: expected `;' before 'arg' > src/_tkagg.cpp:194: error: 'Tcl_CmdProc' was not declared in this > scope > src/_tkagg.cpp:194: error: expected primary-expression before ')' > token > src/_tkagg.cpp:195: error: 'ClientData' was not declared in this scope > src/_tkagg.cpp:195: error: 'Tcl_CmdDeleteProc' was not declared in > this scope > src/_tkagg.cpp:195: error: expected primary-expression before ')' > token > src/_tkagg.cpp:195: error: 'Tcl_CreateCommand' was not declared in > this scope > error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g > -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 > -mtune=pentium4 -fasynchronou > s-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -I/usr/include > -I/usr/include -I/usr/local/include -I/usr/include -I. -Isrc -Iswig > -Iagg23/include -I. -I/usr/loc > al/include -I/usr/include -I. -I/usr/include/freetype2 > -I/usr/include/freetype2 -I/usr/local/include/freetype2 > -I/usr/include/freetype2 -I./freetype2 -Isrc > /freetype2 -Iswig/freetype2 -Iagg23/include/freetype2 -I./freetype2 > -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2 > -I/usr/include/py > thon2.4 -c src/_tkagg.cpp -o build/temp.linux-i686-2.4/src/_tkagg.o" > failed with exit status 1 > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users