distutils does not find g++ on Fedora 20

Brad Bell bradbell at seanet.com
Sat Oct 18 13:32:20 UTC 2014

If this is not the correct mailing list for my question below, please 
redirect me to the proper list.

I have a python setup.py script that works on Fedora-19 and does not 
work on Fedora-20.
The error on Fedora-20 is:
[bradbell at localhost pycppad-20140710]$ ./setup.py build_ext --inplace 
--debug --undef NDEBUG
running build_ext
building 'pycppad/cppad_' extension
C compiler: gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 
-D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic 
-D_GNU_SOURCE -fPIC -fwrapv -fPIC

compile options: '-g -UNDEBUG 
-I/home/bradbell/prefix/cppad/include -I/usr/include 
-I/usr/include/python2.7 -c'
gcc: pycppad/vector.cpp
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
Here is what I get when I check for g++:
     [bradbell at localhost pycppad]$ g++ --version
     g++ (GCC) 4.8.2 20131212 (Red Hat 4.8.2-7)

More information about the python-devel mailing list