BPO | [3199](https://bugs.python.org/issue3199) --- | :--- Nosy | @mdickinson *Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.* Show more details GitHub fields: ```python assignee = None closed_at = created_at = labels = ['build'] title = '2.6b1 Build Fails On OSX 10.5' updated_at = user = 'https://bugs.python.org/johna' ``` bugs.python.org fields: ```python activity = actor = 'python-dev' assignee = 'none' closed = True closed_date = closer = 'mark.dickinson' components = ['Build'] creation = creator = 'johna' dependencies = [] files = [] hgrepos = [] issue_num = 3199 keywords = [] message_count = 3.0 messages = ['68730', '68731', '249683'] nosy_count = 3.0 nosy_names = ['mark.dickinson', 'johna', 'python-dev'] pr_nums = [] priority = 'normal' resolution = 'fixed' stage = None status = 'closed' superseder = None type = None url = 'https://bugs.python.org/issue3199' versions = ['Python 2.6'] ```
Activity
johna commentedon Jun 25, 2008
The build process on Leopard fails:
cd Mac && make altinstallunixtools DESTDIR=""
if [ ! -d "/usr/local/bin" ]; then
/usr/bin/install -c -d -m 755 "/usr/local/bin" ;
fi
for fn in python2.6 pythonw2.6 idle2.6
pydoc2.6 python2.6-config) smtpd2.6.py ;
do
ln -fs
"/Library/Frameworks/Python.framework/Versions/2.6/bin/${fn}"
"/usr/local/bin/${fn}" ;
done
/bin/sh: -c: line 0: syntax error near unexpected token
)' /bin/sh: -c: line 0:for fn in python2.6 pythonw2.6 idle2.6pydoc2.6 python2.6-config) smtpd2.6.py ;do ln -fs
"/Library/Frameworks/Python.framework/Versions/2.6/bin/${fn}"
"/usr/local/bin/${fn}" ;done'
make[1]: *** [altinstallunixtools] Error 2
make: *** [frameworkaltinstallunixtools] Error 2
To fix, remove the additional ) following -config on line 116 of
Mac/Makefile:
smtpd$(VERSION).py ;\
mdickinson commentedon Jun 25, 2008
Fixed in r64526.
Thanks for the report!
python-dev commentedon Sep 3, 2015
New changeset 94f61fe22edf by Victor Stinner in branch '3.4':
Don't use defined() in C preprocessor macros
https://hg.python.org/cpython/rev/94f61fe22edf