Why? I want to do this because installing SciPy recommends it, and I thought it would be a good learning experience. This question has been asked before (for example, here ). The preferred answer is to use MacPorts, but as I said, I would like to understand how this is done.
Anyway, I grab the source (Python-2.6.4.tgz) and unzip it. I read instructions on how to build a 64-bit assembly "framework". As I understand it, I have to run
./configure --enable-framework --enable-universalsdk=/ --with-univeral-archs=intel
configure starts for a while ... and ends. When I do this, he clearly had a problem:
$ make
gcc -c -arch ppc -arch i386 -isysroot / -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c
In file included from
from
from Include/pyport.h:235,
from Include/Python.h:58,
from ./Modules/python.c:3:
gcc is being called with invalid arguments. Do I have the wrong arguments to configure, or should I set the compiler flags in the environment or what?
: configure... :
checking for OSX 10.5 SDK or later... yes
creating Modules/Setup
creating Modules/Setup.local
creating Makefile
Edit2: , readme...
! readme! .;)