Compiling GPG on Solaris 10

Terry Stewart terry.stewart at mrc-bsu.cam.ac.uk
Wed Mar 22 14:12:16 CET 2017


Hi Andy

I didn't have, but I've just installed it now.

13:07:>> automake --version
automake (GNU automake) 1.15

However no luck, still failing with the same error

checking for deflateInit2_ in -lz... yes
checking for bzlib.h... yes
checking for BZ2_bzCompressInit in -lbz2... yes
checking whether readline via "-lreadline" is present and sane... no
checking whether readline via "-lreadline -ltermcap" is present and 
sane... no
checking whether readline via "-lreadline -lcurses" is present and 
sane... no
checking whether readline via "-lreadline -lncurses" is present and 
sane... no
configure: checking for cc features
checking if gcc ignores unknown -Wno-* options... no
checking if gcc supports -Wno-pointer-sign... no
checking if gcc supports -Wpointer-arith... yes
configure: checking system features for estream-printf
checking for stdint.h... (cached) yes
checking for long long int... (cached) yes
checking for long double... yes
checking for intmax_t... yes
checking for uintmax_t... yes
checking for ptrdiff_t... yes
checking size of unsigned long... (cached) 4
checking size of void *... 4
checking for nl_langinfo and THOUSANDS_SEP... no
configure: checking system features for estream
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.5.0 using API 1 is required.)
***
configure: error:
***
*** Required libraries not found. Please consult the above messages
*** and install them before running configure again.
***


