This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: python26 compiled on snow leopard x86_64
Type: enhancement Stage:
Components: Build Versions: Python 2.6
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: mark.dickinson, monway
Priority: normal Keywords:

Created on 2009-09-25 19:17 by monway, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg93128 - (view) Author: Dylan (monway) Date: 2009-09-25 19:16
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
msg93130 - (view) Author: Dylan (monway) Date: 2009-09-25 19:28
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
msg93131 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2009-09-25 19:33
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/
msg93133 - (view) Author: Dylan (monway) Date: 2009-09-25 20:05
Thanks!
compiled cleanly @/opt/local
build is active.
History
Date User Action Args
2022-04-11 14:56:53adminsetgithub: 51246
2009-09-25 20:05:02monwaysetmessages: + msg93133
2009-09-25 19:33:22mark.dickinsonsetstatus: open -> closed

nosy: + mark.dickinson
messages: + msg93131

resolution: out of date
2009-09-25 19:28:39monwaysetmessages: + msg93130
2009-09-25 19:17:00monwaycreate