New submission from Gergö Barany:

Trying to configure Python (3.3 and 3.4 prerelease from Mercurial) with 
--enable-profiling doesn't work because the configure script contains a syntax 
error that causes it to conclude that the C compiler does not accept the -pg 
flag:

$ ../cpython/configure --enable-profiling | grep prof
configure: WARNING:

  By default, distutils will build C++ extension modules with "g++".
  If this is not intended, then set CXX on the configure command line.
  
../cpython/configure: line 5537: CC: command not found
checking for --enable-profiling... no

Everything (configure/build/running Python) continues as if --enable-profiling 
had not been passed.

This is due to using $(CC) rather than the correct syntax $CC at the specified 
place in the configure script. The attached patch to configure.ac fixes this.

----------
files: enable-profiling.patch
keywords: patch
messages: 185269
nosy: gergo
priority: normal
severity: normal
status: open
title: --enable-profiling does nothing (shell syntax bug in configure.ac)
type: behavior
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file29580/enable-profiling.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17550>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to