[Python-Dev] python build failed on mac

Vijay N. Majagaonkar vijaymajagaonkar at gmail.com
Fri Jan 20 00:56:25 CET 2012

Hi all,

I am trying to build python 3 on mac and build failing with following error
can somebody help me with this

$ hg clone  http://hg.python.org/cpython

$ ./configure
$ make

gcc   -framework CoreFoundation -o python.exe Modules/python.o
libpython3.3m.a -ldl  -framework CoreFoundation
./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(43296) malloc: *** mmap(size=7310873954244194304) failed (error
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
make: *** [Lib/_sysconfigdata.py] Segmentation fault: 11
make: *** Deleting file `Lib/_sysconfigdata.py'

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20120119/a5ec9c42/attachment.html>

More information about the Python-Dev mailing list