This problem was due to corruption of the Fedora-20 system that showed up when one did a
    yum check
see
https://lists.fedoraproject.org/pipermail/devel/2014-November/204126.html

On 10/19/2014 5:00 AM, python-devel-requ...@lists.fedoraproject.org wrote:

----------------------------------------------------------------------

Message: 1
Date: Sat, 18 Oct 2014 06:32:20 -0700
From: Brad Bell <bradb...@seanet.com>
To: python-devel@lists.fedoraproject.org
Subject: distutils does not find g++ on Fedora 20
Message-ID: <54426be4.1010...@seanet.com>
Content-Type: text/plain; charset=UTF-8; format=flowed

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@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/usr/lib64/python2.7/site-packages/numpy/core/include
-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@localhost pycppad]$ g++ --version
      g++ (GCC) 4.8.2 20131212 (Red Hat 4.8.2-7)

_______________________________________________
python-devel mailing list
python-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/python-devel

Reply via email to