Recently i upgraded my OS to Leopard and had to recompile python 2.4.4 for my Zope 3 buildout setup (i need a clean python for that). The problem was, that python 2.4.4 won’t build on leopard, Jodok Batlogg from Lovely Systems had the same problem and instantly found the solution. As he hasn’t posted it to his blog, i will post it here:

./configure

add this line to pyconfig.h in the same directory:

#define SETPGRP_HAVE_ARG 1
./make
./make install

that’s it!

Technorati Tags: , ,