[New-bugs-announce] [issue15051] Can't compile Python 3.3a4 on OS X

Virgil Dupras report at bugs.python.org
Tue Jun 12 17:40:08 CEST 2012


New submission from Virgil Dupras <hsoft at hardcoded.net>:

I try to compile Pyhton 3.3a4 on a OS X 10.7 with XCode 4.3.3 and it fails. I tried a few configuration options, but even with a basic "./configure && make", I get this:

./python.exe -SE -m sysconfig --generate-posix-vars
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
python.exe(11771) malloc: *** mmap(size=7310873954244194304) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Could not import runpy module
make: *** [Lib/_sysconfigdata.py] Segmentation fault: 11

I tried setting PYTHONHOME to `pwd`, to no avail. Am I doing something wrong? The same thing happens with v3.3a3. If I go back to v3.2.3, it compiles fine on the same system. I also tried on the repo's tip, same error.

----------
components: Build
messages: 162683
nosy: vdupras
priority: normal
severity: normal
status: open
title: Can't compile Python 3.3a4 on OS X
type: compile error
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15051>
_______________________________________


More information about the New-bugs-announce mailing list