Page MenuHome GnuPG

install error configure fails
Closed, ResolvedPublic

Description

I am trying to install gnupg on an AIX 5.2 system, but have not been able to
succesfully follow the POSIX-like link on the download page so now I am trying
to compile from the source code. I am running a IBM VisualAge 6.0.0.3 C
compiler. and am recieving the following error

Include is complete on scrren results from running configure, also atteched
the config.log file From what I can tell my compiles default executable if a -
o is not supplied is a.out

cidc3601: /appl/capm/devl2/gnu/gnupg-1.4.7 > configure
checking build system type... powerpc-ibm-aix5.2.0.0
checking host system type... powerpc-ibm-aix5.2.0.0
checking for a BSD-compatible install... scripts/install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
configure: autobuild project... gnupg
configure: autobuild revision... 1.4.7
configure: autobuild hostname... cidc3601
configure: autobuild timestamp... 20070411-182645
checking which random module to use... default
checking whether use of /dev/random is requested... yes
checking whether assembler modules are requested... yes
checking whether SELinux support is requested... no
checking whether the new iconv based code is requested... yes
checking whether OpenPGP card support is requested... yes
checking whether gpg-agent support is requested... yes
checking whether to enable the RSA public key algorithm... yes
checking whether to enable the IDEA cipher... yes
checking for idea cipher module... no
checking whether to enable the CAST5 cipher... yes
checking whether to enable the BLOWFISH cipher... yes
checking whether to enable the AES ciphers... yes
checking whether to enable the TWOFISH cipher... yes
checking whether to enable the SHA-256 digest... yes
checking whether to enable the SHA-384 and SHA-512 digests... yes
checking whether to enable the BZIP2 compression algorithm... yes
checking whether to enable external program execution... yes
checking whether to enable photo ID viewing... yes
checking whether to use a fixed photo ID viewer... no
checking whether to enable external keyserver helpers... yes
checking whether LDAP keyserver support is requested... yes
checking whether HKP keyserver support is requested... yes
checking whether finger key fetching support is requested... yes
checking whether generic object key fetching support is requested... yes
checking whether email keyserver support is requested... no
checking whether keyserver exec-path is enabled... yes
checking whether the included zlib is requested... no
checking for the size of the key and uid cache... 4096
checking whether use of capabilities is requested... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make sets $(MAKE)... (cached) yes
checking whether build environment is sane... yes
checking for gcc... no
checking for cc... cc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

Details

Version
1.4.7

Event Timeline

ChrisG set Version to 1.4.7.
ChrisG added a subscriber: ChrisG.

ChrisG set Due Date to Apr 16 2007, 2:00 AM.Apr 12 2007, 1:49 AM

Try as a workaround:

echo 'ac_cv_exeext=no' >config.cache
./configure -C

You might also want to check whether other compiler drivers work. Something like
./configure CC=c89
for example. I found a note that the default AIX compiler is not fully C89
compliant, choosing a standard C compiler will help. GnuPG requires at least C89.

werner changed Due Date from Apr 16 2007, 2:00 AM to Apr 30 2007, 2:00 AM.Apr 24 2007, 10:17 PM
werner added a project: Restricted Project.

We tried both of the suggestions and are still recieving the same error.

We are on an old version of the VisualAge C compiler and we are tring to get
approvals funding etc. to upgrade to the newest version. Unfortunately that
process is taking longer than expected. Shoudl we close this ticket and open
a new one once we have done the compiler upgrade and try again or leave this
open?

I have set it to deferred for now.

werner removed a project: Restricted Project.May 7 2007, 3:42 PM
werner added a project: Stalled.
werner removed Due Date.
werner claimed this task.
werner removed a project: Stalled.
werner added a project: Too Old.