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.

Author gergo
Recipients gergo
Date 2013-03-26.12:12:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364299936.4.0.197182554792.issue17550@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-03-26 12:12:16gergosetrecipients: + gergo
2013-03-26 12:12:16gergosetmessageid: <1364299936.4.0.197182554792.issue17550@psf.upfronthosting.co.za>
2013-03-26 12:12:16gergolinkissue17550 messages
2013-03-26 12:12:16gergocreate