site_archiver(a)lists.apple.com
Delivered-To: darwin-dev(a)lists.apple.com
Hello,
I finally abandonned try to compile Python from the Darwin sources.
I would like to have a Py_DEBUG version of the Python 2.3 SDK. So I :
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
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 (Darwin-dev(a)lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.app…
Le 30 juin 08 à 14:08, David Geldreich a écrit :
- 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) ?
./configure --enable-framework=/Users/login/Frameworks --prefix=/Users/
login/tmp --with-pydebug --with-pymalloc --enable-universalsdk
make
make install
This email sent to site_archiver(a)lists.apple.com