Changes between Initial Version and Version 1 of Ticket #28703


Ignore:
Timestamp:
Mar 8, 2011, 3:23:50 AM (13 years ago)
Author:
jmroot (Joshua Root)
Comment:

Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainer.

This isn't a problem specific to the port; the official binaries behave the same. So I doubt it's going to be fixed. Run python like this: arch -i386 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28703

    • Property Owner changed from macports-tickets@… to mcalhoun@…
    • Property Port python26 added
  • Ticket #28703 – Description

    initial v1  
    11I have built Python 2.6 and 2.7 with +universal. I need to execute 32-bit Python for a specific module.
    2 
     2{{{
    33tcmac$ file /opt/local/bin/python2.*
    44/opt/local/bin/python2.6:        Mach-O universal binary with 2 architectures
     
    1010/opt/local/bin/python2.7 (for architecture i386):       Mach-O executable i386
    1111/opt/local/bin/python2.7-config: a /opt/local/Library/Frameworks/P script text executable
    12 
     12}}}
    1313However, when using the arch command to specify the runtime architecture, only Python 2.7 honors this, it does not work with Python 2.6.
    14 
     14{{{
    1515tcmac$ arch -i386 /opt/local/bin/python2.6
    1616Python 2.6.6 (r266:84292, Mar  4 2011, 09:28:43)
     
    29292147483647
    3030>>>
     31}}}