home > linux > sks-116-on-centos

SKS 1.1.6 on CentOS

10 | 12 Sep 2016

As there is no package for sks 1.1.6 in CentOS yet i compliled the source. The installation was pretty straight forward.

Grab the source package:
https://bitbucket.org/skskeyserver/sks-keyserver/downloads/sks-1.1.6.tgz
https://bitbucket.org/skskeyserver/sks-keyserver/downloads/sks-1.1.6.tgz.asc

Once extracted I ran into some dependancy issues namley ocaml packages and berkley db packages. below is an extract from my yum log of all packages installed.

wget-1.14-10.el7_0.1.x86_64
python-libs-2.7.5-38.el7_2.x86_64
python-2.7.5-38.el7_2.x86_64
kernel-tools-libs-3.10.0-327.28.3.el7.x86_64
kernel-tools-3.10.0-327.28.3.el7.x86_64
python-perf-3.10.0-327.28.3.el7.x86_64
kernel-3.10.0-327.28.3.el7.x86_64
patch-2.7.1-8.el7.x86_64
mpfr-3.1.1-4.el7.x86_64
libmpc-1.0.1-3.el7.x86_64
cpp-4.8.5-4.el7.x86_64
1:perl-parent-0.225-244.el7.noarch
perl-HTTP-Tiny-0.033-3.el7.noarch
perl-podlators-2.5.1-3.el7.noarch
perl-Pod-Perldoc-3.20-4.el7.noarch
1:perl-Pod-Escapes-1.04-286.el7.noarch
perl-Text-ParseWords-3.29-4.el7.noarch
perl-Encode-2.51-7.el7.x86_64
perl-Pod-Usage-1.63-3.el7.noarch
4:perl-libs-5.16.3-286.el7.x86_64
4:perl-macros-5.16.3-286.el7.x86_64
perl-threads-1.87-4.el7.x86_64
perl-Storable-2.45-3.el7.x86_64
4:perl-Time-HiRes-1.9725-3.el7.x86_64
perl-Exporter-5.68-3.el7.noarch
perl-constant-1.27-2.el7.noarch
perl-Time-Local-1.2300-2.el7.noarch
perl-Socket-2.010-3.el7.x86_64
perl-Carp-1.26-244.el7.noarch
perl-threads-shared-1.43-6.el7.x86_64
perl-PathTools-3.40-5.el7.x86_64
perl-Scalar-List-Utils-1.27-248.el7.x86_64
perl-Filter-1.49-3.el7.x86_64
perl-File-Temp-0.23.01-3.el7.noarch
perl-File-Path-2.09-2.el7.noarch
1:perl-Pod-Simple-3.28-4.el7.noarch
perl-Getopt-Long-2.40-2.el7.noarch
4:perl-5.16.3-286.el7.x86_64
perl-Thread-Queue-3.02-2.el7.noarch
perl-srpm-macros-1-8.el7.noarch
dwz-0.11-3.el7.x86_64
libXau-1.0.8-2.1.el7.x86_64
libxcb-1.11-4.el7.x86_64
gdb-7.6.1-80.el7.x86_64
kernel-headers-3.10.0-327.28.3.el7.x86_64
glibc-headers-2.17-106.el7_2.8.x86_64
glibc-devel-2.17-106.el7_2.8.x86_64
gcc-4.8.5-4.el7.x86_64
unzip-6.0-15.el7.x86_64
libX11-common-1.6.3-2.el7.noarch
libX11-1.6.3-2.el7.x86_64
zip-3.0-10.el7.x86_64
redhat-rpm-config-9.1.0-68.el7.centos.noarch
bzip2-1.0.6-13.el7.x86_64
elfutils-0.163-3.el7.x86_64
rpm-build-4.11.3-17.el7.x86_64
ocaml-runtime-4.01.0-22.7.el7_2.x86_64
ocaml-4.01.0-22.7.el7_2.x86_64
ocaml-compiler-libs-4.01.0-22.7.el7_2.x86_64
ocaml-camlp4-4.01.0-22.7.el7_2.x86_64
ocaml-camlp4-devel-4.01.0-22.7.el7_2.x86_64
ocaml-findlib-1.3.3-6.el7.x86_64
ocaml-ocamldoc-4.01.0-22.7.el7_2.x86_64
zlib-devel-1.2.7-15.el7.x86_64
libdb4-4.8.30-13.el7.x86_64
libdb4-devel-4.8.30-13.el7.x86_64
libdb4-utils-4.8.30-13.el7.x86_64

After moving the Makefile.local.unused to Makefile.local I updated LIBDB to 4.8 from 4.6, I also found a reference to 4.6 in bdb/Makefile.

The only other build issues I had were references to include files, I took the lazy way with a couple of sybolic links;

ln -s /usr/lib64/ocaml/caml /usr/include/caml
ln -s /usr/include/libdb4/db.h /usr/local/src/sks-1.1.6/bdb/

To build I ran;

make dep
make all
make install

Post a Comment