Title: Getting error while trying to run ./configure --prefix=/tools so to install systemc
Tags: command-line;software-installation;gcc;c++;configure
Question: I am trying to install systemc-2.3.3 on ubuntu 18.04LTS. Previously I tried with 20LTS that didn't work for some reason.I am following these instructions :Installation of SystemC-2.3.3. I am a newbie and never install any software on ubuntu.
When I entered the commands I was getting following error:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking whether make supports nested variables... no
checking how to create a pax tar archive... gnutar
checking whether make supports nested variables... (cached) no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether the C++ compiler works... no
configure: error: in `/home/radhe/tools':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
I cannot understand my configure file. Link to configure file is :configure file
Please Help.
Comment: Is there a C++ compiler installed on your system? if not, install `g++` and try again

Here is the accepted answer: You have to install needed build tools by
sudo apt-get install build-essential
and then compile the application.


{'source': 'StackExchangeDataset', 'subset': 'askubuntu.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 1, 'ContentLicense': 'CC BY-SA 4.0', 'CreationDate': '2020:00:10/20/20', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<command-line><software-installation><gcc><c++><configure>', 'Title': 'Getting error while trying to run ./configure --prefix=/tools so to install systemc', 'ViewCount': 186, 'id': 1285445, 'user_AboutMe': None, 'user_AccountId': 18610676.0, 'user_DisplayName': 'SWETHA CHILVERI', 'user_Reputation': 53.0, 'user_Views': 21.0, 'user_id': 1127598.0}}