Operating Systems

The core of your mission-critical workloads: AIX, IBM i, and Enterprise Linux


ISV Solutions

Stay up to date with key capabilities running on POWER such as SAP

Business Continuity

Learn how to keep critical processes running and adapt quickly with PowerHA


Power Security

Protect your most sensitive data anywhere in your hybrid cloud


Check here for virtualization and management needs: HMC & CMC, PowerVC, and PowerVM

Open Source

Join our open source efforts within the IBM Power Systems portfolio

Enterprise Infrastructure as a Service

Achieve business growth with agility and flexibility with our enterprise IaaS in Power Virtual Server

Programming Languages

The hub for Programming Languages

Expand all | Collapse all

error: C compiler cannot create executable

  • 1.  error: C compiler cannot create executable

    Posted 12 days ago

    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 ??


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

    Posted 11 days ago
    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
    Austin TX