Mailing List Archive

problem installing gnupg-2.0.9
I can't seem to get the above installed. I get the below at the end of
configure, I've downloaded and attempted to install the below libraries but
to no avail it seems. Looking at the file dates in /usr/lib they all seem to
be the older version I've installed previously. Below is a link to the config
logs for gnupg-2.0.9 and the three libraries. I had no problems installing
gpg v1.4.9 except copying the binaries from /usr/local/bin to /usr/bin which
for some reason my box likes instead of the default install directory.

*** You need libgcrypt to build this program.
** This library is for example available at
*** ftp://ftp.gnupg.org/gcrypt/libgcrypt/
*** (at least version 1.2.2 using API 1 is required.)
***
configure:
***
*** You need libassuan with Pth support to build this program.
*** This library is for example available at
*** ftp://ftp.gnupg.org/gcrypt/libassuan/
*** (at least version 1.0.4 (API 1) 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.0.2 using API 1 is required).

http://www.mediamax.com/chris1948/Hosted/gnupg-2.0.9config.log
http://www.mediamax.com/chris1948/Hosted/libassuanconfig.log
http://www.mediamax.com/chris1948/Hosted/libgcryptconfig.log
http://www.mediamax.com/chris1948/Hosted/libksbaconfig.log

Any help would be greatly appreciated.

Chris

--
Chris
KeyID 0xE372A7DA98E6705C
Re: problem installing gnupg-2.0.9 [ In reply to ]
Chris wrote:
> I can't seem to get the above installed.

There are many, many things it could be. To help us narrow it down, try
telling us your operating system and version.

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: problem installing gnupg-2.0.9 [ In reply to ]
Chris said the following:

> *** You need libgcrypt to build this program.



I had this problem ... and I (re)(re)read the, couch, README part and noticed
that I hadn't noticed a certain key line, located in this clip second from the
bottom .. the phrase "in the order" I had omitted. honestly, I did. So, since
you didn't clarify, you may either pardon my ignorance for reminding you, or
try to re-compile as there is a dependency:

----------------------------------------------------------------

GnuPG 2.0 depends on the following packages:

