Installing gdbm, db, perl, bc, openssl

From subsecret
Jump to navigation Jump to search

gdbm

(if this gives an error, it might have to be installed as root)

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
  1. this line is hopefully not needed anymore
  2. ln -s /tools/lib/libdb-5.1.so /tools/lib/libdb-4.8.so
cd ..
cd ..

perl

tar xf perl-5.12.3.tar.gz 
cp perl-5.12.3-libc-1.patch perl-5.12.3
cd perl-5.12.3
patch -p1 < perl-5.12.3-libc-1.patch
sh Configure -des -Dprefix=/tools/ -Dstatic_ext='Data/Dumper Fcntl IO' 
make -j 12
make install
cd ..

We are now ready for next step