distutils does not find g++ on Fedora 20

Thomas Spura tomspur at fedoraproject.org
Mon Nov 17 13:10:35 UTC 2014


Do you have the file "/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/cc1plus"
on your system as that's called from gcc later on.

It seems your installation broke, so maybe that file is gone now.
What is the output of "yum reinstall gcc-c++"? You only wrote "you got
errors"...

Brad Bell <bradbell at seanet.com> schrieb am Mon Nov 17 2014 at 1:45:43 PM:

> 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-request at lists.fedoraproject.org wrote:
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Sat, 18 Oct 2014 06:32:20 -0700
> > From: Brad Bell <bradbell at seanet.com>
> > To: python-devel at lists.fedoraproject.org
> > Subject: distutils does not find g++ on Fedora 20
> > Message-ID: <54426BE4.1010000 at 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 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/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 at localhost pycppad]$ g++ --version
> >       g++ (GCC) 4.8.2 20131212 (Red Hat 4.8.2-7)
> >
> _______________________________________________
> python-devel mailing list
> python-devel at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/python-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/python-devel/attachments/20141117/28340045/attachment.html>


More information about the python-devel mailing list