AIX

 View Only
Expand all | Collapse all

error: C compiler cannot create executable

  • 1.  error: C compiler cannot create executable

    Posted Wed April 07, 2021 02:06 PM
    Hello,

    I was installing gnuPG in my aix server 6.1, first time when I installed it got installed successfully but when I am trying to installed in on another server its giving me below error, any suggestion is highly appreciate.

    root@qapsdb1(/home/stripat1/gnupg-2.2.25) > ./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 build system type... powerpc-ibm-aix6.1.9.0
    checking host system type... powerpc-ibm-aix6.1.9.0
    configure: autobuild project... gnupg
    configure: autobuild revision... 2.2.25
    configure: autobuild hostname... qapsdb1
    configure: autobuild timestamp... 20210407-135938
    checking whether make supports the include directive... yes (GNU style)
    checking for gcc... gcc
    checking whether the C compiler works... no
    configure: error: in `/home/stripat1/gnupg-2.2.25':
    configure: error: C compiler cannot create executables
    See `config.log' for more details
    root@qapsdb1(/home/stripat1/gnupg-2.2.25) >


    Any suggestions ??

    ------------------------------
    NITIN BHATT
    ------------------------------


  • 2.  RE: error: C compiler cannot create executable

    Posted Thu April 08, 2021 09:55 AM
    Did you look at config.log? My past experience says you can find what the configure script actually ran and see what when wrong. The output from configure doesn't give us enough detail.

    ------------------------------
    Dave Marquardt
    Sr. Software Engineer
    IBM
    Austin TX
    ------------------------------