starbug wrote: > yes, i do have the devel packages, and they're the packages that came > with the distro: libpython2.4-devel-2.4-5mdk > > i find 2 pyconfig.h on my system. > The first is /usr/include/python2.4/pyconfig.h which only has 2 lines: > > #define _MULTIARCH_HEADER python2.4/pyconfig.h > #include <multiarch-dispatch.h> > > and the second is > /usr/include/multiarch-i386-linux/python2.4/pyconfig.h which contains > (among other things) the lines: > > /* Define to 1 if you have the `memmove' function. */ > #define HAVE_MEMMOVE 1
Ah, then I suspect this a Mandriva-specific issue. Trace through the multiarch-dispatch.h file to see what it actually manages to #include. If it's not the pyconfig.h that has the HAVE_MEMMOVE defined, then your setup is broken for compiling extension modules. If you need more help, then ask on comp.lang.python or a Mandriva list because I'm out of ideas.

