Opened 12 years ago

Closed 12 years ago

#32796 closed defect (invalid)

selfupdate fails

Reported by: silaslaycock@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.0.3
Keywords: Cc:
Port:

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

I tried to do a "port -v selfupdate" and get the following error. The system is a 2011 MacPro running Snow leopard. I have attached the config.log to the ticket.

configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
shell command "cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base && CC=/usr/bin/cc ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=root --with-install-group=admin --with-directory-mode=0755 && make && make install" returned error 1
Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command failed (see log for details)

Attachments (1)

config.log (9.9 KB) - added by silaslaycock@… 12 years ago.
config.log file from failed attempt at selfupdate

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by silaslaycock@…

Attachment: config.log added

config.log file from failed attempt at selfupdate

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

Description: modified (diff)

Please read wiki:FAQ#missingxcode

comment:2 Changed 12 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

Please direct follow-ups, like all tech support issues, to the Macports Users Mailing List.

Note: See TracTickets for help on using tickets.