<div>Hi,<br clear="all"></div><div><br></div><div>I recently tried to play around with the latest source for Python-2.7.1, and I came across this build error while trying to build a clean checkout (after `./configure`, of course):</div>

<div><br></div><div><font face="courier new,monospace">bash-3.2$ make</font></div><div><font face="courier new,monospace">./Parser/asdl_c.py -h ./Include ./Parser/Python.asdl</font></div><div><font face="courier new,monospace">Traceback (most recent call last):</font></div>

<div><font face="courier new,monospace">  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 553, in</font></div><div><font face="courier new,monospace">   </font><font face="courier new,monospace">
    main()</font></div><div><font face="courier new,monospace">  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 535, in main</font></div><div><font face="courier new,monospace">    known_paths = addusersitepackages(known_paths)</font></div>

<div><font face="courier new,monospace">  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 268, in addusersitepackages
    </font></div><div><font face="courier new,monospace">    user_site = getusersitepackages()</font></div><div><font face="courier new,monospace">  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 243, in getusersitepackages
    </font></div><div><font face="courier new,monospace">    user_base = getuserbase() # this will also set USER_BASE</font></div><div><font face="courier new,monospace">  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site.py", line 233, in getuserbase</font></div>

<div><font face="courier new,monospace">    USER_BASE = get_config_var('userbase')</font></div><div><font face="courier new,monospace">  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py", line 535, in get_config_var
    </font></div><div><font face="courier new,monospace">    return get_config_vars().get(name)</font></div><div><font face="courier new,monospace">  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py", line 434, in get_config_vars
    </font></div><div><font face="courier new,monospace">    _init_posix(_CONFIG_VARS)</font></div><div><font face="courier new,monospace">  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/sysconfig.py", line 313, in _init_posix</font></div>

<div><font face="courier new,monospace">    raise</font></div><div><font face="courier new,monospace">IOError(msg)
IOError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.4" but "10.6" during configure</font></div><div><font face="courier new,monospace">make: *** [Include/Python-ast.h] Error 1 </font><font face="courier new,monospace">
</font><font face="courier new,monospace"> </font></div><div><br></div><div>I am using MacPorts with the latest updates. Any thoughts?</div><div><br></div><div>Thanks,</div>~/santa<br>