Message185269
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. |
|
Date |
User |
Action |
Args |
2013-03-26 12:12:16 | gergo | set | recipients:
+ gergo |
2013-03-26 12:12:16 | gergo | set | messageid: <1364299936.4.0.197182554792.issue17550@psf.upfronthosting.co.za> |
2013-03-26 12:12:16 | gergo | link | issue17550 messages |
2013-03-26 12:12:16 | gergo | create | |
|