[MacPorts] #40981: error: C compiler cannot create executables (was: sudo port upgrade outdated)

MacPorts noreply at macports.org
Sun Oct 27 08:28:26 PDT 2013


#40981: error: C compiler cannot create executables
--------------------------+--------------------------------
  Reporter:  sirbaldur@…  |      Owner:  macports-tickets@…
      Type:  update       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.2.1
Resolution:  invalid      |   Keywords:
      Port:  apr          |
--------------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * resolution:   => invalid
 * port:   => apr


Old description:

> sudo port upgrade outdated
> --->  Configuring apr
> Error: Failed to configure apr, consult
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_apr/apr/work/apr-1.4.8/config.log
> Error: org.macports.configure for port apr returned: configure failure:
> command execution failed
> Please see the log file for port apr for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_apr/apr/main.log
> Error: Unable to upgrade port: 1
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets

New description:

 {{{
 sudo port upgrade outdated
 --->  Configuring apr
 Error: Failed to configure apr, consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_apr/apr/work/apr-1.4.8/config.log
 Error: org.macports.configure for port apr returned: configure failure:
 command execution failed
 Please see the log file for port apr for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_apr/apr/main.log
 Error: Unable to upgrade port: 1
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 }}}

--

Comment:

 The log says:

 {{{
 error: C compiler cannot create executables
 }}}

 That's in the [wiki:FAQ#missingxcode FAQ].
 Install the Xcode command line tools.

-- 
Ticket URL: <https://trac.macports.org/ticket/40981#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list