«

»

Oct
29
2007

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:

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

1 comment

  1. Shigeo Honda says:

    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.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>