Hi guys, I consider myself self-taught average geek. after a long time trying many things to get python2.6.2 to build with macports it fails every time until i used this specific argument in the work folder below cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.2 configure and make as followed (this is what i know works, i know there is possibly a shorter more proficient way to do this so don't blame me i just got this thing to compile is all.) sudo DEFAULT_ARCH=x86_64 MACOSX_DEPLOYMENT_TARGET=10.6 ./configure --with-universal-archs=64-bit Please share this among devs at macports Thought I'd mention my success here first. - Dylan Mahoney
oops forgot to mention i realized it was defaulted to /usr/local so i tried compiling the same configuration except adding --prefix=/opt/local built fine try using sudo DEFAULT_ARCH=x86_64 MACOSX_DEPLOYMENT_TARGET=10.6 ./configure --with-universal-archs=64-bit --prefix=/opt/local
Thanks for this. Fixes to allow Python to build on Snow Leopard have already been applied to the svn repository, and will be included in the soon-to-appear Python 2.6.3 release. If you have time, please do check out the svn source and verify that it builds for you. The URL is: http://svn.python.org/projects/python/branches/release26-maint Instructions for working with Python svn are at: http://www.python.org/dev/faq/