MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 5 - Building the Base System Tools

Navigation    
« GNU nPth 32-bit HOME GNU Nettle 32-bit »

GNU Nettle 64-bit

Name: GNU Nettle 64-bit
Summary: A low-level cryptography library
License: LGPL v3 or later/GPL v2 or later
Version: 4.0
URL: https://ftp.gnu.org/gnu/nettle/nettle-4.0.tar.gz

Average Build Time: 0.4 SBU
Used Install Space: 3.8 MiB

Configuration

To configure GNU Nettle 64-bit for install into the build root, run the following command:

./configure --prefix=/usr                       \
            --libdir=/usr/lib64                 \
            --libexecdir=/usr/lib64             \
            --docdir=/usr/share/doc/nettle-4.0  \
            --disable-static                    \
            --enable-shared                     \
            --enable-fat

Compilation and Installation

To compile GNU Nettle 64-bit, run the following command:

make

Next, run the test suite:

make check

Finally, to install GNU Nettle 64-bit into the build tree, run the following commands:

make install
for LIB in "libhogweed.so.7.0" "libnettle.so.9.0"; do
    chmod -v 755 /usr/lib64/$LIB
done

NOTE: Do not delete the unpacked sources after build.

Contents

Contents  
Installed Programs nettle-hash, nettle-lfib-stream, nettle-pbkdf2, pkcs1-conv, and sexp-conv
Installed Libraries libhogweed.so and libnettle.so
Navigation    
« GNU nPth 32-bit HOME GNU Nettle 32-bit »