Mailing List Archive

GnuPG returns error after install but works
Hello,

First of all, I want to say thank you for your work!

I'am a beginner and I've installed GnuPG 2.2.27 with the necessary packages:

- npth (https://gnupg.org/ftp/gcrypt/npth/)

- libgpg-error (https://gnupg.org/ftp/gcrypt/libgpg-error/)

- libgcrypt (https://gnupg.org/ftp/gcrypt/libgcrypt/)

- libksba (https://gnupg.org/ftp/gcrypt/libksba/)

- libassuan (https://gnupg.org/ftp/gcrypt/libassuan/)

Followed exactly the INSTALL files inside each packages.

But at the end, my terminal return this:

Making install in m4

make[2]: Nothing to be done for `install-exec-am'.

make[2]: Nothing to be done for `install-data-am'.

Making install in common

/Applications/Xcode.app/Contents/Developer/usr/bin/makeinstall-am

make[3]: Nothing to be done for `install-exec-am'.

make[3]: Nothing to be done for `install-data-am'.

Making install in regexp

/Applications/Xcode.app/Contents/Developer/usr/bin/makeinstall-am

make[3]: Nothing to be done for `install-exec-am'.

make[3]: Nothing to be done for `install-data-am'.

Making install in kbx

../build-aux/install-sh -c -d '/usr/local/bin'

/usr/bin/install -c kbxutil '/usr/local/bin'

make[2]: Nothing to be done for `install-data-am'.

Making install in g10

/Applications/Xcode.app/Contents/Developer/usr/bin/makeinstall-exec-hook

running install-exec-hook

../build-aux/install-sh -c -d '/usr/local/bin'

/usr/bin/install -cgpg '/usr/local/bin/gpg'

/usr/bin/install -cgpgv '/usr/local/bin/gpgv'

/bin/sh ../build-aux/mkinstalldirs /usr/local/share/gnupg

/usr/bin/install -c -m 644 ./distsigkey.gpg \

/usr/local/share/gnupg/distsigkey.gpg

Making install in sm

../build-aux/install-sh -c -d '/usr/local/bin'

/usr/bin/install -c gpgsm '/usr/local/bin'

make[2]: Nothing to be done for `install-data-am'.

Making install in agent

../build-aux/install-sh -c -d '/usr/local/bin'

/usr/bin/install -c gpg-agent '/usr/local/bin'

../build-aux/install-sh -c -d '/usr/local/libexec'

mkdir: /usr/local/libexec: Permission denied

make[2]: *** [install-libexecPROGRAMS] Error 1

make[1]: *** [install-am] Error 2

make: *** [install-recursive] Error 1

There is something wrong ?

However when I type which gpg in my terminal, returns /usr/local/bin/gpg and I can use it.

Can you help with this ?

Best regards

Yohan W. Dunon

Sent with [ProtonMail](https://protonmail.com) Secure Email.