Message399497
[copied from closed (out of date) issue https://bugs.python.org/issue25946]
Reproduced with Python 3.9.6.
./configure` both prints `checking for g++... no` and
WARNING:
By default, distutils will build C++ extension modules with "g++".
If this is not intended, then set CXX on the configure command line.
if `/usr/bin/g++` is present and executable which doesn't seem to be constructive because it's quite common that one wants to use `/usr/bin/g++` as CXX compiler if available. In case incompatibilities exists with other C++ compilers there should a check and more detailed error message.
Furthermore the error message doesn't explain if a part of distutils won't be build because the message sounds like the C++ extension is built, but does it work without a C++ compiler?
Specifying `CXX` environment variable or `--with-cxx-main=/usr/bin/g++` `configure` option works fine. |
|
Date |
User |
Action |
Args |
2021-08-13 07:31:29 | pmenzel | set | recipients:
+ pmenzel, krichter, iritkatriel |
2021-08-13 07:31:29 | pmenzel | set | messageid: <1628839889.47.0.177188937689.issue44909@roundup.psfhosted.org> |
2021-08-13 07:31:29 | pmenzel | link | issue44909 messages |
2021-08-13 07:31:29 | pmenzel | create | |
|