I compiled with gcc-4.2 because some tests seem to fail with llvm-gcc-4.2. Specify the location of the header file for gcc-4.2 with CPPFLAGS. (If you do not do it, a compile error will occur.) It may vary depending on the environment.
pythonbrew install --configure="CC=/usr/bin/gcc-4.2 CXX=/usr/bin/g++-4.2 CPPFLAGS='-I/Developer/SDKs/MacOSX10.6.sdk/usr/lib/gcc/i686-apple-darwin10/4.2.1/include'" 2.7.3
Recommended Posts