This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: 2.6b1 Build Fails On OSX 10.5
Type: Stage:
Components: Build Versions: Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: johna, mark.dickinson, python-dev
Priority: normal Keywords:

Created on 2008-06-25 14:32 by johna, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg68730 - (view) Author: John Abel (johna) Date: 2008-06-25 14:32
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.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'
make[1]: *** [altinstallunixtools] Error 2
make: *** [frameworkaltinstallunixtools] Error 2

To fix, remove the additional ) following -config on line 116 of 
Mac/Makefile:

                  pydoc$(VERSION) python$(VERSION)-config) 
smtpd$(VERSION).py ;\
msg68731 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2008-06-25 15:30
Fixed in r64526.

Thanks for the report!
msg249683 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2015-09-03 19:34
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
History
Date User Action Args
2022-04-11 14:56:35adminsetgithub: 47449
2015-09-03 19:34:55python-devsetnosy: + python-dev
messages: + msg249683
2008-06-25 15:30:51mark.dickinsonsetstatus: open -> closed
resolution: fixed
messages: + msg68731
nosy: + mark.dickinson
2008-06-25 14:32:35johnacreate