[Pythonmac-SIG] How to build Python 2.5 to support 64-bits on Mac OS X 10.4

Alexandre Parenteau aparente at adobe.com
Thu Feb 22 22:03:18 CET 2007


Harold,

Thanks for the information. It sounds like I might be more lucky to try 2.5
on Leopard (I don't know what will happen for Carbon, because regardless of
64bits, it is being deprecated anyway).

I will also send information when I get to try it.

Thanks!
alex


On 2/22/07 3:45 AM, "Harold Walter Schranz" <Harold.Schranz at anu.edu.au>
wrote:

> Hi Alex
> 
> Sorry for the delay in replying. I'll send a summary below based on
> our preliminary work achieved to date.
> 
> On 21/02/2007, at 7:22 AM, Alexandre Parenteau wrote:
>> Any progress in this issue? I'm asked to investigate the same
>> thing. I would
>> greatly appreciate hints on the configure options.
> 
> It is still early days (as information is relatively scarce and of
> variable reliability) and we have other multiple threads to our
> research project. This part of the project has been put on idle (not
> quite on the backburner, mixing metaphors). So progress so far is
> evident from the newsgroup threads:
> http://mail.python.org/pipermail/pythonmac-sig/2007-February/
> thread.html#18657
> 
> Particularly: http://mail.python.org/pipermail/pythonmac-sig/2007-
> February/018657.html
> 
> In summary:
>> 6. However at the end of the process it appeared I had a 64-bit
>> executable of Python
>> 
>> 1714:harry at jcs156218:~/Desktop/TODO/Python-2.5:599$ file python.exe
>> 
>> python.exe: Mach-O 64-bit executable x86_64
>> 
>> 1714:harry at jcs156218:~/Desktop/TODO/Python-2.5:599$ python.exe
>> 
>> Python 2.5 (r25:51908, Feb  2 2007, 17:12:53)
>> [GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
>> Type "help", "copyright", "credits" or "license" for more information.
>>>>> 1+2
>> 3
>> 
>> So it looks like it is possible to produce a Mach-O 64-bit executable
>> x86_64
>> but whether it is working is another matter
>> 
>> 7. Running the tests: make tests yields: in summary:
>> 
>> 266 tests OK.
>> 2 tests failed:
>> 51 tests skipped:
>> ...
>> 17 skips unexpected on darwin:
>> ...
>> make: *** [test] Error 1
>> 
>> I may try to repeat this process (with less flags?).
>> At least this run is a lead that a 64-bit build of Python is possible.
> 
> 
> Some detailed information and comments at:
> http://lists.apple.com/archives/unix-porting/2007/Feb/index.html
> http://lists.apple.com/archives/scitech/2007/Feb/msg00000.html
> 
> I expect to make more progress when I have time to devote to the
> build. Just a few little details to tie up.
> 
> Let me know if you make any further progress. We too have to deal
> with Numpy and other packages (MySQL) with 64-bit issues.
> 
> Good Luck,
> Harry.
> 
> ------------------------------------------------------------------------
> ----
> Dr. Harold W. Schranz, Research Fellow, Computational Genomics Group
> Division of Molecular Bioscience, John Curtin School of Medical Research
> Australian National University, Canberra ACT 0200, Australia
> ------------------------------------------------------------------------
> ----
> 
> 



More information about the Pythonmac-SIG mailing list