I downloaded all sources from https://www.gnupg.org/download/index.en.html and installed each library using the common sequence:
Code: Select all
./configure
make
sudo make install
Code: Select all
gpg: agent_genkey failed: No pinentry
Key generation failed: No pinentry
Code: Select all
Could not find gpg-error-config. Please install the libgpg-error development package.
make[3]: *** [all-local] Error 1
make[3]: Leaving directory `/opt/gpg-install/gpgme-1.9.0/lang/python'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/opt/gpg-install/gpgme-1.9.0/lang/python'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/opt/gpg-install/gpgme-1.9.0/lang'
make: *** [install-recursive] Error 1
Additionally, .configure reported my Python has inconsistency (????) that libraries are not installed properly. I have never messed with Python in the system. Yes, I installed Anaconda3 but in different folder, which is `/opt/Anaconda3`. The $PATH is set such that access to original Python in the system is not broken. I use Python only via editors: Spyder, PyCharm, etc. which has custom access to Python.
Eventually, I though I would get back to original gpg2 which was installed but I guess I somehow overwrote the binaries by using default settings when installing GnuPG 2.1.12.
Any suggestions what I could do now? I cannot use any of this at the moment.
Thanks