While doing an installation of PNP4Nagios from source on an Ubuntu Intrepid box I came across the following error while trying to compile it by doing a “./configure”
configure:2825: error: C compiler cannot create executables
See `config.log' for more details.
I therefore read a few blogs and tried several ideas on how to solve this. What worked for me was this.
$ sudo aptitude update
$ sudo aptitude install libc6-dev g++ gcc
Nice and simple, that fixed my problem.
hope this would save someone some valuable time.