configure: error: Your Installation isn't able to compile simple C++ programs.
Check config.log for details - if you're using a Linux distribution you might miss
a package named similiar to libstd++-dev.
System Debian Lenny, kernel 2.6.25, gcc wersja 4.2
Zanistalowany pakiet libstdc++6-4.2-dev
aleph@alpha:~$ which g++
/usr/bin/g++
aleph@alpha:~$ ls -l /usr/bin/g++
lrwxrwxrwx 1 root root 7 maj 4 18:15 /usr/bin/g++ -> g++-4.2
aleph@alpha:~$ wajig search build-essential
build-essential - informational list of build-essential packages
devscripts - scripts to make the life of a Debian Package maintainer easier
dh-buildinfo - Debhelper addon to track package versions used to build a package
sbuild - Tool for building Debian binary packages from Debian sources
aleph@alpha:~$ wajig install build-essential
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Reading state information... Gotowe
build-essential jest już w najnowszej wersji.
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 6 nieaktualizowanych.