Problem running port upgrade outdated

Ryan Schmidt ryandesign at macports.org
Thu Mar 8 11:37:24 PST 2012


On Mar 8, 2012, at 11:40, Clive Riches wrote:

> Hi, I've a problem running 'port upgrade outdated' on my intel mac (10.7.3) (Xcode 4.3)
> Has anyone experienced this problem? Do I need to reinstall  macports?
> 
> clivesmac:~ cliveriches$ sudo port upgrade outdated
> --->  Computing dependencies for ncurses
> --->  Configuring ncurses
> Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
> Log for ncurses is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/main.log
> Error: Unable to upgrade port: 1
> To report a bug, see <http://guide.macports.org/#project.tickets>
> 
> Log for ncurses:-
> 
> 
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.extract (ncurses)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.patch (ncurses)

This shows this was not a clean attempt. "sudo port clean ncurses" and try again.



> :info:configure checking for C compiler default output... configure: error: C compiler cannot create executables

This shows Xcode is not installed properly. Read our guide, wiki, FAQ, ProblemHotlist, etc. for instructions how to install Xcode properly.







More information about the macports-users mailing list