Install of GnuPG beside a production version

daniel Azuelos dan+gpg at pasteur.fr
Mon Jun 1 17:01:40 CEST 2015


  I already have a working GnuPG which is under the subtree /usr/local.

I would like to build and test the last one (2.0.27) starting on an
independant subtree:
	/local/gpg2

I have started by downloading libgpg-error-1.19

	cd libgpg-error-1.19
	./configure --prefix=/local/gpg2
	make
	make install

then downloaded libgcrypt-1.6.3

	cd libgcrypt-1.6.3
	./configure --prefix=/local/gpg2

and I get an error message:
	configure: error: libgpg-error is needed.
                See ftp://ftp.gnupg.org/gcrypt/libgpg-error/ .
when the correct library was correctly installed:
	$ cd /local/gpg2/lib
	$ ls -al
	total 200
	drwxr-xr-x  2 dan  admin    170 Jun  1 16:19 .
	drwxr-xr-x  6 dan  admin    204 Jun  1 16:19 ..
	-rwxr-xr-x  1 dan  admin  92176 Jun  1 16:19 libgpg-error.0.dylib
	lrwxr-xr-x  1 dan  admin     20 Jun  1 16:19 libgpg-error.dylib -> libgpg-error.0.dylib
	-rwxr-xr-x  1 dan  admin    944 Jun  1 16:19 libgpg-error.la
	$
and when configure correctly definedl ibdir:

	libdir='${exec_prefix}/lib'

Moreover:

	./configure --prefix=/local/gpg2 --libdir=/local/gpg2/lib

does produce the same error.



Did I forget a step?
Should I read another documentation?
Should I modify configure to correctly use the libray installed during the
1st step?

Thank you for your help.
-- 
Please, don't bulk quote old messages, above all when they are
confidentials. Professionnal tools don't need this historical
workaround to compensate for Outlook lack of E-mail history managment.
--------
daniel Azuelos            R.S.S.I. - C.I.S.O.       - Institut Pasteur



More information about the Gnupg-users mailing list