Installation of libgcrypt
Install libgcrypt by running the
following commands:
./configure --prefix=/usr &&
make
Only info
documentation is shipped in the package tarball. If you wish to
build alternate formats of the documentation, (you must have
texlive-20180414 installed to build
the PDF and PostScript documentation), then issue the following
commands:
make -C doc pdf ps html &&
makeinfo --html --no-split -o doc/gcrypt_nochunks.html doc/gcrypt.texi &&
makeinfo --plaintext -o doc/gcrypt.txt doc/gcrypt.texi
To test the results, issue: make
check.
Now, as the root
user:
make install &&
install -v -dm755 /usr/share/doc/libgcrypt-1.8.4 &&
install -v -m644 README doc/{README.apichanges,fips*,libgcrypt*} \
/usr/share/doc/libgcrypt-1.8.4
If you built the additional documentation, install it by issuing
the following commands as the root
user:
install -v -dm755 /usr/share/doc/libgcrypt-1.8.4/html &&
install -v -m644 doc/gcrypt.html/* \
/usr/share/doc/libgcrypt-1.8.4/html &&
install -v -m644 doc/gcrypt_nochunks.html \
/usr/share/doc/libgcrypt-1.8.4 &&
install -v -m644 doc/gcrypt.{pdf,ps,dvi,txt,texi} \
/usr/share/doc/libgcrypt-1.8.4