[issue1099] Mac compile fails with pydebug and framework enabled

Ronald Oussoren report at bugs.python.org
Fri Mar 11 22:37:38 CET 2011

Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

The attached patch removes the call to libtool and always links the framework using gcc (as was already done for universal builds).

With this patch I can build the framework using the following configure command-line on OSX 10.6:

   ../configure --with-pydebug --enable-framework CC=gcc-4.0

Without this patch that build will fail due to a link error (the exact error is different than the one in the initial message in this issue, but should basically be the same problem).

I haven't fully tested the patch yet, in particular I haven't run the unittests yet and haven't tested on a 10.4 system (because I'm on a different continent than my OSX 10.4 box at the moment)

keywords: +patch
stage:  -> patch review
type:  -> compile error
Added file: http://bugs.python.org/file21090/issue1099.patch

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list