Compile Python 2.4.4 on Mac OS X 10.5 (Leopard)
October 29th, 2007
1 comment
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:
1 | ./configure |
add this line to pyconfig.h in the same directory:
1 | #define SETPGRP_HAVE_ARG 1 |
1 2 | ./make ./make install |
that’s it!
Technorati Tags: python, leopard, macosx 10.5