Opened 11 years ago

Closed 11 years ago

#40981 closed update (invalid)

error: C compiler cannot create executables

Reported by: sirbaldur@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: apr

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Attachments (1)

main.log (5.0 KB) - added by sirbaldur@… 11 years ago.
log error

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by sirbaldur@…

Attachment: main.log added

log error

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: apr added
Resolution: invalid
Status: newclosed
Summary: sudo port upgrade outdatederror: C compiler cannot create executables

The log says:

error: C compiler cannot create executables

That's in the FAQ. Install the Xcode command line tools.

Note: See TracTickets for help on using tickets.