libgpg-error (ftp://ftp.gnupg.org/gcrypt/libgpg-error/)
libgcrypt (ftp://ftp.gnupg.org/gcrypt/libgcrypt/)
libksba (ftp://ftp.gnupg.org/gcrypt/libksba/)
libassuan (ftp://ftp.gnupg.org/gcrypt/libassuan/)

You also need the Pinentry package for most function of GnuPG; however
it is not a build requirement. Pinentry is available at
ftp://ftp.gnupg.org/gcrypt/pinentry/ .

You should get the latest versions of course, the GnuPG configure
script complains if a version is not sufficient.

After building and installing the above packages in the order as given
above, you may now continue with GnuPG installation (you may also just
--------------------------------------------------------------------




_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: problem installing gnupg-2.0.9 [ In reply to ]
On Sunday 13 April 2008 7:41 pm, Chris wrote:
> I can't seem to get the above installed. I get the below at the end of
>
> *** You need libgcrypt to build this program.
> ** This library is for example available at
> *** ftp://ftp.gnupg.org/gcrypt/libgcrypt/
> *** (at least version 1.2.2 using API 1 is required.)
> ***
> configure:
> ***
> *** You need libassuan with Pth support to build this program.
> *** This library is for example available at
> *** ftp://ftp.gnupg.org/gcrypt/libassuan/
> *** (at least version 1.0.4 (API 1) 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.0.2 using API 1 is required).
>

I probably should have shown what I do have installed:

[chris@cpollock lib]$ ls -l libgcrypt*
-rw-r--r-- 1 root root 466748 Aug 18 2004 libgcrypt.a
-rwxr-xr-x 1 root root 833 Aug 18 2004 libgcrypt.la*
lrwxrwxrwx 1 root root 19 Dec 25 2004 libgcrypt.so ->
libgcrypt.so.11.1.1*
lrwxrwxrwx 1 root root 19 Dec 25 2004 libgcrypt.so.11 ->
libgcrypt.so.11.1.1*
-rwxr-xr-x 1 root root 314280 Aug 18 2004 libgcrypt.so.11.1.1*

[chris@cpollock lib]$ ls -l libassuan*
-rwxr-xr-x 1 root root 798 Dec 26 2004 libassuan.la*
lrwxrwxrwx 1 root root 18 Nov 23 2005 libassuan.so -> libassuan.so.0.0.0*
lrwxrwxrwx 1 root root 18 Nov 23 2005 libassuan.so.0 ->
libassuan.so.0.0.0*
-rwxr-xr-x 1 root root 36772 Dec 26 2004 libassuan.so.0.0.0*

The below I think is from a Mandrake rpm, however, I don't understand why the
source wouldn't install.

[chris@cpollock lib]$ ls -l libksba*
lrwxrwxrwx 1 root root 16 Nov 23 2005 libksba.so.8 -> libksba.so.8.5.1*
-rwxr-xr-x 1 root root 175864 Aug 18 2004 libksba.so.8.5.1*

--
Chris
KeyID 0xE372A7DA98E6705C
Re: problem installing gnupg-2.0.9 [ In reply to ]
On Sunday 13 April 2008 9:13 pm, Robert D. wrote:
> Chris said the following:
> > *** You need libgcrypt to build this program.
>
> I had this problem ... and I (re)(re)read the, couch, README part and
> noticed that I hadn't noticed a certain key line, located in this clip
> second from the bottom .. the phrase "in the order" I had omitted.
> honestly, I did. So, since you didn't clarify, you may either pardon my
> ignorance for reminding you, or try to re-compile as there is a dependency:
>
> ----------------------------------------------------------------
>
> GnuPG 2.0 depends on the following packages:
>
> libgpg-error (ftp://ftp.gnupg.org/gcrypt/libgpg-error/)
> libgcrypt (ftp://ftp.gnupg.org/gcrypt/libgcrypt/)
> libksba (ftp://ftp.gnupg.org/gcrypt/libksba/)
> libassuan (ftp://ftp.gnupg.org/gcrypt/libassuan/)
>
> You also need the Pinentry package for most function of GnuPG; however
> it is not a build requirement. Pinentry is available at
> ftp://ftp.gnupg.org/gcrypt/pinentry/ .
>
> You should get the latest versions of course, the GnuPG configure
> script complains if a version is not sufficient.
>
> After building and installing the above packages in the order as given
> above, you may now continue with GnuPG installation (you may also just
> --------------------------------------------------------------------
>
Thanks Robert, I didn't notice that, guess I read too fast. I'll give it
another go tomorrow night and see what happens.

Thanks
Chris

--
Chris
KeyID 0xE372A7DA98E6705C
Re: problem installing gnupg-2.0.9 [ In reply to ]
On Sunday 13 April 2008 9:09 pm, Robert J. Hansen wrote:
> Chris wrote:
> > I can't seem to get the above installed.
>
> There are many, many things it could be. To help us narrow it down, try
> telling us your operating system and version.

Guess that would have helped, Linux, Mandrake 10.1

--
Chris
KeyID 0xE372A7DA98E6705C
Re: problem installing gnupg-2.0.9 [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Chris wrote the following on 4/13/08 8:41 PM:
> I can't seem to get the above installed. I get the below at the end of
> configure, I've downloaded and attempted to install the below libraries but
> to no avail it seems. Looking at the file dates in /usr/lib they all seem to
> be the older version I've installed previously. Below is a link to the config
> logs for gnupg-2.0.9 and the three libraries. I had no problems installing
> gpg v1.4.9 except copying the binaries from /usr/local/bin to /usr/bin which
> for some reason my box likes instead of the default install directory.
>
> *** You need libgcrypt to build this program.
> ** This library is for example available at
> *** ftp://ftp.gnupg.org/gcrypt/libgcrypt/
> *** (at least version 1.2.2 using API 1 is required.)
> ***
> configure:
> ***
> *** You need libassuan with Pth support to build this program.
> *** This library is for example available at
> *** ftp://ftp.gnupg.org/gcrypt/libassuan/
> *** (at least version 1.0.4 (API 1) 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.0.2 using API 1 is required).
>
> http://www.mediamax.com/chris1948/Hosted/gnupg-2.0.9config.log
> http://www.mediamax.com/chris1948/Hosted/libassuanconfig.log
> http://www.mediamax.com/chris1948/Hosted/libgcryptconfig.log
> http://www.mediamax.com/chris1948/Hosted/libksbaconfig.log
>
> Any help would be greatly appreciated.
>
> Chris
>
>
Hi Chris,

The raw source of your e-mail indicates that you are using KMail.
If that's correct, I'll guess that you are running Linux.

I am a Macintosh user, but run Ubuntu 7.10 under virtual-ware Parallels 3.0.

I have compiled 2.0.9 under Ubuntu, upgrading from 2.0.7, and then 2.0.8.

GPG2 requires that certain libraries be installed, before gpg2 can
actually be compiled and installed.

The README file included in the expanded source code of 2.0.9 should
indicate exactly which libraries should be compiled and installed, and
in what order.

In addition to the libraries that you have indicated above, there is
also the issue of gettext. I believe that if you have already a gettext
version that is above 0.14, you are safe. Type in Terminal
gettext --version, and you'll know.

All the above is "the fruit" of my empirical knowledge. I have a very
basic, limited and unprofessional grasp of all these matters.

If you really want to install gpg2 in your Linux environment, just arm
yourself with patience, and be ready that in spite of your having
compiled and installed everything that is required, you *might* still
get some error-warning that you still need some other library, or a more
recent version of one of the installed libraries.

Charly
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (Darwin)
Comment: GnuPG for Privacy
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBCAAGBQJIAtYBAAoJEM3GMi2FW4Pv3cQH/iIJCNbbdUyGGM4ih2REKO7J
usclNrwyCc2KLdOmWeioIch/o2Vhi+PbDLLwA2FcnYOUOq85M4sULUNLXWOhmW1u
sjc0VIEE4tPX2gU5BVcjWglx5IXj4i5LvoMKPbb3XJfLul9CpmiL443XcFWeDVHU
AEnjmul5fxfZbpnRckGL+oJkjDWyBrTDryvBtj+08xkvoaBwUyeU1N/3S+uLsvsH
kpIZQltvo8gNT6XK/8Zbg0o4n9szg97Ws6iJDOcsqp58mwC7SeDleB+sPi8bk0QG
EYhuibSoCIu/GUY5ChEH8KGUw8aIkgql8nD10rd5RozhoNEIf8UBg791xKBTt0Y=
=k6DZ
-----END PGP SIGNATURE-----

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: problem installing gnupg-2.0.9 [ In reply to ]
>> I can't seem to get the above installed. I get the below at the end of
>>
>> *** You need libgcrypt to build this program.
>> ** This library is for example available at
>> *** ftp://ftp.gnupg.org/gcrypt/libgcrypt/
>> *** (at least version 1.2.2 using API 1 is required.)
>> ***
>> configure:
>> ***
>> *** You need libassuan with Pth support to build this program.
>> *** This library is for example available at
>> *** ftp://ftp.gnupg.org/gcrypt/libassuan/
>> *** (at least version 1.0.4 (API 1) 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.0.2 using API 1 is required).
>>
>>
>
> I probably should have shown what I do have installed:
>
> [chris@cpollock lib]$ ls -l libgcrypt*
> -rw-r--r-- 1 root root 466748 Aug 18 2004 libgcrypt.a
> -rwxr-xr-x 1 root root 833 Aug 18 2004 libgcrypt.la*
> lrwxrwxrwx 1 root root 19 Dec 25 2004 libgcrypt.so ->
> libgcrypt.so.11.1.1*
> lrwxrwxrwx 1 root root 19 Dec 25 2004 libgcrypt.so.11 ->
> libgcrypt.so.11.1.1*
> -rwxr-xr-x 1 root root 314280 Aug 18 2004 libgcrypt.so.11.1.1*
>
> [chris@cpollock lib]$ ls -l libassuan*
> -rwxr-xr-x 1 root root 798 Dec 26 2004 libassuan.la*
> lrwxrwxrwx 1 root root 18 Nov 23 2005 libassuan.so -> libassuan.so.0.0.0*
> lrwxrwxrwx 1 root root 18 Nov 23 2005 libassuan.so.0 ->
> libassuan.so.0.0.0*
> -rwxr-xr-x 1 root root 36772 Dec 26 2004 libassuan.so.0.0.0*
>
> The below I think is from a Mandrake rpm, however, I don't understand why the
> source wouldn't install.
>
> [chris@cpollock lib]$ ls -l libksba*
> lrwxrwxrwx 1 root root 16 Nov 23 2005 libksba.so.8 -> libksba.so.8.5.1*
> -rwxr-xr-x 1 root root 175864 Aug 18 2004 libksba.so.8.5.1*
>
>

What versions of these libs do you have? Older than required. See dates
(2004).
For example libksba:
My libksba 1.0.2. provides libksba.so.8.9.2, your libksba provides
libksba.so.8.5.1.
Just update your libraries/distro.

--
Ladislav Hagara
http://www.sourcemage.org/

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: problem installing gnupg-2.0.9 [ In reply to ]
On Mon, 14 Apr 2008 02:41, cpollock@embarqmail.com said:

> *** You need libgcrypt to build this program.
> ** This library is for example available at
> *** ftp://ftp.gnupg.org/gcrypt/libgcrypt/
> *** (at least version 1.2.2 using API 1 is required.)

Looking at the config log:

configure:6032: checking for libgcrypt-config
configure:6050: found /usr/bin/libgcrypt-config
configure:6063: result: /usr/bin/libgcrypt-config
configure:6080: checking for LIBGCRYPT - version >= 1.2.2
configure:6117: result: no

shows that configure picked up the system installed libgcrypt and not
the one you build and installed which probably installed as
/usr/local/bin/libgcrypt-config. I assume that /usr/local is not in
your PATH before /usr/bin and thus you get the wrong one.

You need to make sure that the recent libgcrypt-config gets picked up
first. You can advise the configure script to do that:

$ ./configure --with-libgcrypt-prefix=/usr/local

As an alternative you can set the environment variable

$ LIBGCRYPT_CONFIG=/usr/local/bin/libgcrypt-config
$ export LIBGCRYPT_CONFIG

and then run configure. You may also want to test whether this is the
correct configure script, like in:

$ /usr/local/bin/libgcrypt-config --version
1.4.0

Similar options are available for the other libraries. Thus a

$ ./configure --with-ksba-prefix=/usr/local \
--with-libgcrypt-prefix=/usr/local \
--with-libassuan-prefix=/usr/local
$ make

should get you a bit further.



Shalom-Salam,

Werner


--
Die Gedanken sind frei. Auschnahme regelt ein Bundeschgesetz.


_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users