Brett Cannon added the comment:
echo $CPPFLAGS
-I /Users/bcannon/Developer/include
-I/Users/bcannon/Developer/Cellar/readline/6.2.4/include
echo $LDFLAGS
-L /Users/bcannon/Developer/lib
-L/Users/bcannon/Developer/Cellar/readline/6.2.4/lib
echo $CFLAGS
-Wno-unused-value -Wno-empty-body
Ronald Oussoren added the comment:
On 7 Jun, 2013, at 16:54, Brett Cannon rep...@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
Ned Deily added the comment:
Brett, what configure options are you using and what version of clang? I don't
see these errors with the current Apple clang (Xcode 4.6.2):
$ clang --version
Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.4.0
Thread
Ronald Oussoren added the comment:
Does the compiler use the correct header files? The error messages seem to
indicate that the 2.7 headers are used instead of the 3.4 ones (all missing
identifiers were introduced in py3k and are not in 2.x)
FWIW, the distutils tests work fine on my machine
New submission from Brett Cannon:
I have not had test_distutils succeed in ages. It looks like various header
files are not being passed to the compiler properly as all three test failures
stem from PyModuleDef_HEAD_INIT supposedly not existing or some other macro.
Below is an example failure