The Libgpg-error package contains a library that defines common error values for all GnuPG components.
Prepare libgpg-error by running the following command:
./configure --prefix=/usr make
Now, install libgpg-error by running the following commands:
make install