From subsecret
gdbm
tar xf gdbm-1.10.tar.gz cd gdbm-1.10 ./configure --prefix=/tools make -j 8 make install cd ..
db
tar xf db-5.3.21.tar.gz cd db-5.3.21 cd build_unix ../dist/configure --prefix=/tools make -j 8 make install cd .. cd ..
perl
tar xf perl-5.16.3.tar.gz cd perl-5.16.3 sh Configure -des -Dprefix=/tools/ -Dstatic_ext='Data/Dumper Fcntl IO' make -j 8 make install cd ..
bc
tar xf bc-1.06.tar.gz cd bc-1.06 ./configure --prefix /tools/ make -j 8 make install
openssl
tar xf openssl-1.0.1e.tar.gz cd openssl-1.0.1e ./config --prefix=/tools/ make -j 8 make install cd ..
We are now ready for next step