On 27 Jul 2005, at 19:21, Derek Homeier wrote:
All the recent releases are first failing with missing pygtk
includes, which can be fixed with this patch:
--- matplotlib/src/_backend_gdk.c.orig Wed Jul 27 17:37:55 2005
+++ matplotlib/src/_backend_gdk.c Wed Jul 27 16:49:34 2005
@@ -10,6 +10,7 @@
#endif
#include <pygtk/pygtk.h>
+#include <pygtk-2.0/pygobject.h>
static PyTypeObject *_PyGdkPixbuf_Type;
This is not the right fix. The pkg depends on pygtk2, and its header
file pygtk/pygtk.h
is in %p/include/pygtk-2.0 _ and does include pygobject.h .
So the errors you get come from the fact that that the (many) flags -
I/sw/include precede
-I/sw/include/pygtk-2.0 in the command line (which is an error in the
pkg), and that you
have a file %p/include/pygtk/pygtk.h, installed by pygtk-py23.
So a proper fix would be of the style
_ either to get -I/sw/include/pygtk-2.0 earlier on the command line
( use of CPPFLAGS,
at worst a 'SetCC: gcc -I/sw/include/pygtk-2.0', or patching the
build (setup.py ?), etc).
_ or to replace the #include <pygtk/pygtk.h> by #include <pygtk-2.0/
pygtk/pygtk.h>
Besides, I have no freetype-like (or other) problems _ the pkg is
duly linked to freetype219.
JF Mertens
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users