I am installing version on solaris 10 OS while configuring lib files getting below error, could you please send me details installation process of gnupg on solaris and rhel 6.
[nzl2lb4l:/opt/applications/gpg-install/libgpg-error-1.27]# ./configure
checking for a BSD-compatible install... build-aux/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
configure: autobuild project... libgpg-error
configure: autobuild revision... 1.27
configure: autobuild hostname... nzl2lb4l
configure: autobuild timestamp... 20170723-025230
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/opt/applications/gpg-install/libgpg-error-1.27':
configure: error: C compiler cannot create executables
See `config.log' for more details
[nzl2lb4l:/opt/applications/gpg-install/libgpg-error-1.27]#