0

When I did the configure, I got this output

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... 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... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
TRiG
  • 1,910

2 Answers2

1

Below command should help you out. If not, please post your input and output as well.

sudo apt-get install gcc*
muru
  • 197,895
  • 55
  • 485
  • 740
vikas027
  • 111
  • 5
1

At a minimum, when compiling software from source, have the build-essential package installed:

sudo apt-get install build-essential

It will install g++, make and Debian package development tools.

muru
  • 197,895
  • 55
  • 485
  • 740