Skip to content

Compile Python 2.4.4 on Mac OS X 10.5 (Leopard)

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: , ,

1 thought on “Compile Python 2.4.4 on Mac OS X 10.5 (Leopard)”

  1. I have had a problem with compile python 2.4.4 for Zope and Plone. Finally I found this information and solved problem. Thank you very much for sharing this information !

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.