Building gpg locally
Vinay Sajip
vinay_sajip at yahoo.co.uk
Thu Nov 10 19:38:54 CET 2016
I'm trying to build gpg 2.1.15 locally. I've downloaded the latest sources to:
~/libgpg-error-1.24~/npth-1.2~/libassuan-2.4.3~/libksba-1.3.5~/libgcrypt-1.7.3~/gnupg-2.1.15
In each of the above, I've done
./configure --prefix=$HOME/tmp && make && make install
They all work except for the last one, and I get include files in ~/tmp/include, lib files in ~/tmp/lib etc., as expected.
However, if I try and invoke ./configure in the gnupg-2.1.15 directory, it can't find the dependencies ...
configure:****** You need libgpg-error to build this program.** This library is for example available at*** ftp://ftp.gnupg.org/gcrypt/libgpg-error*** (at least version 1.24 is required.)***configure:****** You need libgcrypt to build this program.** This library is for example available at*** ftp://ftp.gnupg.org/gcrypt/libgcrypt/*** (at least version 1.7.0 (API 1) is required.)***configure:****** You need libassuan to build this program.*** This library is for example available at*** ftp://ftp.gnupg.org/gcrypt/libassuan/*** (at least version 2.4.3 (API 2) is required).***configure:****** You need libksba to build this program.*** This library is for example available at*** ftp://ftp.gnupg.org/gcrypt/libksba/*** (at least version 1.3.4 using API 1 is required).***configure:****** It is now required to build with support for the*** New Portable Threads Library (nPth). Please install this*** library first. The library is for example available at*** ftp://ftp.gnupg.org/gcrypt/npth/*** (at least version 1.2 (API 1) is required).***configure: error: ****** Required libraries not found. Please consult the above messages*** and install them before running configure again.***
I've invoked the gnupg configure using
CFLAGS=-I$HOME/tmp/include LDFLAGS=-L$HOME/tmp/lib ./configure --prefix=$HOME/tmp
Environment is Ubuntu 16.04.1 (64-bit).
How should I invoke configure for gnupg to get it to pick up the private copies of includes and libs in $HOME/tmp ? I couldn't see any answer via ./configure --help.
Regards,
Vinay Sajip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20161110/3b802f5c/attachment.html>
More information about the Gnupg-devel
mailing list