libpython2.3-devel-2.3.3-2mdk
That’s exactly what you need.
Now, after you install that, it will probably fail again at a different place, saying something like “zlib.h not found” or maybe “png.h not found” or some other missing header files. Look for the relevant “-devel-” packages. That’s what’s missing.