Jack Jansen wrote:

On 18-dec-04, at 21:48, [EMAIL PROTECTED] 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``.


Brett,
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?

Yep, it's my doing. I bet optparse is raising an error since it doesn't have options for -W1 or -x registered with the parser. Anyone off the top of their head know how to cause optparse to just skip over options it doesn't know about?


I am on vacation at the moment so I will deal with this when I get back this weekend.

-Brett
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to