Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve 64 bit osx python 2.5.2 build #3318

Closed
sagetrac-mabshoff mannequin opened this issue May 28, 2008 · 5 comments
Closed

improve 64 bit osx python 2.5.2 build #3318

sagetrac-mabshoff mannequin opened this issue May 28, 2008 · 5 comments

Comments

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented May 28, 2008

There are are two issues that need to be fixed with the current python.spkg:

  • we need to pass OPT flags to configure since otherwise we end up missing "-m64"
  • Instead of "--enable-toolbox-glue=false" we need to use "--disable-toolbox-glue" to avoid building the Mac specific extensions that do not work in 64 bit mode anyway since there is no 64 bit Carbon
  • we need to slightly patch pymactoolbox.h so that twisted-8.0.1 work in 64 bit mode, see fix 64 bit OSX build support for twisted #3193

Cheers,

Michael

Component: packages: standard

Issue created by migration from https://trac.sagemath.org/ticket/3318

@sagetrac-mabshoff sagetrac-mabshoff mannequin added this to the sage-3.0.3 milestone May 28, 2008
@sagetrac-mabshoff sagetrac-mabshoff mannequin self-assigned this May 28, 2008
@sagetrac-mabshoff
Copy link
Mannequin Author

sagetrac-mabshoff mannequin commented May 28, 2008

@sagetrac-mabshoff
Copy link
Mannequin Author

sagetrac-mabshoff mannequin commented May 28, 2008

Attachment: python-2.5.2.p0-osx64-part4.patch.gz

@sagetrac-mabshoff
Copy link
Mannequin Author

sagetrac-mabshoff mannequin commented May 28, 2008

Attachment: python-2.5.2.p0-osx64-part5.patch.gz

@sagetrac-mabshoff
Copy link
Mannequin Author

sagetrac-mabshoff mannequin commented May 28, 2008

comment:2

Attachment: python-pymactoolbox.h-64bit-osx.patch.gz

The spkg at

http://sage.math.washington.edu/home/mabshoff/release-cycles-3.0.3/alpha0/python-2.5.2.p1.spkg

contains the above fixes. It has been build tested with Linux and 32 & 64 bit OSX.

Currently the _ctypes.so extension is broken. Since the fix is complicated this will be another ticket.

Cheers,

Michael

@sagetrac-mabshoff
Copy link
Mannequin Author

sagetrac-mabshoff mannequin commented May 28, 2008

comment:4

Merged in Sage 3.0.3.alpha0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants