Oh-- OK-- I see the problem. The patch file supplied with wxpython-wxgtk makes the assumption that the glib include path is @PREFIX@/lib/glib/include.
+ includes = ['src', + '/usr/X11R6/include', + '@PREFIX@/lib/glib/include'] It looks like it could be patched to append the output from glib-config --cflags to the cflags a couple of lines later. b.bum [localhost:~] bbum% glib-config --cflags -I/sw/include/glib-1.2 -I/sw/lib/glib/include sudo /sw/bin/fink install wxpython-wxgtk Reading package info... Information about 817 packages read in 5 seconds. pkg wxpython-wxgtk version ### pkg wxpython-wxgtk version 2.3.2.1-1 The following package will be installed or updated: wxpython-wxgtk rm -rf wxpython-wxgtk-2.3.2.1-1 mkdir -p /sw/src/wxpython-wxgtk-2.3.2.1-1 tar -xvzf /sw/src/wxPython-2.3.2.1.tar.gz wxPython-2.3.2.1/ ..... sed 's:@PREFIX@:/sw:g' </sw/fink/dists/unstable/main/finkinfo/languages/wxpython-wxgtk-2.3.2.1-1. patch | patch -p1 patching file setup.py python setup.py build .... running build_ext building 'wxc' extension creating build/temp.darwin-5.3-PowerMacintosh-2.2 creating build/temp.darwin-5.3-PowerMacintosh-2.2/src cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -Isrc -I/usr/X11R6/include -I/sw/lib/glib/include -I/sw/include/python2.2 -c src/helpers.cpp -o build/ temp.darwin-5.3-PowerMacintosh-2.2/src/helpers.o -I/sw/lib/wx/include/gtk-2.3 -I/sw/include -DGTK_NO_CHECK_CASTS -D__WXGTK__ -fno-rtti -fno-exceptions In file included from /sw/include/gdk/gdk.h:31, from /sw/include/gtk/gtk.h:31, from src/helpers.cpp:26: /sw/include/gdk/gdktypes.h:33: glib.h: No such file or directory In file included from /sw/include/gtk/gtkarg.h:31, from /sw/include/gtk/gtkobject.h:31, from /sw/include/gtk/gtkaccelgroup.h:35, from /sw/include/gtk/gtk.h:32, from src/helpers.cpp:26: /sw/include/gtk/gtktypeutils.h:31: glib.h: No such file or directory error: command 'cc' failed with exit status 1 ### python failed, exit code 1 Failed: compiling wxpython-wxgtk-2.3.2.1-1 failed _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel