[Pythonmac-SIG] python23 under leopard (intel mac)

Yves Serrano ys at taywa.ch
Fri Dec 7 12:46:26 CET 2007


>
> On 7 Dec, 2007, at 2:12, Yves Serrano wrote:
>
>> Hi
>>
>> I can't get python2.3.6 to work in leopard on an intel mac.
>
> Try running configure with MACOSX_DEPLOYMENT_TARGET set to 10.5 in  
> the environment.  Python 2.5.1 also misconfigures (fixed in the  
> repository and hance 2.5.2 whenever that is released) when the  
> deployment target isn't explicitly set.
>
> Ronald
>

Thanks a lot!
I used "export MACOSX_DEPLOYMENT_TARGET=10.5" and edited pyconfig.h  
after configure.

I changed this values:
#undef _POSIX_C_SOURCE
#undef _XOPEN_SOURCE
#define HAVE_BROKEN_POSIX_SEMAPHORES
after that it worked
regards Yves


More information about the Pythonmac-SIG mailing list