On 22/03/17 02:08, Andreas Hörmandinger wrote:
> Hi,
>
> do you have automake too?
> If you take a quick look at *configure.ac <http://configure.ac>* of 
> gpg 2.0, you will notice that it checks the presence of libgcrypt via 
> the automake macro *AM_PATH_LIBGCRYPT.
>
> *
> hth,
> Andy
>
> 2017-03-22 0:10 GMT+01:00 terry <terry.stewart at mrc-bsu.cam.ac.uk 
> <mailto:terry.stewart at mrc-bsu.cam.ac.uk>>:
>
>     Hi
>     I'm having problems compiling GPG on a Solaris 10 server using gcc
>     v.3.4.3 and gmake v.3.80
>
>     I've successfully compiled and installed the dependencies
>
>     Libgpg-error     (v 1.27)
>     Libgcrypt        (v 1.7.6)
>     Libksba          (v 1.3.5)
>     Libassuan        (v 2.4.3)
>     nPth             (v 1.3)
>     as below
>
>     ./configure (no arguments, just used default)
>     gmake
>     gmake check (all tests passed)
>     gmake install
>
>     All libraries went into /usr/local/lib by default where I can see them
>     When it came to compiling gnupg-2.0.30 I have hit problems with
>     configure, which fails with the following
>     configure: checking system features for estream
>     configure:
>     ***
>     *** You need libgcrypt to build this program.
>     **  This library is for example available at
>     *** ftp://ftp.gnupg.org/gcrypt/libgcrypt/
>     <ftp://ftp.gnupg.org/gcrypt/libgcrypt/>
>     *** (at least version 1.5.0 using API 1 is required.)
>     ***
>     configure:
>     ***
>     *** It is now required to build with support for the
>     *** GNU Portable Threads Library (Pth). Please install this
>     *** library first.  The library is for example available at
>     *** ftp://ftp.gnu.org/gnu/pth/
>     *** On a Debian GNU/Linux system you can install it using
>     ***   apt-get install libpth-dev
>     *** To build GnuPG for Windows you need to use the W32PTH
>     *** package; available at:
>     *** ftp://ftp.g10code.com/g10code/w32pth/
>     <ftp://ftp.g10code.com/g10code/w32pth/>
>     ***
>     configure: error:
>     ***
>     *** Required libraries not found. Please consult the above messages
>     *** and install them before running configure again.
>
>     I then installed pth-2.0.7 (again configure, gmake, gmake check
>     gmake install) and configure found pth, but I'm still getting the
>     libgcrypt error
>     I can see the libraries in /usr/local/lib
>     -rwxr-xr-x   1 root     root        274K Mar 21 17:46
>     libgpg-error.so.0.22.0
>     lrwxrwxrwx   1 root     root          22 Mar 21 17:46
>     libgpg-error.so.0 -> libgpg-error.so.0.22.0
>     lrwxrwxrwx   1 root     root          22 Mar 21 17:46
>     libgpg-error.so -> libgpg-error.so.0.22.0
>     -rwxr-xr-x   1 root     root        1.1K Mar 21 17:46
>     libgpg-error.la <http://libgpg-error.la>
>     -rwxr-xr-x   1 root     root        477K Mar 21 17:47
>     libassuan.so.0.7.3
>     lrwxrwxrwx   1 root     root          18 Mar 21 17:47
>     libassuan.so.0 -> libassuan.so.0.7.3
>     lrwxrwxrwx   1 root     root          18 Mar 21 17:47 libassuan.so
>     -> libassuan.so.0.7.3
>     -rwxr-xr-x   1 root     root        1.2K Mar 21 17:47 libassuan.la
>     <http://libassuan.la>
>     -rwxr-xr-x   1 root     root        844K Mar 21 17:48
>     libksba.so.8.11.6
>     lrwxrwxrwx   1 root     root          17 Mar 21 17:48 libksba.so.8
>     -> libksba.so.8.11.6
>     lrwxrwxrwx   1 root     root          17 Mar 21 17:48 libksba.so
>     -> libksba.so.8.11.6
>     -rwxr-xr-x   1 root     root        1.1K Mar 21 17:48 libksba.la
>     <http://libksba.la>
>     -rwxr-xr-x   1 root     root         17K Mar 21 17:49 libnpth.so.0.0.6
>     lrwxrwxrwx   1 root     root          16 Mar 21 17:49 libnpth.so.0
>     -> libnpth.so.0.0.6
>     lrwxrwxrwx   1 root     root          16 Mar 21 17:49 libnpth.so
>     -> libnpth.so.0.0.6
>     -rwxr-xr-x   1 root     root         925 Mar 21 17:49 libnpth.la
>     <http://libnpth.la>
>     -rwxr-xr-x   1 root     root        3.0M Mar 21 18:03
>     libgcrypt.so.20.1.6
>     lrwxrwxrwx   1 root     root          19 Mar 21 18:03
>     libgcrypt.so.20 -> libgcrypt.so.20.1.6
>     -rwxr-xr-x   1 root     root         75K Mar 21 18:39
>     libpth.so.20.0.27
>     lrwxrwxrwx   1 root     root          17 Mar 21 18:39 libpth.so.20
>     -> libpth.so.20.0.27
>     lrwxrwxrwx   1 root     root          17 Mar 21 18:39 libpth.so ->
>     libpth.so.20.0.27
>     -rwxr-xr-x   1 root     root         791 Mar 21 18:39 libpth.la
>     <http://libpth.la>
>     -rw-r--r--   1 root     root         93K Mar 21 18:39 libpth.a
>     -rwxr-xr-x   1 root     root        1.7M Mar 21 20:18
>     libgcrypt.so.11.8.4
>     lrwxrwxrwx   1 root     root          19 Mar 21 20:18
>     libgcrypt.so.11 -> libgcrypt.so.11.8.4
>     lrwxrwxrwx   1 root     root          19 Mar 21 20:18 libgcrypt.so
>     -> libgcrypt.so.11.8.4
>     -rwxr-xr-x   1 root     root        1.2K Mar 21 20:18 libgcrypt.la
>     <http://libgcrypt.la>
>
>     and have set LD_LIBRARY_PATH to /usr/local/lib ,but can't make any
>     headway
>     Do you have any suggestions on how to proceed?
>
>
>     _______________________________________________
>     Gnupg-users mailing list
>     Gnupg-users at gnupg.org <mailto:Gnupg-users at gnupg.org>
>     http://lists.gnupg.org/mailman/listinfo/gnupg-users
>     <http://lists.gnupg.org/mailman/listinfo/gnupg-users>
>
>

-- 

Terry Stewart
MRC Biostatistics Unit
Cambridge Institute of Public Health
Forvie Site
Robinson Way
Cambridge Biomedical Campus
Cambridge
CB2 0SR

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20170322/4e7a1802/attachment-0001.html>


More information about the Gnupg-users mailing list