[How To] Install GNU C / C++ (gcc) compiler on Linux

While installing application from binary, following error occurred

checking whether the C++ compiler works... no
configure: error: in `/usr/local/src/iptux':
configure: error: C++ compiler cannot create executables

While checking the log, it was found to be issue with missing c/c++ compiler.

If you find that GNU C  / C++ compiler is missing , it can be installed using yum or apt-get utility.

CentOS/RedHat/Fedora:

yum install gcc gcc-c++ autoconf automake

Ubuntu:

sudo aptitude install build-essential

This will install the compiler which should resolve the issues while installing new applications.

While installing application from binary, following error occurred checking whether the C++ compiler works... no configure: error: in `/usr/local/src/iptux': configure: error: C++ compiler cannot create executables While checking the log, it was found to be issue with missing c/c++ compiler. If you find that GNU C  / C++ compiler is missing , it can be installed using yum or apt-get utility. CentOS/RedHat/Fedora: yum install gcc gcc-c++ autoconf automake Ubuntu: sudo aptitude install build-essential This will install the compiler which should resolve the issues while installing new applications.

Review Overview

User Rating: Be the first one !
Share on Facebook3Share on Google+6Tweet about this on TwitterShare on StumbleUpon0Share on LinkedIn2Share on Tumblr0Pin on Pinterest0Email this to someonePrint this page

About Abhijit Sandhan

Abhijit Sandhan
Loves Linux, Blogging, Traveling, Hiking and sharing Knowledge!

Leave a Reply

Your email address will not be published. Required fields are marked *