[Python-Dev] Re: [Python-checkins] python/dist/src setup.py, 1.208, 1.209

Jack Jansen Jack.Jansen at cwi.nl
Mon Dec 27 15:15:26 CET 2004

On 18-dec-04, at 21:48, bcannon at users.sourceforge.net wrote:

> Update of /cvsroot/python/python/dist/src
> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21493
> Modified Files:
> 	setup.py
> Log Message:
> Switch from getting LDFLAGS and CPPFLAGS from the environment to the 
> Makefile.
> This is to avoid a problem that inconsistently comes up where the 
> environment
> variable is unset while the Makefile clearly has the values set and 
> are used
> during ``make``.

I'm building MacPython binary distributions with an LDFLAGS configure 
option, as in
	$PYTHONSRC/configure -C --enable-framework LDFLAGS=-Wl,-x

This has suddenly started failing with a very mysterious error message. 
When the
make tries to build the extension modules I get
	running build
	running build_ext
	usage: setup.py [options]
	setup.py: error: no such option: -W

Could this somehow be caused by your fix?
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma 

More information about the Python-Dev mailing list