Skip to content

Instantly share code, notes, and snippets.

@multidis
Last active August 29, 2015 14:17
Show Gist options
  • Save multidis/1c3299f34cf27157ba7a to your computer and use it in GitHub Desktop.
Save multidis/1c3299f34cf27157ba7a to your computer and use it in GitHub Desktop.
Building GnuTLS with dependencies on Ubuntu 12.04 (versions in repositories are seriously outdated).
# nettle 2.7.1
# http://www.linuxfromscratch.org/blfs/view/svn/postlfs/nettle.html
cd nettle-2.7.1
./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu
make
sudo make install
sudo chmod -v 755 /usr/lib/x86_64-linux-gnu/libhogweed.so.2.5 /usr/lib/x86_64-linux-gnu/libnettle.so.4.7
sudo install -v -m755 -d /usr/share/doc/nettle-2.7.1
sudo install -v -m644 nettle.html /usr/share/doc/nettle-2.7.1
# download gnutls-3.3.13
# http://www.linuxfromscratch.org/blfs/view/svn/postlfs/gnutls.html
cd gnutls-3.3.13
./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu
make
make check
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment