[Python-Dev] test_tempfile failure on Mac OSX

Bob Ippolito bob at redivi.com
Mon Aug 16 21:23:01 CEST 2004


On Aug 16, 2004, at 3:14 PM, Skip Montanaro wrote:

>
>     Brett> ... (maybe we should have some command-line switch that 
> outputs
>     Brett> everything about the build of the interpreter?):
>
> The time machine strikes again:
>
>     % egrep 'exec /bin/sh ./configure' config.status
>       exec /bin/sh ./configure '--with-pydebug' 
> '--with-libs=/usr/lib/libMallocDebug.a' $ac_configure_extra_args 
> --no-create --no-recursion
>
> though in this case I think it may be Dennis Ritchie's or Ken 
> Thompson's
> time machines, not Guido's. <wink>

Even better (and I think this is what he was actually asking for):

% python -c 'import distutils.sysconfig; print 
distutils.sysconfig.get_config_var("CONFIG_ARGS")'
'--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' 
'--enable-ipv6' '--with-threads' 
'--enable-framework=/System/Library/Frameworks' '--enable-toolbox-glue' 
'CFLAGS=-g -Os -pipe -fno-common -Wno-long-double -mno-fused-madd 
-pipe' 'LDFLAGS=-Wl,-F.'

% ./python.exe -c 'import distutils.sysconfig; print 
distutils.sysconfig.get_config_var("CONFIG_ARGS")'
'--enable-framework'

-bob



More information about the Python-Dev mailing list