Re: Building Python SDK from Darwin sources
Re: Building Python SDK from Darwin sources
- Subject: Re: Building Python SDK from Darwin sources
- From: David Geldreich <email@hidden>
- Date: Tue, 1 Jul 2008 08:46:54 +0200
Hello,
I finally abandonned try to compile Python from the Darwin sources.
Le 30 juin 08 à 14:08, David Geldreich a écrit :
I would like to have a Py_DEBUG version of the Python 2.3 SDK. So I :
- got python 2.3 sources from : http://www.opensource.apple.com/darwinsource/10.5/
- modified Makefile : Extra_Configure_Flags = ... --disable-toolbox-
glue --with-pydebug
- mkdir -p /tmp/python/Debug
- make OBJROOT=/tmp/obj SRCROOT=`pwd` DSTROOT=/tmp/python install
But then the Headers are not installed in the Python.framework. Is
there a way to build "SDK" version of the Framework (vs "runtime"
version) ?
MacOS X : 10.5.3
Developer tools installed
I downloaded Python 2.5.2 sources from python.org :
http://www.python.org/ftp/python/2.5.2/Python-2.5.2.tgz
./configure --enable-framework=/Users/login/Frameworks --prefix=/Users/
login/tmp --with-pydebug --with-pymalloc --enable-universalsdk
make
make install
Then in my xcode project, I set :
FRAMEWORK_SEARCH_PATHS = /Users/login/Frameworks
And now, I am able to use Python debug functionalities.
Best regards.
David.
PS: --enable-universalsdk is needed for --with-pydebug to compile
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden