tag:blogger.com,1999:blog-3402802525195793148.post3901210422642519069..comments2023-10-25T05:34:39.767-07:00Comments on My Life: Building Python on 2.6.4 Snow LeopardSteven Klasshttp://www.blogger.com/profile/00681756689019735665noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-3402802525195793148.post-8650097647462896612010-10-13T20:41:35.468-07:002010-10-13T20:41:35.468-07:00Thanks for the native readline fix.
The dl module...Thanks for the native readline fix.<br /><br />The dl module actually compiles fine, hack setup.py:<br /><br /> # Dynamic loading module<br /> #print sys.maxint, 0x7fffffff<br /> if sys.maxint == 0x7fffffff:<br /> # This requires sizeof(int) == sizeof(long) == sizeof(char*)<br /> dl_inc = find_file('dlfcn.h', [], inc_dirs)<br /> if (dl_inc is not None) and (platform not in ['atheos']):<br /> exts.append( Extension('dl', ['dlmodule.c']) )<br /> else:<br /> missing.append('dl')<br /> else:<br /> #missing.append('dl')<br /> exts.append( Extension('dl', ['dlmodule.c']) )robakhttps://www.blogger.com/profile/12608583206275444290noreply@blogger.comtag:blogger.com,1999:blog-3402802525195793148.post-61230510604863755462010-02-08T13:03:12.666-08:002010-02-08T13:03:12.666-08:00I have just installed python-2.6.3 with Macport, s...I have just installed python-2.6.3 with Macport, since I couldn't find 2.6.4 package there. Where did you find the package?Unknownhttps://www.blogger.com/profile/02158141188462557568noreply@blogger.comtag:blogger.com,1999:blog-3402802525195793148.post-4760699883061590572010-01-04T22:23:25.088-08:002010-01-04T22:23:25.088-08:00I'd recommend using MacPorts for updated Pytho...I'd recommend using MacPorts for updated Python binaries. Through it, I installed Python 2.6.4, 2.5.4 & 2.4.6.Dan Villiom Podlaski Christiansenhttps://www.blogger.com/profile/00270985455171198265noreply@blogger.comtag:blogger.com,1999:blog-3402802525195793148.post-56935219235368934402010-01-04T17:42:17.229-08:002010-01-04T17:42:17.229-08:00Also, if you really want to custom compile stuff, ...Also, if you really want to custom compile stuff, I can't recommend homebrew http://github.com/mxcl/homebrew enough. Generally though, i've stuck with the 64 bit version of 2.6 it ships.Jessehttps://www.blogger.com/profile/07543015027323408421noreply@blogger.comtag:blogger.com,1999:blog-3402802525195793148.post-68254051404334447582010-01-04T14:59:57.701-08:002010-01-04T14:59:57.701-08:00Snow Leopard comes with 32-bit Python 2.5.4 and 64...Snow Leopard comes with 32-bit Python 2.5.4 and 64-bit Python 2.6.1.নাসিমhttps://www.blogger.com/profile/02741391032172309130noreply@blogger.com