Installing GNU PG on Solaris 2.8


This compilation log was Written by Jan Labanowski, Oct 13, 2002

GNU PG ios a GNU Privacy Guard -- a set of security tools.
It is a replacement for PGP 
Find more at: http://www.gnupg.org/gnupg.html.

My solaris was: SunOS heechee 5.8 Generic_108528-15 sun4u sparc SUNW,Ultra-250

I became a root and was running ksh.

Added compatibility tools/libraries to the paths

PATH=${PATH}:/usr/ccs/bin
export PATH
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/ccs/lib
export LD_LIBRARY_PATH


Created a directory for sources and compilation

mkdir -p /usr/local/gnupg-1.2.0/src
cd /usr/local/gnupg-1.2.0/src


Retrieved and unpacked the tarball of distribution.
Check list of mirrors at:
http://www.gnupg.org/download.html.

wget ftp://ftp.cert.dfn.de/pub/tools/crypt/gcrypt/gnupg/gnupg-1.2.0.tar.gz
gtar zxvf gnupg-1.2.0.tar.gz


Configured, compiled and tested:

cd gnupg-1.2.0
./configure LIBS=-lsocket
make
make check

It failed on one test:
...
Hash algorithm TIGER/192 is not installed
...
1 of 25 tests failed
...
Can live with it...

Then installed it as:

make install


It installs the gpg in /usr/local/bin by default.