assuming you have a source distro of zope than this 'should' work
# from zope base dir
cd lib/python/Products/ZPatterns
# the following is dependent on your python install, assuming
# a stock redhat rpm
cp /usr/lib/python1.5/config/Makefile.pre.in.boot .
make -f Makefile.pre.in boot
make
shoul
After reading around more (a lot more) I got to.
> cp /usr/lib/python1.5/config/Makefile.pre.in .
> make -f Makefile.pre.in boot
> make
At which point I get:
make
gcc -fPIC -I../../ZODB -I../../../Components/ExtensionClass -g -O2
-I/usr/include/python1.5 -I/usr/include/python1.5 -DHAVE_CON