root@debian:~# apt-get install gcc g++ make flex bison openssl libssl-dev perl perl-base perl-modules libperl-dev libaio1 libaio-dev zlib1g zlib1g-dev libcap-dev bzip2 automake autoconf libtool cmake
Reading package lists... Done
Building dependency tree
Reading state information... Done
bzip2 is already the newest version.
bzip2 set to manually installed.
openssl is already the newest version.
openssl set to manually installed.
zlib1g is already the newest version.
perl is already the newest version.
perl-base is already the newest version.
perl-modules is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
automake : Depends: autotools-dev (>= 20020320.1) but it is not going to be installed
cmake : Depends: libxmlrpc-c3 but it is not going to be installed
Depends: cmake-data (= 2.8.2+dfsg.1-0+squeeze1) but it is not going to be installed
g++ : Depends: g++-4.4 (>= 4.4.5-1~) but it is not going to be installed
Depends: gcc-4.4 (>= 4.4.5-1~) but it is not going to be installed
gcc : Depends: gcc-4.4 (>= 4.4.5-1~) but it is not going to be installed
Recommends: libc6-dev but it is not going to be installed or
libc-dev
libc6 : Depends: libc-bin (= 2.11.3-4) but 2.13-38 is to be installed
libc6-i386 : Depends: libc6 (= 2.13-38) but 2.11.3-4 is to be installed
libtool : Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: autotools-dev but it is not going to be installed
Recommends: libltdl-dev but it is not going to be installed
locales : Depends: glibc-2.13-1 but it is not installable
zlib1g-dev : Depends: libc6-dev but it is not going to be installed or
libc-dev
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).