Trying to build gpg on AIX 6.1

Dirk Walter dirk.walter at semanticbits.com
Wed Jun 2 17:15:36 CEST 2010


Hello all, I am trying to build gpg on an AIX 6.1 machine and while
some people have reported success I can't even get configure to
successfully run. The problem seems to be with the -V flag which takes
arguments but none are provided in the configure script. I have
included the part of the log I believe are relevant.

I get the same regardless of if I run plain "./configure" or
"CFLAGS="-g -O2 -mcpu=powerpc" ./configure" as I have read elsewhere.
What am I doing wrong?

configure:3305: result: gcc
configure:3543: checking for C compiler version
configure:3550: gcc --version >&5
gcc (GCC) 4.2.4
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3553: $? = 0
configure:3560: gcc -v >&5
Using built-in specs.
Target: powerpc-ibm-aix5.3.0.0
Configured with: ../gcc-4.2.4/configure --with-as=/usr/bin/as
--with-ld=/usr/bin/ld --enable-languages=c,c++,fortran
--prefix=/opt/freeware --enable-threads
--enable-version-specific-runtime-libs --disable-nls
--enable-decimal-float=dpd --host=powerpc-ibm-aix5.3.0.0
Thread model: aix
gcc version 4.2.4
configure:3563: $? = 0
configure:3570: gcc -V >&5
gcc: '-V' option must have argument
configure:3573: $? = 1
configure:3596: checking for C compiler default output file name
configure:3623: gcc    conftest.c  >&5
gcc: error trying to exec 'cc1': execvp: No such file or directory
configure:3626: $? = 1
configure:3664: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "gnupg"
| #define PACKAGE_TARNAME "gnupg"
| #define PACKAGE_VERSION "1.4.10"
| #define PACKAGE_STRING "gnupg 1.4.10"
| #define PACKAGE_BUGREPORT "bug-gnupg at gnu.org"
| #define PACKAGE "gnupg"
| #define VERSION "1.4.10"
| #define _GNU_SOURCE 1
| #define EGD_SOCKET_NAME ""
| #define USE_RSA 1
| #define USE_IDEA 1
| #define USE_CAST5 1
| #define USE_BLOWFISH 1
| #define USE_AES 1
| #define USE_TWOFISH 1
| #define USE_CAMELLIA 1
| #define USE_SHA256 1
| #define PK_UID_CACHE_SIZE 4096
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3670: error: C compiler cannot create executables
See `config.log' for more details



More information about the Gnupg-users mailing list