[issue18136] test_distutils failing under OS X 10.8 w/ clang

Ronald Oussoren report at bugs.python.org
Fri Jun 7 17:01:01 CEST 2013


Ronald Oussoren added the comment:

On 7 Jun, 2013, at 16:54, Brett Cannon <report at bugs.python.org> wrote:

> 
> If that's true, does this simply mean I need to build Python without any installed libraries to avoid this conflict?

That's correct. There are other bugreports about other python installations influencing the build, although I'd have to search for the bug number.  

IMHO the root cause for this is that the source/build directories for Python's build are inserted at the wrong location in the compiler search path. Fixing that should be fairly easy, but does require search through the makefile and configure script, which is why I haven't actually tried to fix this yet.

> Or does this go away if I don't have Homebrew in a non-standard location?

Doesn't homebrew use /usr/local as the default location? That would be worse, as there is no easy way to tell the compiler to exclude /usr/local from its default search path.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18136>
_______________________________________


More information about the Python-bugs-list mailing list