Installation of libgcrypt
Install libgcrypt by running the
following commands:
./configure --prefix=/usr &&
make &&
make -C doc html &&
makeinfo --html --no-split -o doc/gcrypt_nochunks.html doc/gcrypt.texi &&
makeinfo --plaintext -o doc/gcrypt.txt doc/gcrypt.texi
The above commands build the documentation in html and plaintext
formats. If you wish to build alternate formats of the
documentation, you need texlive-20220321 (or install-tl-unx). Issue the following command:
make -C doc pdf
To test the results, issue: make
check.
Now, as the root
user:
make install &&
install -v -dm755 /usr/share/doc/libgcrypt-1.10.1 &&
install -v -m644 README doc/{README.apichanges,fips*,libgcrypt*} \
/usr/share/doc/libgcrypt-1.10.1 &&
install -v -dm755 /usr/share/doc/libgcrypt-1.10.1/html &&
install -v -m644 doc/gcrypt.html/* \
/usr/share/doc/libgcrypt-1.10.1/html &&
install -v -m644 doc/gcrypt_nochunks.html \
/usr/share/doc/libgcrypt-1.10.1 &&
install -v -m644 doc/gcrypt.{txt,texi} \
/usr/share/doc/libgcrypt-1.10.1
If you built alternate formats of the documentation, install them
by issuing the following command as the root
user:
install -v -m644 doc/gcrypt.{pdf,ps,dvi} \
/usr/share/doc/libgcrypt-1.10.1